export
export
Export Invoices Archive
Stream a ZIP of invoices for the authenticated user.
format selects what each invoice contributes: pdf (default), ubl (UBL 2.1 / Peppol BIS XML), or both. Optionally filtered by ?year=YYYY or ?invoice_ids=1,2,3. Stored PDFs are served directly; UBL is generated on the fly. Individual failures are skipped with a log warning. UBL is only produced for numbered invoices (BT-1). Returns 404 if empty.
get/api/v1/export/invoices/archive
Request
- Base URL: https://api.peil.app (the document declares no server; this is the origin it was published from)
- URL: https://api.peil.app/api/v1/export/invoices/archive
- Auth: none declared
Query parameters
yearinteger nullable
invoice_idsstring nullable
Comma-separated invoice IDs
formatstring
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.