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
captionStringnoNo further notes.
invoiceDateStringnoNo further notes.
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.
totalMoneyEntryInputnoNo further notes.
notesStringnoNo further notes.

Used by