Returns the canonical signed document as submitted to the authority. Format varies by jurisdiction:
The response Content-Type reflects the format. The document is the
exact bytes transmitted — not regenerated. Store it for your own records.
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.
xml returns the signed fiscal document.
pdf returns a human-readable representation (not the fiscal document —
the XML is the legally binding record).
xml, pdf Invoice document
The response is of type file.