Skip to content

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.

JSON
{
  "type": "tag:erechnungsampel.de,2026:problem:malformed_xml",
  "title": "Malformed XML",
  "status": 400,
  "code": "malformed_xml",
  "requestId": "0c9d4b7e2a1f4c538e6a7b9c0d1e2f3a"
}
FieldContent
typeidentifier of the error as a URI: tag:erechnungsampel.de,2026:problem: followed by the code. It is not an address that can be fetched
titleshort description, in German or English
statusthe HTTP status
codestable code, see below
detailpresent only when there is an addition; for invalid_field the field concerned, for example BT-2
requestIdidentifier 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

StatusWhat to do
400, 413, 415, 422do not retry: the request or the file has to change
401, 402, 403do not retry: sort out the key, the credits or the plan
404, 410do not retry: the conversion does not exist, or no longer
409for conversion_not_ready and idempotency_in_progress try again later; for conversion_not_needed do not retry: the PDF already is an e-invoice
429retry after the time given in Retry-After
502, 503retry 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

codeMeaning
unauthorizedUnauthorized
missing_keyAPI key missing
invalid_keyInvalid API key
daily_limitDaily limit reached
rate_limitedToo many requests
insufficient_creditsInsufficient credits
account_blockedBilling account restricted
account_deletedAccount deleted
invalid_confirmationConfirmation does not match the account e-mail address
subscription_activeActive subscription: cancel it in the customer portal first
dispute_openOpen payment dispute
invalid_turnstileSecurity check failed
missing_turnstileSecurity check not configured
missing_ipClient IP missing
route_not_foundNot found
method_not_allowedMethod not allowed
invalid_requestInvalid request

File or request rejected

codeMeaning
malformed_xmlMalformed XML
xml_doctypeXML with DOCTYPE is not allowed
malformed_pdfMalformed PDF
protected_pdfPDF is password-protected
embedded_xml_too_largeEmbedded XML too large
invalid_jsonInvalid JSON
multiple_bg3_ciiCII allows only one preceding invoice (BG-3)
invalid_fieldInvalid field
invalid_formatInvalid format
missing_invoiceInvoice data missing
unexpected_visual_pdfVisual PDF not allowed
invalid_visual_pdfInvalid visual PDF
visual_pdf_not_pdfaVisual PDF is not PDF/A
invalid_content_lengthInvalid Content-Length
body_too_largeFile too large
empty_bodyEmpty file
unsupported_media_typeUnsupported file type
visual_unsupported_syntaxReadable PDF not possible for this invoice format
visual_unavailableReadable PDF not possible for this file

Service unavailable or failed

codeMeaning
validator_unavailableValidator temporarily unavailable
validator_busyValidator busy
timeoutValidation timed out
validator_failedValidator error
invalid_reportIncomplete validation report
service_busyService busy
service_unavailableService temporarily unavailable
service_shutting_downService restarting

Conversion

codeMeaning
plan_without_conversionConversion not included in your plan
plan_without_apiAPI not included in your plan
missing_idempotency_keyIdempotency-Key missing
invalid_idempotency_keyInvalid Idempotency-Key
idempotency_conflictIdempotency-Key reused with a different body
idempotency_in_progressA request with this Idempotency-Key is in progress
conversion_not_foundConversion not found
conversion_expiredConversion expired or deleted
conversion_not_readyConversion not ready
conversion_not_neededThe PDF already contains an e-invoice
conversion_unavailableConversion temporarily unavailable
generation_rejectedGenerated e-invoice is invalid
too_many_pagesToo many pages (at most 10)
invalid_zugferd_xmlInvalid embedded ZUGFeRD XML
malware_detectedMalware detected
scan_incompleteMalware scan incomplete
scan_outdatedMalware scan database outdated
pdf_too_complexPDF too complex
pdf_rejectedPDF rejected
extraction_failedExtraction failed
extraction_unavailableExtraction temporarily unavailable
extractor_unavailableExtraction service unavailable