AlmondTill/G3N API

ReceiptLineInput

input type

One caller-supplied Receipt line (create · wholesale draft edit · the line ops — lineNo assigned from the header nextLineNo by the kit, never reused).

Fields

FieldTypeRequiredNotes
poLineNoInt Int!yesThe PO line being received (1-based on the PARENT PO; must name a line destined to this receipt's LF).
quantityReceivedStringnoThe quantity arriving NOW (decimal string, strictly positive). UNIT entry — exactly ONE of {quantityReceived, the pack pair} per line.
dispositionReceiptDisposition ReceiptDisposition!yesThe canned arrival routing (accept / hold / damage).
heldReasonStringnoThe canned held reason — required iff disposition is hold (strict both ways).
binIdIDnoOptional landing bin.
purchasePackIdIDnoPACK entry: the pack the arrival is counted in — tenant + ACTIVE + must package the ADDRESSED PO line's variant; quantityReceived derives as packQuantity x unitsPerPack. Comes as a pair with packQuantity.
packQuantityIntnoThe pack count (1..999999) — present iff purchasePackId is.