BR-DEX-01: Attachment file type not allowed (Extension)
BR-DEX-01 means: An embedded attachment (BT-125) has a MIME type that is not allowed. The Extension allows the usual types (PDF, PNG, JPEG, CSV, XLSX, ODS) and also application/xml.
Error. The invoice is invalid. Recipients and portals may reject it.
Typical cause
Attachments such as Word files (application/msword), ZIP archives, or a misspelt MIME type.
How to fix BR-DEX-01
Convert the attachment into an allowed format (usually PDF) and set the mimeCode attribute correctly.
The DEX rules apply only to the XRechnung Extension (identifier with #conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0 in BT-24). The Extension allows sub-lines, third-party payments and further attachments. Many recipients accept only the standard XRechnung; ask first whether the Extension is accepted.
What it looks like when correct
<!-- UBL --> <cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="Leistungsnachweis.pdf">JVBERi0x…</cbc:EmbeddedDocumentBinaryObject>
Original message of the checker
[BR-DEX-01] Das Element "Attached Document" (BT-125) benutzt einen nicht zulässigen MIME-Code: … . Im Falle einer Extension darf zusätzlich zu der Liste der mime codes (definiert in Abschnitt 8.2, "Binary Object") der MIME-Code application/xml genutzt werden.
Wording from KoSIT's published validation configuration (XRechnung 3.0.2), which is in German.
You only received the invoice?
Then you have nothing to repair: the error is on the sender's side. Ask for a corrected invoice and name the code BR-DEX-01. The free check writes the text for you.
Related codes
Information, not legal or tax advice.