Input objects
DeleteSalesInvoiceLineItemCommandRequestInput
Removes a line item from a draft. The components of a kit or configurable item go with their parent; removing a component of a kit scales the quantity of the parent. 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). - Request
input
DeleteSalesInvoiceLineItemCommandRequestInputFields
salesInvoiceId
ID!
required
The ID of the sales invoice.
salesInvoiceLineItemId
ID!
required
The ID of the line item.
disableAutomaticWorkflows
Boolean
Suppresses the automatic workflow triggers of this call. Defaults to false when omitted.
Was this page helpful?