BR-DE-22fatal

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.

Related rules

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.