Validation rules

BR-DE-22

Two embedded attachments share the same filename — every attached document's filename must be unique within the invoice.

Rule
BR-DE-22official EN 16931 / XRechnung rule
Severity
error
Business term
BT-125 — Supporting document binary
Field in your JSON
invoice.supporting_documents[*].content_base64

How to fix it

Rename the duplicate attachment filenames in invoice.supporting_documents.

BR-DE-22 auf Deutsch — was bedeutet der Fehler?

Zwei eingebettete Anlagen tragen denselben Dateinamen — jeder Anlagen-Dateiname muss innerhalb der Rechnung eindeutig sein.

So beheben Sie den Fehler

Benennen Sie die doppelten Dateinamen in invoice.supporting_documents um.

Official sources

Every 422 from the API lists the rule id, the path in your request JSON, a plain-language message and a suggested fix — see the docs overview for the report format.

Or try it live: drop any XRechnung XML on the free validator — same KoSIT-backed report, no account.

Spotted something?

Bug, missing feature, wrong validation result — tell us. The page you're on is attached automatically; email optional.