DeleteSalesInvoiceCommandRequestInput
Deletes a draft with its line items. A finalized invoice cannot be deleted; cancel it. A refusal carries ‘blockers’ with all reasons, each with a code and a message. Errors: errorCode is SALES_INVOICE_NOT_FOUND (no sales invoice with this ID); errorCode is SALES_INVOICE_NOT_DRAFT (the invoice is finalized or cancelled); errorCode is SALES_INVOICE_IS_EXTERNAL (the sales order of the invoice is invoiced externally); errorCode is SALES_ORDER_NOT_CHANGEABLE (the sales order must not be changed); errorCode is SALES_INVOICE_HAS_PAYMENTS (a payment exists on the invoice); errorCode is SALES_INVOICE_CORRECTION_HAS_PAYMENTS (a payment exists on a correction of the invoice). - Request
DeleteSalesInvoiceCommandRequestInputFields
The ID of the sales invoice.
Suppresses the automatic workflow triggers of this call. Defaults to false when omitted.
Was this page helpful?