Access: The API is included in the Pro plan. You create the API key in your account.
Reference
Errors
Errors come as application/problem+json (RFC 9457). Decide by code in your program: it is stable. title is for people and follows Accept-Language.
{
"type": "tag:erechnungsampel.de,2026:problem:malformed_xml",
"title": "Malformed XML",
"status": 400,
"code": "malformed_xml",
"requestId": "0c9d4b7e2a1f4c538e6a7b9c0d1e2f3a"
}| Field | Content |
|---|---|
type | identifier of the error as a URI: tag:erechnungsampel.de,2026:problem: followed by the code. It is not an address that can be fetched |
title | short description, in German or English |
status | the HTTP status |
code | stable code, see below |
detail | present only when there is an addition; for invalid_field the field concerned, for example BT-2 |
requestId | identifier of the request, 32 hexadecimal characters, also in the X-Request-Id header. Absent for errors raised before an invoice route is reached, for example route_not_found |
Retry or not
| Status | What to do |
|---|---|
400, 413, 415, 422 | do not retry: the request or the file has to change |
401, 402, 403 | do not retry: sort out the key, the credits or the plan |
404, 410 | do not retry: the conversion does not exist, or no longer |
409 | for conversion_not_ready and idempotency_in_progress try again later; for conversion_not_needed do not retry: the PDF already is an e-invoice |
429 | retry after the time given in Retry-After |
502, 503 | retry with growing intervals; follow Retry-After when present |
With 502 and 503 there is no result and no charge. A technical failure is never reported as a valid invoice.
POST /v1/conversions/{id}/confirm answers 422 with the red check report as application/json instead of application/problem+json when the created invoice would be invalid, see Convert.
The tables below contain every value of code from the OpenAPI document. Some concern only the website and the account and do not occur with an API key, for example daily_limit and invalid_turnstile.
Access, plan and limits
code | Meaning |
|---|---|
unauthorized | Unauthorized |
missing_key | API key missing |
invalid_key | Invalid API key |
daily_limit | Daily limit reached |
rate_limited | Too many requests |
insufficient_credits | Insufficient credits |
account_blocked | Billing account restricted |
account_deleted | Account deleted |
invalid_confirmation | Confirmation does not match the account e-mail address |
subscription_active | Active subscription: cancel it in the customer portal first |
dispute_open | Open payment dispute |
invalid_turnstile | Security check failed |
missing_turnstile | Security check not configured |
missing_ip | Client IP missing |
route_not_found | Not found |
method_not_allowed | Method not allowed |
invalid_request | Invalid request |
File or request rejected
code | Meaning |
|---|---|
malformed_xml | Malformed XML |
xml_doctype | XML with DOCTYPE is not allowed |
malformed_pdf | Malformed PDF |
protected_pdf | PDF is password-protected |
embedded_xml_too_large | Embedded XML too large |
invalid_json | Invalid JSON |
multiple_bg3_cii | CII allows only one preceding invoice (BG-3) |
invalid_field | Invalid field |
invalid_format | Invalid format |
missing_invoice | Invoice data missing |
unexpected_visual_pdf | Visual PDF not allowed |
invalid_visual_pdf | Invalid visual PDF |
visual_pdf_not_pdfa | Visual PDF is not PDF/A |
invalid_content_length | Invalid Content-Length |
body_too_large | File too large |
empty_body | Empty file |
unsupported_media_type | Unsupported file type |
visual_unsupported_syntax | Readable PDF not possible for this invoice format |
visual_unavailable | Readable PDF not possible for this file |
Service unavailable or failed
code | Meaning |
|---|---|
validator_unavailable | Validator temporarily unavailable |
validator_busy | Validator busy |
timeout | Validation timed out |
validator_failed | Validator error |
invalid_report | Incomplete validation report |
service_busy | Service busy |
service_unavailable | Service temporarily unavailable |
service_shutting_down | Service restarting |
Conversion
code | Meaning |
|---|---|
plan_without_conversion | Conversion not included in your plan |
plan_without_api | API not included in your plan |
missing_idempotency_key | Idempotency-Key missing |
invalid_idempotency_key | Invalid Idempotency-Key |
idempotency_conflict | Idempotency-Key reused with a different body |
idempotency_in_progress | A request with this Idempotency-Key is in progress |
conversion_not_found | Conversion not found |
conversion_expired | Conversion expired or deleted |
conversion_not_ready | Conversion not ready |
conversion_not_needed | The PDF already contains an e-invoice |
conversion_unavailable | Conversion temporarily unavailable |
generation_rejected | Generated e-invoice is invalid |
too_many_pages | Too many pages (at most 10) |
invalid_zugferd_xml | Invalid embedded ZUGFeRD XML |
malware_detected | Malware detected |
scan_incomplete | Malware scan incomplete |
scan_outdated | Malware scan database outdated |
pdf_too_complex | PDF too complex |
pdf_rejected | PDF rejected |
extraction_failed | Extraction failed |
extraction_unavailable | Extraction temporarily unavailable |
extractor_unavailable | Extraction service unavailable |