FiscalReceipt
object type
A FiscalReceipt: the gap-free sequential fiscal number + the regime's signature (model A) or clearance authorization code (model B) + the QR payload the printed receipt renders. IMMUTABLE once issued — no edit, no transitions, no doom (the ⚑none artifact class; status is the one literal 'issued' forever). Certified partners produce the artifact fields — the caller never supplies them.
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | No further notes. |
sysId | String String! | The group-scoped human-facing system id (FR-…). |
type | String String! | No further notes. |
caption | String String! | No further notes. |
status | String String! | Always 'issued' — the artifact class carries ONE state and no FSM. |
parentId | ID ID! | The fiscalized document. |
rootId | ID ID! | The org-group family root. |
createdAt | String String! | No further notes. |
updatedAt | String String! | No further notes. |
revisionNum | Int Int! | No further notes. |
revision | ID ID! | The OCC revision token — immutable artifact: it never rotates after birth. |
refCaptions | RefCaption [RefCaption!]! | The server-composed captions of this record's declared references (the referenced-caption rule, the face slice grew it, as the build promised) — one row per referenced id; see RefCaption. |
parentKind | String String! | order | invoice — which book the parentId names. |
regime | String String! | The canned regime key (cannedFiscalRegimes lists the roster). |
logicalFacilityId | ID ID! | The establishment the series journals — the parent Order's selling LF (an Invoice inherits its Order's). |
seriesKey | String String! | The series identity — always <regime>#<logicalFacilityId> (fiscal series are establishment-bound). |
seq | Int Int! | The gap-free sequential fiscal number WITHIN the series (1-based — allocated in the issue transaction). |
signature | String | Model A — the partner/device fiscal signature (opaque, partner-shaped); null on a clearance-model receipt. |
authorizationCode | String | Model B — the authority's clearance authorization code (obtained BEFORE issuing); null on a signature-model receipt. |
qrPayload | String String! | What the printed receipt renders as QR/barcode. |
partnerRef | String | The certified partner's own document reference (null when the partner supplies none). |