AlmondTill/G3N API

EditVendorInvoiceInput

input type

Edit-input for a VendorInvoice. Every field optional, at least ONE required; supplied fields replace, omitted fields are preserved. Draft-only wholesale: date/lines/components/total/notes + caption while draft; the PO parent, the billing vendor, and the invoice number are birth-fixed (the marker identity — re-key = cancel + recreate, the marker takeover covers the same number); a write in an immutable terminal (captured / cancelled) refuses CONFLICT/IMMUTABLE.

Fields

FieldTypeRequiredNotes
captionStringno
invoiceDateStringno
matchLinesVendorInvoiceMatchLineInput [VendorInvoiceMatchLineInput!]noThe wholesale match-line replacement (draft-only); an empty array clears the merchandise lines — substance re-checked against the effective components.
actualComponentsLandedCostComponentInput [LandedCostComponentInput!]noThe wholesale component replacement (draft-only); an empty array clears the cost bill — substance re-checked against the effective match lines.
totalMoneyEntryInputnoMoney-entry input — currency: a platform-registry code (three uppercase letters, one of the 48 the platform computes in) inside the organization's allowed set — or the group's union for a group-level
notesStringno

Used by