All error codes · Error code · XRechnung (KoSIT)
BR-DE-22 Attachments share a file name
Every attachment in an XRechnung needs a file name of its own. If two embedded files have the same name, the invoice is rejected.
The rule's official text
Das "filename"-Attribut aller "EmbeddedDocumentBinaryObject"-Elemente muss eindeutig sein
Every attachment needs its own file name; two embedded documents may not share one.
An error: the validator rejects the invoice, and recipients may refuse it.
What usually causes it
- Several attachments have the same name, such as
timesheet.pdftwice. - The software gives every attachment the same fixed name.
How to fix it
- Name the attachments uniquely, such as
timesheet-october.pdfandtimesheet-november.pdf. - Don't rely on upper and lower case alone; clearly different names are safer.
Where it sits in the XML
- UBL
cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@filename- CII
ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject/@filename
Fixed? Check the invoice again.
Free, no account, with the KoSIT validator. The file isn't stored.
Related error codes
-
BR-DE-1Payment instructions are missing -
BR-DE-15Buyer reference (Leitweg-ID) is missing -
BR-DE-16Seller VAT ID or tax number is missing -
BR-DE-17Invoice type code not allowed -
BR-DE-18Early payment discount in the wrong format -
BR-DE-21Wrong specification identifier -
BR-DE-27Telephone number too short -
BR-DE-30Creditor identifier missing for direct debit -
BR-DE-TMP-32Date of supply is missing
Invoices that get through. From the hours you tracked.
Try it free for 14 daysdocket writes every invoice as a ZUGFeRD PDF and an XRechnung at once, following exactly these rules. More on e-invoicing in docket.