# ReportExternalIssueItemInput input


One item of the order and everything the document issued of it. Identify the item by exactly one
of `salesOrderItemId` and `itemExternalId`.

## Input fields

### salesOrderItemId

[`UUID`](/chameleoon-max/type/uuid)

The item's MAX id (`SalesOrderItem.id`). For a set, use a component's id, never the set's own
item: a set sold as its pieces is reported per component, by `salesOrderItemId`.

### itemExternalId

`String`

The item's id in the system that manages the warehouse, as that system sent it when it created
the order (`items[].externalId` in [`createSalesOrder`](/chameleoon-max/mutation/create-sales-order), with the warehouse's system
as `source`). `VALIDATION` when the order has no item with that id there.

### quantity

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

Everything the document issued of the item, in the item's unit (the unit of
`SalesOrderItem.quantity`), with at most three decimals. Positive for goods issued, negative
for goods a credit note returned. A repeat with the same quantity changes nothing. A new
quantity replaces the old one.

## Used by

- [`ReportExternalIssueInput`](/chameleoon-max/type/report-external-issue-input)
