UpdateSalesInvoiceLineItemCommandRequestInput
Changes a line item of a draft; only the fields that are sent change. Quantity, price, discount and tax rate only change on a line item without an order link. 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_LINE_ITEM_NOT_FOUND (no line item with this ID on the invoice); errorCode is SALES_INVOICE_LINE_ITEM_LOCKED_BY_ORDER (quantity, price, discount or tax rate of a line item with an order link); errorCode is SALES_INVOICE_LINE_ITEM_READ_ONLY (a line item of type OTHER). - Request
UpdateSalesInvoiceLineItemCommandRequestInputFields
The ID of the sales invoice.
The ID of the line item.
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?