CreateReceiptInput
input type
Create-input for createReceipt.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — 'receipt <N> line(s)'; when supplied it must be non-blank. |
purchaseOrderId | ID ID! | yes | |
logicalFacilityId | ID ID! | yes | The receiving LF this document captures arrivals for — tenant-scoped + active; must be named by ≥1 PO line (VALIDATION/INVALID else). |
lines | ReceiptLineInput [ReceiptLineInput!]! | yes | The lines. |
landedComponents | LandedCostComponentInput [LandedCostComponentInput!] | no | Optional landed-cost estimate components (≤8, amounts in the PO currency — VALIDATION/INVALID naming both else). |