1. invoices
XRechnung API
  • invoices
    • List stored invoices for the current API key
      GET
    • Check runtime readiness for invoice validation
      GET
    • Generate invoice
      POST
    • Validate invoice JSON, raw XML, or raw ZUGFeRD PDF
      POST
    • Retrieve a previously generated invoice by ID
      GET
    • Download the stored invoice PDF artifact
      GET
  • system
    • Public liveness probe
      GET
  • Schemas
    • InvoicePayload
    • SellerParty
    • BuyerParty
    • InvoiceBranding
    • InvoiceLine
    • ValidationError
    • ValidationResult
    • GenerateQueuedResponse
    • GenerateSyncResponse
    • ValidateJsonResponse
    • ValidatePdfRequest
    • ValidateXmlRequest
    • ValidateXmlResponse
    • ValidatePdfResponse
    • GetInvoicePendingResponse
    • GetInvoiceTerminalResponse
    • GetInvoiceResponse
    • ListInvoiceSummary
    • PaginationMeta
    • ListInvoicesResponse
    • ReadinessResponse
    • UnauthorizedError
    • PaymentRequiredError
    • TooManyRequestsError
    • RequestValidationError
    • NotFoundError
  1. invoices

Download the stored invoice PDF artifact

GET
/invoices/{id}/download-pdf
Downloads the stored PDF artifact for the authenticated API key.
This is primarily intended for document_format=zugferd, which produces
a hybrid PDF with embedded CII XML.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Responses

🟢200
application/pdf
Stored PDF artifact found for the current API key
🟠401
🟠402
🟠404
🟠429
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.xinvoice.net/v1/invoices//download-pdf' \
--header 'Authorization: Bearer <token>'
Response Response Example
401 - Example 1
{
    "message": "Missing bearer token."
}
Modified at 2026-04-20 18:38:07
Previous
Retrieve a previously generated invoice by ID
Next
Public liveness probe
Built with