# SalesOrderItemsInput input


The order's items and charges as the external source has them now
([`updateSalesOrderItems`](/chameleoon-max/mutation/update-sales-order-items)).

## Input fields

### currencyCode

`String`

The order's currency (ISO 4217), when the external source restates it: every `unitPrice`, charge
`amount` and `expectedTotal` sent is then in it. Omitted, or the order's own currency: the currency
does not change. MAX takes another currency only while the order merely waits; see
[`updateSalesOrderItems`](/chameleoon-max/mutation/update-sales-order-items).

### pricesIncludeVat

`Boolean!` · required

Whether every `unitPrice` and charge `amount` includes VAT, as for
[`createSalesOrder`](/chameleoon-max/mutation/create-sales-order).

### items

[`[CreateSalesOrderItemInput!]!`](/chameleoon-max/type/create-sales-order-item-input) · required

Every item, each with its `externalId`. At least one item.

### charges

[`[SalesOrderChargeInput!]`](/chameleoon-max/type/sales-order-charge-input)

Every charge: delivery, payment fees, discounts and rounding.

### expectedTotal

[`Decimal`](/chameleoon-max/type/decimal)

The external source's total including VAT, checked as for [`createSalesOrder`](/chameleoon-max/mutation/create-sales-order)
(`TOTAL_MISMATCH`).

## Used by

- [`updateSalesOrderItems`](/chameleoon-max/mutation/update-sales-order-items) (mutation)
