Retrieve e-invoices for invoices and credit notes

Retrieves a link to a ZIP file with the e-invoice files of the given invoices and credit notes (for example, PDF/A-3 with embedded Factur-X XML). You can request up to 10 invoices and credit notes at a time. For larger volumes, send multiple requests.
Only e-invoices that are ready are included. An e-invoice is generated when the invoice is sent, which can be after it was created. Request any invoices that are not listed in the response again on your next retrieval.
The files are fetched from the e-invoicing provider during the request, so the response can take a while.
If the e-invoicing provider is temporarily unavailable, the endpoint responds with 502 Bad Gateway. Retry the request later.

Required scopes: flex.billing.payments.documents.read

Path Params
string
required

organization slug

Query Params
string
required

The ids of the invoices or credit notes to get the e-invoices of, at most 10. Supports single id (e.g. payment=xxx) or multiple (e.g. payment[$in]=id1,id2).

Response

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