Returns the canonical OpenFiskal receipt for a completed operation. Self-contained and verifiable — all data needed to render, archive, or verify is present. No additional API calls required.
Only available for operations in completed state.
Platform API key sent as Authorization: Bearer ofk_platform_....
Platform integrators also pass OpenFiskal-Organization: org_xxx
to act on behalf of a merchant.
Merchant organization ID. Required for platform integrators acting on behalf of a specific merchant. Omit when using an organization-scoped API key directly.
Receipt retrieved
The OpenFiskal canonical receipt. Self-contained and verifiable — everything needed to render, archive, or verify is present in this object.
The fiscal block contains both start and end events with their signatures.
In Germany, both must be printed. The fiscal.verification.qr_data field
contains the exact string to encode in the receipt QR code.
"receipt""rcpt_01HXYZ"
"1.0"
Order-level totals, derived from line items. All fields are positive
integers in minor currency units. net_payable is the only field
that can be negative (on refunds).
Derivation: subtotal_gross − total_line_discounts = subtotal_after_line_discounts subtotal_after_line_discounts − total_cart_discounts = subtotal_after_all_discounts subtotal_after_all_discounts + rounding_adjustment = total_gross total_gross → total_net + total_tax
Jurisdiction-specific fiscal output attached to every operation.
Discriminated by regime — each variant carries typed fields for its
fiscal security device and signing protocol.
Links to related operations. The audit chain between operations lives here
at the envelope level — not inside the type-specific data block — because
any operation type can reference any other.