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!yesThe PurchaseOrder this bill captures against (rides the HEADER parentId) — tenant-scoped + past-issue server-side (a draft/pending order was never sent; a cancelled one refuses).
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