Tools › SmartFormular E-Rechnung lite › Validation rules › BR-DE-22
BR-DE-22
Two attachments have the same file name
What the message means
Two attachments have the same file name.
What the issuer needs to change
Give each attachment its own file name.
Your invoice reports BR-DE-22? Check it with SmartFormular E-Rechnung lite, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.
Check an e-invoiceOrigin
- Rule set
- XRechnung 3.0.2 (KoSIT, Schematron 2.6.0)
- Syntax
- CII, UBL
- Level
- Error
Original rule text
Das "filename"-Attribut aller "EmbeddedDocumentBinaryObject"-Elemente muss eindeutig sein
Technical details for IT
UBL
Context: /ubl:Invoice | /cn:CreditNote Test: not(count(cac:AdditionalDocumentReference) = count(cac:AdditionalDocumentReference[not(./cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@filename = preceding-sibling::cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@filename)]))
CII
Context: /rsm:CrossIndustryInvoice Test: not(count(//ram:AdditionalReferencedDocument) = count(//ram:AdditionalReferencedDocument[not(./ram:AttachmentBinaryObject/@filename = preceding-sibling::ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject/@filename)]))
Related rules
- BR-DE-19The IBAN given (BT-84) is not valid
- BR-DE-20The IBAN of the debited account (BT-91) is not valid
- BR-DE-21The specification identifier (BT-24) is not the XRechnung identifier
- BR-DE-23-aCredit transfer is given as payment means, but without account details (BG-17)
- BR-DE-23-bWith credit transfer, card or direct debit details are also given
- BR-DE-24-aCard payment is given as payment means, but without card details (BG-18)