HomeGuidesAPI ReferenceChangelog
Terms of Use
API Reference

Invoice fiscalization document / Download

Download one of the document formats the fiscal authority has made available for a fiscalized invoice. Do not construct this URL: follow a fiscalization.documents[].downloadUrl link from the invoice response, which already carries the format, expires and signature query parameters. A missing or tampered signature yields 403 Forbidden. The link expires 24 hours after the invoice response that produced it, after which it yields 410 Gone, so request the invoice again for a fresh link rather than storing one.

The link is signed and carries its own authorisation — no bearer token is used. The document is fetched from the fiscal authority only when the link is followed, so a provider that cannot supply the format at that moment yields 424 Failed Dependency rather than a server error.

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

The invoice ID to fetch

Query Params
string
required

The document format to download, matched verbatim against the formats the fiscal authority has made available for this fiscal document. Carried by the signed link; changing it invalidates the signature.

integer
required

Unix timestamp at which the signed link stops being accepted, 24 hours after the invoice response that produced it. Carried by the signed link; changing it invalidates the signature. Once this moment has passed the endpoint answers 410 Gone.

string
required

Signature authorising this link. Carried by the signed link and the only credential the endpoint accepts — no bearer token is required or used.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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