Download an invoice

Downloads everything the store can read of an invoice, always as an attachment. Named factura-drelife-<YYYY-MM>-<mode>, the mode lowercased (returns, circular, repair) so the invoices of two modes of one month never share a name. With a single document, that document as it is with its own media type and extension (factura-drelife-2026-08-returns.pdf). With several, a ZIP built on the fly (application/zip, factura-drelife-2026-08-returns.zip) holding the invoice document first and then the additional ones; repeated file names get a numeric suffix (sample.pdf, sample (2).pdf). The response must not be cached.

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

The unique identifier of the invoice

Headers
string
enum
Defaults to application/zip

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/zip
application/pdf
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/octet-stream