errorDEXRECHNUNG
BR-DE-22:Duplicate Attachment Filenames
XRechnung requires all attachment filenames to be unique. Multiple EmbeddedDocumentBinaryObject elements have the same filename attribute.
We can fix this automatically
AUTO-FIXAuto-fix: Append sequence numbers to duplicate filenames (e.g., document.pdf → document_1.pdf, document_2.pdf).
No manual changes needed
Upload and Fix NowWhy This Error Matters
Invoice rejected. Attachments must have unique names for proper reference.
How to Fix It
1
Identify duplicates
Find attachments with same filename
2
Rename files
Add suffix like -2, -3 to duplicate filenames
Technical Details
XPath: /Invoice/cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@filename | All filename attributes must be distinct.Common Causes
- Duplicate attachment filenames in XRechnung
- Multiple EmbeddedDocumentBinaryObject have same filename
- German invoice requires unique attachment names
- Attachment filename attribute not unique
- Multiple files exported with identical names
Frequently Asked Questions
XRechnung requires all EmbeddedDocumentBinaryObject filename attributes to be unique. This error occurs when two or more attachments have the same filename.
Rename duplicate attachments to have unique filenames, e.g., invoice.pdf and invoice-2.pdf instead of two files named invoice.pdf.
German authorities require unique filenames to properly identify and process attached documents.
Yes, Invoice Navigator can automatically rename duplicate attachments by adding a numeric suffix.
See Also
Last updated: 17 January 2026
Share this guide: