Skip to content

Access: The API is included in the Pro plan. You create the API key in your account.

Reference

Limits

Every limit of the API on one page.

Files

Limit
Invoice in POST /v1/validate and POST /v1/visualize10 MB
PDF in POST /v1/conversions20 MB and 10 pages
XML embedded in a PDF10 MB
JSON in POST /v1/conversions/{id}/confirm1 MB; above that 400 with invalid_json
Idempotency-Key1 to 255 visible characters
Invoice data in invoice200 lines, 20 rows of the VAT breakdown, 10 notes; 500 characters per value, 2000 for notes and payment terms

Requests

RoutesLimit per account
POST /v1/validate, POST /v1/visualize, GET and DELETE /v1/conversions/{id}together 120 per minute and 4 at the same time
POST /v1/conversions, POST /v1/conversions/{id}/confirmtogether 20 per minute and 2 at the same time
open conversions4 at the same time

Above the limit the API answers 429 with rate_limited; Retry-After gives the waiting time in seconds. When the service as a whole is busy, it answers 503 with service_busy.

A conversion counts as open while it is being read or is ready and has not been confirmed, deleted or expired. A conversion with source zugferd does not count.

Times

Check and readable PDFsynchronous: the answer is the result
Reading a PDFusually 10 to 40 seconds
Lifetime of a conversion30 minutes from submission

Credits

If your credits do not cover an operation, the API answers 402 with insufficient_credits before anything is processed. Details under Credits and plans.

Versions

  • Every route starts with /v1. A change that breaks existing calls appears under a new version.
  • New fields in an answer and new error codes are not a breaking change: ignore fields you do not know, and treat an unknown code by its HTTP status.
  • The rule set of the check changes with the official releases. rules_version in the check report names what was used.