AlmondTill/G3N API

CreateVendorInvoiceInput

input type

Create-input for createVendorInvoice.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the vendor invoice number IS the caption; when supplied it must be non-blank.
purchaseOrderIdID ID!yes
invoiceOrgVendorIdIDnoThe billing OrgVendor — optional (defaults to the PO vendor); a carrier/broker onboarded as its own OrgVendor names itself here. Active-gated.
invoiceNumberString String!yesThe 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).
invoiceDateString String!yesThe vendor invoice date (UTC ISO-8601 — their paper date).
matchLinesVendorInvoiceMatchLineInput [VendorInvoiceMatchLineInput!]noThe merchandise match lines (≤24, one per PO line) — at-least-one-of with actualComponents.
actualComponentsLandedCostComponentInput [LandedCostComponentInput!]noThe landed-cost actual components (≤8, amounts in the PO currency) — trued-up at capture against the posted receipts estimates of the same component type.
totalMoneyEntryInputnoOptional vendor-stated grand total (informational; in the PO currency).
notesStringnoOptional free-text notes (max 4096).

Used by