Download an invoice PDF
Returns a short-lived, signed URL to the invoice PDF. Call this when a download is requested and redirect the browser to download_url, so your API key never reaches the client. The link expires within minutes, so request a fresh one each time rather than storing it. This endpoint authenticates your integration, not your end users: it can reach every invoice in the key’s environment, so check in your own app that the signed-in user may see this invoice before calling it.
download_url to it. Request the link only when you need it, then follow it to fetch the file. It expires within minutes, shown in expires_at, so do not store it. Request a fresh one each time.
There are two common ways to use it:
- Download invoices to your own systems. Page through the list of invoices, then call this endpoint for each one and save the PDF on your side. This runs server to server, behind your API key.
- Let your users download an invoice. When a user clicks “download” in your app, call this endpoint from your backend and redirect the browser to
download_url. Your API key stays on your server, and the browser only ever sees the short-lived link.
Autorizaciones
API key sent as a bearer token in the Authorization header.
Parámetros de ruta
Opaque invoice identifier — the id from a list row.
Respuesta
A short-lived link to download the invoice PDF.
A short-lived link to download an invoice as a PDF.
Short-lived, signed URL that returns the invoice PDF. Request it when you need it and redirect the browser to it; do not store it, as it expires within minutes.
"https://files.easyverifactu.com/invoices/2026-000123.pdf?signature=…"
Suggested file name for the downloaded PDF.
"2026-000123.pdf"
When download_url stops working, RFC 3339 in UTC. Request a fresh link after this.
"2026-06-01T09:35:00Z"