UpdateSalesInvoiceCommandRequestInput
Changes the header of a draft; only the fields that are sent change. A finalized or cancelled invoice cannot be changed: cancel it or correct 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 (only a draft can be changed; a finalized or cancelled invoice cannot); errorCode is SALES_INVOICE_VALUE_DATE_BEFORE_INVOICE_DATE (the value date is before the invoice date); errorCode is SALES_INVOICE_SERVICE_DATE_RANGE_INVALID (the end of the service period is before its start); errorCode is SALES_INVOICE_ADDRESS_INVALID (an address is incomplete); errorCode is PAYMENT_METHOD_NOT_FOUND (no payment method with this ID). - Request
UpdateSalesInvoiceCommandRequestInputFields
The ID of the sales invoice.
The changes.
Suppresses the automatic workflow triggers of this call. Defaults to false when omitted.
Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.
Was this page helpful?