> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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



**Kind**: `input`

## Fields

**`salesInvoiceId`**: `ID!` (required)

The ID of the sales invoice.

---

**`salesInvoiceLineItemId`**: `ID!` (required)

The ID of the line item.

---

**`update`**: `SalesInvoiceLineItemUpdateInput!` (required)

The changes.

---

**`disableAutomaticWorkflows`**: `Boolean`

Suppresses the automatic workflow triggers of this call. Defaults to false when omitted.

---

**`idempotencyKey`**: `String`

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.

