Skip to main content
inputPurchaseOrderGoodsReceiptLineInput

Fields

lineItemId
ID!
required

The ID of the item or custom line. It must still have an open quantity.

quantity
Decimal!
required

The quantity received, more than 0. Whole numbers for items that are not divisible. More than the open quantity is accepted.

warehouseId
ID

The ID of the warehouse for this line, if it differs from the warehouse of the receipt. The warehouse of the order does not change.

batchNumber
String

The batch number. Required exactly when the item is tracked by batch.

shelfLifeExpirationDate
DateTime

The shelf life expiration date (best-before date). Required exactly when the item is tracked by it.

serialNumbers
[String]!
required

The serial numbers, one per unit, each at most 128 characters. Required when the item is tracked strictly by serial number, allowed for every serial-number item, not allowed otherwise; an empty list counts as none. They must not be in stock already.

unitPurchasePrice
Decimal

The purchase price per unit in the base currency, 0 or more. When omitted: the confirmed price, else the price of the line, converted with the order's exchange rate.