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

# SetIncomingInvoiceAdditionalCostCommandRequestInput

> Sets the additional cost of one type for the whole incoming invoice and distributes it over the line items (cash discounts excluded) with the distribution method of the invoice or the one given in "distributionMethod". Replaces all parts of this type allocated before. Sending the same request again distributes again, for example after line items changed. - Request



**Kind**: `input`

## Fields

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

The ID of the incoming invoice.

---

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

The ID of the additional cost type.

---

**`distributionMethod`**: `AdditionalCostDistributionMethod`

How to distribute this time. Defaults to the distribution method of the invoice.

---

**`netAmount`**: `Decimal!` (required)

Net amount of the cost in its currency. At most 12 digits before the decimal point; larger values are refused (400).

---

**`taxRate`**: `Decimal!` (required)

Tax rate of the cost in percent, 0 to 100.

---

**`currencyCode`**: `String`

The currency of the cost. Defaults to the invoice currency. ISO 4217 code, three letters. Accepted in any letter case, returned in upper case.

---

**`exchangeRate`**: `Decimal`

Units of the cost currency per unit of the home currency. Defaults to the current rate of that currency. Greater than 0 and at most 12 digits before the decimal point; other values are refused (400).

