BR-DE-22ErrorGerman XRechnung rules (BR-DE)
BR-DE-22: Attachment file names are not unique
The invoice is invalid and will be rejected.
What does the error mean?
Several embedded attachments have the same file name (filename attribute), so the receiver could overwrite them when saving.
How to fix it
Give every attachment its own file name, e.g. timesheet-1.pdf and timesheet-2.pdf.
Original validator message
[BR-DE-22] Not all filename attributes of the embeddedDocumentBinaryObject elements are unique
Checked in: UBL, CII
Check your invoice now
Upload your XRechnung or ZUGFeRD file. The validator lists every error with an explanation – free, no sign-up.
Open the validatorAvoid the errors in the first place
With the Invoicify API you create XRechnung and ZUGFeRD from JSON. Totals, VAT and mandatory fields are checked before any XML is written.
Read the API docs