How to fix BR-DE-22
Das "filename"-Attribut aller "EmbeddedDocumentBinaryObject"-Elemente muss eindeutig sein
XRechnung rule from the KoSIT XRechnung 3.0 schematron (German CIUS of EN 16931). It applies only to invoices whose specification identifier (BT-24) is XRechnung. Such files are checked against EN 16931 and the KoSIT XRechnung rules instead of the full Peppol BIS rule set. Check your file with the XRechnung validator.
What this rule checks
Every embedded attachment (BT-125) must have a unique filename attribute. Duplicate file names make it impossible for the receiver to store or reference attachments reliably.
How to fix it
Give each cbc:EmbeddedDocumentBinaryObject in cac:AdditionalDocumentReference → cac:Attachment a distinct @filename. In CII, make each ram:AttachmentBinaryObject/@filename unique.
Does this rule apply to ZUGFeRD / Factur-X?
Only in the XRECHNUNG profile. BR-DE-22 is not in the Factur-X 1.09.2 / ZUGFeRD 2.5.2 Schematron of the MINIMUM to EXTENDED profiles; it is a KoSIT XRechnung rule. A ZUGFeRD invoice with the XRechnung specification identifier (BT-24, XRECHNUNG profile) is an XRechnung in CII: BR-DE-22 applies, and our validator checks it against EN 16931 and the KoSIT rules.
Check your file with the ZUGFeRD validator or the Factur-X validator.
Related rules
Rule sets
BR-DE-22 is in these rule sets. Each page lists all its rules and the pinned version.
Sources
BR-DE-22 comes from these official rule sources. Our validator runs exactly these versions.
Validate your invoice
Upload your corrected invoice to check it passes BR-DE-22 and all other EN 16931 and XRechnung (BR-DE) rules. Free, instant, no signup.