Download an invoice

Downloads a single invoice.

Path Params
string
required

The unique identifier of the document.

Query Params
boolean
Defaults to false

If true, the document will be regenerated before download

string
enum
length ≥ 1
Defaults to pdf

The type of the download format

  • pdf - Portable Document Format (PDF) format
  • xml - Extensible Markup Language (XML) format
Allowed:
Headers
string

If the account is under a Group VAT, then it is required to be the TIN of the instance under the Group VAT. Otherwise it is optional and can be used as a branch name

string

The unique identifier of the connected account you're operating on behalf of

string
required

The zatca environment to use, available options are ['production', 'simulation']

Response

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