BR-DE-22 — Attachment file names are not unique (BT-125)
- Standard: XRechnung
- Severity: fatal
- Business Terms: BT-125
Meaning
The "filename" attribute of every "EmbeddedDocumentBinaryObject" (attachment, BT-125) must be unique.
Possible causes
- Two or more attachments share the same filename.
How to fix it
- Give each embedded attachment a distinct @filename value, e.g. "attachment-1.pdf", "attachment-2.pdf".
Affected fields
/ubl:Invoice/cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@filename
Example (invalid invoice)
invalid/BR-DE-22/ubl-inv-duplicate-attachment-filename.xml