deleteProformaInvoice function
Future<ApiResponse<Object?> >
deleteProformaInvoice(
- ExsitedClient client,
- Object proformaId, {
- bool? raiseOnError,
- String? responseFormat,
DELETE /api/{api_version}/proforma_invoices/{proforma_id}
Delete a pro-forma invoice; 204. A paid one is refused 400
already_paid.
No typed view. Read response.map.
Implementation
Future<ApiResponse<Object?>> deleteProformaInvoice(
ExsitedClient client,
Object proformaId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendDeleteRequest(ProformaInvoicesUrls.proformaInvoice,
pathParams: {'proforma_id': proformaId},
raiseOnError: raiseOnError,
responseFormat: responseFormat);