Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Download Invoice PDF

GET /tenants/{tenant}/accounting/invoices/{invoiceId}/pdf

Downloads the PDF for an invoice from the accounting platform. Only available when IsPdfAvailable is true on the invoice. Use the optional 'disposition' parameter: 'attachment' (default) prompts a file download, 'inline' displays the PDF in the browser.

Requires: ViewAll on Clients.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

disposition query string
invoiceId* path string

Responses

200 OK
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found

Try it