AlmondTill/G3N API

InvoiceLine

object type

One immutable Invoice line — the issue-time snapshot of ONE order line's captured facts for the invoiced quantity; money figures are exact cumulative-telescoping shares (a full invoicing sums to the order line exactly, per component).

Fields

FieldTypeNotes
lineNoInt Int!1-based position within this invoice.
orderLineNoInt Int!The invoiced order line's frozen lineNo — the (orderId, orderLineNo) cross-document coordinate.
variantIdIDThe sold variant (copied — XOR openItemDescription).
openItemDescriptionStringThe open-item description (copied — XOR variantId).
taxCategoryTaxCategory TaxCategory!The order line's resolved tax category.
quantityString String!The invoiced quantity (positive decimal string; ≤ the un-invoiced remainder at issue).
capturedUnitPriceMinorInt Int!The captured unit sale price in minor units (copied verbatim — a per-unit fact).
baseMinorInt Int!Derived: taxableBase + lineDiscount + orderDiscountShare (the identity holds by construction).
lineDiscountMinorInt Int!
orderDiscountShareMinorInt Int!
taxableBaseMinorInt Int!This invoice's telescoping share of the order line's taxable base — the note-delta axis.
lineTotalMinorInt Int!Derived mode-aware: exclusive ⇒ taxableBase + tax; inclusive ⇒ taxableBase (tax inside).
taxOrderLineTax OrderLineTax!The tax snapshot — the order line's slot with each component's taxMinor telescoping-prorated (rates/refs verbatim).
notedBaseDeltaMinorIntThe cumulative signed note deltas addressed to this line (absent = 0; CreditNotes subtract, DebitNotes add) — stamped by note issue/void, never caller data.