# 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

| Field | Type | Notes |
| --- | --- | --- |
| `lineNo` | [Int](/types/#scalars) `Int!` | 1-based position within THIS invoice. |
| `orderLineNo` | [Int](/types/#scalars) `Int!` | The invoiced order line's frozen lineNo — the (orderId, orderLineNo) cross-document coordinate. |
| `variantId` | [ID](/types/#scalars) | The sold variant (copied — XOR openItemDescription). |
| `openItemDescription` | [String](/types/#scalars) | The open-item description (copied — XOR variantId). |
| `taxCategory` | [TaxCategory](/types/TaxCategory/) `TaxCategory!` | The order line's resolved tax category (copied — the recompute coordinate). |
| `quantity` | [String](/types/#scalars) `String!` | The INVOICED quantity (positive decimal string; ≤ the un-invoiced remainder at issue). |
| `capturedUnitPriceMinor` | [Int](/types/#scalars) `Int!` | The captured unit sale price in minor units (copied VERBATIM — a per-unit fact). |
| `baseMinor` | [Int](/types/#scalars) `Int!` | DERIVED: taxableBase + lineDiscount + orderDiscountShare (the identity holds by construction). |
| `lineDiscountMinor` | [Int](/types/#scalars) `Int!` | No further notes. |
| `orderDiscountShareMinor` | [Int](/types/#scalars) `Int!` | No further notes. |
| `taxableBaseMinor` | [Int](/types/#scalars) `Int!` | This invoice's telescoping share of the order line's taxable base — the note-delta axis. |
| `lineTotalMinor` | [Int](/types/#scalars) `Int!` | DERIVED mode-aware: exclusive ⇒ taxableBase + tax; inclusive ⇒ taxableBase (tax inside). |
| `tax` | [OrderLineTax](/types/OrderLineTax/) `OrderLineTax!` | The tax snapshot — the order line's slot with each component's taxMinor telescoping-prorated (rates/refs verbatim). |
| `notedBaseDeltaMinor` | [Int](/types/#scalars) | The cumulative SIGNED note deltas addressed to this line (absent = 0; CreditNotes subtract, DebitNotes add) — stamped by note issue/void, never caller data. |
