BR-DE-22: Each embedded attachment must have a unique filename

Each embedded attachment must have a unique filename.

Updated November 25, 2026

Severity
Error the invoice fails validation.
Rule set
XRechnung 3.0.2 (KoSIT) · XRechnung 3.0.2 rules (BR-DE, BR-DEX, BR-TMP)
Where it applies
  • XRechnung 3.0 in UBL and CII (Germany)
  • ZUGFeRD / Factur-X with the XRECHNUNG profile

Official rule text

UBL Das "filename"-Attribut aller "EmbeddedDocumentBinaryObject"-Elemente muss eindeutig sein

CII Not all filename attributes of the embeddedDocumentBinaryObject elements are unique

The official text is published in German by KoSIT. The explanation below restates it in English.

What the rule checks

Each embedded attachment must have a unique filename.

How to fix it

Rename duplicate attachment filenames.

Then check the corrected file again: one fix often changes the result of related rules. If the file was rejected and you cannot change the system that created it, the fix page shows which fields to correct.

Check your invoice against the official rules

Upload an XML or PDF invoice. You get every failing rule with an explanation, the fix and the line in the file. Free, without sign-up; the check on this page stores nothing.

Drop an invoice hereXRechnung, EN 16931 or Peppol (UBL / CII), a ZUGFeRD / Factur-X PDF, Facturae or KSeF FA(3). Up to 2 MB.
No invoice at hand?

Processed in memory and not stored. No sign-up needed.