Skip to main content
GET
Download an invoice document

Authorizations

Authorization
string
header
required

Your API key in Authorization: Bearer <key>. Use vk_test_… keys against the sandbox and vk_live_… keys against production.

Path Parameters

invoiceId
integer<uint64>
required

Id of the invoice. Unsigned 64-bit integer (ids and large counters). May exceed 2^53; parse with a BigInt-safe JSON parser in JavaScript.

Required range: 0 <= x <= 18446744073709552000

Query Parameters

format
enum<string>
default:pdf

pdf (default; for ZUGFeRD a PDF/A-3 with embedded XML) or xml (the EN 16931 CII XML separately; for XRechnung the legal original).

Available options:
pdf,
xml

Response

OK

Single-object envelope around a BillingDocumentDownload.

data
object
required

A short-lived download of an invoice document (also of a Stornorechnung).