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

# UpdateIncomingInvoiceCommandRequestInput

> Changes header fields of an incoming invoice. Only the fields that are sent change. Once the invoice is posted, the supplier, contact, address, exchange rate and distribution method are locked; once it is closed, the due date is locked too. - Request



**Kind**: `input`

## Fields

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

The ID of the incoming invoice.

---

**`supplierId`**: `ID`

Another supplier. Only while the invoice is open and has no line items from purchase orders.

---

**`supplierInvoiceNumber`**: `String`

The number the supplier printed on the invoice. At most 255 characters.

---

**`invoiceDate`**: `DateTime`

The date printed on the invoice.

---

**`dueDate`**: `DateTime`

Date by which the invoice is to be paid.

---

**`notes`**: `String`

Internal notes. At most 255 characters.

---

**`supplierContactId`**: `ID`

The contact person at the supplier. Must belong to the supplier.

---

**`supplierAddress`**: `IncomingInvoiceSupplierAddressInput`

The address as printed on the invoice; replaces the whole address.

---

**`exchangeRate`**: `Decimal`

Units of the invoice currency per unit of the home currency. Prices and amounts in the invoice currency stay as they are. Greater than 0 and at most 12 digits before the decimal point; other values are refused (400).

---

**`additionalCostDistributionMethod`**: `AdditionalCostDistributionMethod`

How additional costs are distributed from now on. Costs already distributed are not redistributed.

---

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

