XRechnung (BR-DE)Error
BR-DE-22 Attachment file names are not unique
What BR-DE-22 means
Every attached document (BT-125) needs its own file name. Your invoice contains two or more attachments with the same name, so the recipient cannot tell them apart.
Error: the invoice is not valid until this is fixed.
Common causes
- The same file was attached twice.
- The software gives every attachment the same name, for example attachment.pdf.
How to fix BR-DE-22
- Give each attachment a unique file name, for example timesheet-march.pdf and delivery-note-4711.pdf.
- Remove attachments that were added twice.
- Create the invoice again and check the new file.
Where the fields are in the XML
BT-125Attached document- UBL
cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@filename- CII
ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject/@filename
UBL paths start below the Invoice element. CII paths start below rsm:SupplyChainTradeTransaction unless they begin with rsm:.