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.
What does this rule mean?
An attachment (BT-125) uses a MIME code the Extension does not permit either.
The Extension widens the six core types (PDF, PNG, JPEG, CSV, XLSX, ODS) by application/xml only — anything else stays disallowed.
- BT-125
- Attached document
Official rule message (standard)
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.
Official rule message from the standard.
Where the rule applies
Syntax: CII · UBL
The same rule, expressed twice: UBL and CII name the same fields with different paths. Running a CII file against the UBL rules is why you get errors that mean nothing.
UBL
cbc:EmbeddedDocumentBinaryObject[$isExtension]
CII
ram:AttachmentBinaryObject[$isExtension]
Technical test
The rule passes when this Schematron expression holds true:
.[@mimeCode = 'application/pdf' or @mimeCode = 'image/png' or @mimeCode = 'image/jpeg' or @mimeCode = 'text/csv' or @mimeCode = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' or @mimeCode = 'application/vnd.oasis.opendocument.spreadsheet' or @mimeCode = 'application/xml']How to fix it
A missing or incorrect business entry only you can supply. Add or correct it, then re-check.
Convert the file to a permitted type and correct the mimeCode.
Correct the affected entry in your XML, then re-check the invoice. Validation runs locally in your browser — your file never leaves your machine.
Check an e-invoice here
Drop an XML or ZUGFeRD PDF file here. Validation runs locally in your browser against EN 16931 — your file never leaves your machine.