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.

What usually causes it

  • Several attachments have the same name, such as timesheet.pdf twice.
  • The software gives every attachment the same fixed name.

How to fix it

  1. Name the attachments uniquely, such as timesheet-october.pdf and timesheet-november.pdf.
  2. 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

All error codes

Invoices that get through. From the hours you tracked.

Try it free for 14 days

docket writes every invoice as a ZUGFeRD PDF and an XRechnung at once, following exactly these rules. More on e-invoicing in docket.