> ## 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.

# FinalizeSalesInvoiceCommandRequestInput

> Gives a draft its number from the number range of its company and makes it binding; from now on it can only be cancelled. The invoice date and the value date stay as they are. Payments of the sales order are taken over, and the workflow event for a created invoice fires. 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_ALREADY_FINALIZED (the invoice is not a draft); errorCode is SALES_INVOICE_HAS_NO_LINE_ITEMS (a draft without line items cannot be finalized). - Request



**Kind**: `input`

## Fields

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

The ID of the sales invoice.

---

**`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.

