ReceiptAdviceLineInput input
One announced line of a receipt advice.
Input fields
variantId
UUID! · required
The MAX id of the product variant that is coming.
quantity
Decimal! · required
The announced quantity in unit. It must be positive.
unit
String
A unit that the variant defines, such as a carton. If omitted, the product's base unit.
unitPrice
The price per unit, in the advice's currency, with or without VAT as the advice's
pricesIncludeVat says.
vatPercent
The VAT rate in percent.
expectedAt
When this line's goods are due.
batchCode
String
The batch that the supplier's paperwork names. It prefills the receipt.
expiresAt
The expiry that the paperwork names. MAX keeps its UTC date.
serialNumber
String
The serial number that the paperwork names. A serial number names one piece, so the line's base quantity must be 1.
supplierSku
String
The supplier's own code of the product.
note
String
A note on the line.