CreateVendorInvoiceInput
input type
Create-input for createVendorInvoice.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the vendor invoice number IS the caption; when supplied it must be non-blank. |
purchaseOrderId | ID ID! | yes | |
invoiceOrgVendorId | ID | no | The billing OrgVendor — optional (defaults to the PO vendor); a carrier/broker onboarded as its own OrgVendor names itself here. Active-gated. |
invoiceNumber | String String! | yes | The vendor own invoice number (raw spelling stored; trim+case-fold normalized for the double-pay uniq pair — a live holder refuses CONFLICT/IDENTITY_TAKEN naming it). |
invoiceDate | String String! | yes | The vendor invoice date (UTC ISO-8601 — their paper date). |
matchLines | VendorInvoiceMatchLineInput [VendorInvoiceMatchLineInput!] | no | The merchandise match lines (≤24, one per PO line) — at-least-one-of with actualComponents. |
actualComponents | LandedCostComponentInput [LandedCostComponentInput!] | no | The landed-cost actual components (≤8, amounts in the PO currency) — trued-up at capture against the posted receipts estimates of the same component type. |
total | MoneyEntryInput | no | Optional vendor-stated grand total (informational; in the PO currency). |
notes | String | no | Optional free-text notes (max 4096). |