Get an invoice PDF link
GET
/invoices/{invoiceId}/pdfUse this to download the tax invoice. The link works for about 5 minutes. Seconds after an invoice is issued its PDF may not exist yet: then this answers not_found with Retry-After.
- Token
- Bearer API token: cxk_live_ followed by 46 letters and digits
- Scope
billing:read- Header
Authorization: Bearer $CLOUDUXE_API_KEY
How tokens and scopes work: Authentication and scopes.
invoiceIdstring (uuid)RequiredThe invoice's id.
Clouduxe-VersionstringOptionalThe API version to use, such as 2026-12-01. Omit it to use your token's version.
pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
200OK The link.
objectstringRequiredThe object's type. Always "invoice_pdf".
urlstring (uri)RequiredDownload the PDF from here, without your token. Opaque: do not parse it.
expiresAtstring (date-time)RequiredWhen url stops working, about 5 minutes after it was made.
Every response
- 200OKThe link.
- 400Bad requestThe request is not valid. Codes: version_invalid.
- 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
- 403ForbiddenThe token is not allowed to do this. Codes: forbidden, ip_not_allowed, api_access_disabled, scope_missing.
- 404Not foundNot found. Codes: not_found.
- 429Too many requestsA rate limit was reached. Codes: rate_limited.
- 500Server errorUnexpected error. Codes: internal_error.
- 503UnavailableTemporarily unavailable. Codes: unavailable.