VUZDevelopers

Download invoice PDF

GET
/billing/invoices/{invoiceId}/download

Download invoice as PDF file

X-Api-Key<token>

Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.

In: header

Path Parameters

invoiceId*string

Invoice ID

Response Body

application/json

curl -X GET "https://example.com/billing/invoices/string/download"
{  "id": "string",  "invoiceNumber": "string",  "amountSubtotal": 0,  "amountTax": 0,  "amountTotal": 0,  "currency": "string",  "periodStart": "2019-08-24T14:15:22Z",  "periodEnd": "2019-08-24T14:15:22Z",  "status": "pending",  "paidAt": "2019-08-24T14:15:22Z",  "paymentMethod": "string",  "pdfUrl": "string",  "hostedUrl": "string",  "lineItems": [    {      "description": "string",      "quantity": 0,      "amount": 0    }  ],  "createdAt": "2019-08-24T14:15:22Z"}