Download the reported document XML

Redirect to a short-lived signed URL for the archived UBL (SBDH-wrapped) of one of
your documents, by its document_id (the id returned when you reported it — invoice
or credit note). Before discovery/preparation, return the immutable accepted
UBL directly from durable storage (HTTP 200); archived documents redirect (302).

Stays available after the taxpayer is deregistered: the filing is a record it must be
able to produce long after it stops filing.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Headers
string | null
string
required

Taxpayer ID (txpay_…). Required with an organization API key (pk_…) for this taxpayer-specific operation, even for one taxpayer. Not a TIN. Optional with a taxpayer access token, which already names its taxpayer.

string | null

Grant ID (tgr_…) to act through, with an organization API key. The request then has exactly that grant's scopes and fails once the grant is revoked. Without it, the key acts through all of the organization's active grants on the taxpayer.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json