AI ready
Open in Claude (opens in a new tab)View as Markdown

Get an invoice PDF link

GET/invoices/{invoiceId}/pdf

Use 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)Required

    The invoice's id.

  • Clouduxe-VersionstringOptional

    The 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.

  • objectstringRequired

    The object's type. Always "invoice_pdf".

  • urlstring (uri)Required

    Download the PDF from here, without your token. Opaque: do not parse it.

  • expiresAtstring (date-time)Required

    When 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.

Updated 5 November 2026. Generated from the API contract.

Need a server, or a hand with one?

Pick a plan to deploy a server, or open a ticket in the panel. Support runs 24/7/365.