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/visualize | 10 MB |
PDF in POST /v1/conversions | 20 MB and 10 pages |
| XML embedded in a PDF | 10 MB |
JSON in POST /v1/conversions/{id}/confirm | 1 MB; above that 400 with invalid_json |
Idempotency-Key | 1 to 255 visible characters |
Invoice data in invoice | 200 lines, 20 rows of the VAT breakdown, 10 notes; 500 characters per value, 2000 for notes and payment terms |
Requests
| Routes | Limit 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}/confirm | together 20 per minute and 2 at the same time |
| open conversions | 4 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 PDF | synchronous: the answer is the result |
|---|---|
| Reading a PDF | usually 10 to 40 seconds |
| Lifetime of a conversion | 30 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
codeby its HTTP status. - The rule set of the check changes with the official releases.
rules_versionin the check report names what was used.