How to fix BR-DEX-01
Das Element [Element] "Attached Document" (BT-125) benutzt einen nicht zulässigen MIME-Code: [mimeCode]. 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.
XRechnung rule from the KoSIT XRechnung 3.0 schematron (German CIUS of EN 16931). It applies only to invoices whose specification identifier (BT-24) is XRechnung. Such files are checked against EN 16931 and the KoSIT XRechnung rules instead of the full Peppol BIS rule set. Check your file with the XRechnung validator.
What this rule checks
Applies only to invoices that declare the XRechnung extension identifier. Attached documents (BT-125) may use the standard MIME codes (application/pdf, image/png, image/jpeg, text/csv, xlsx, ods) plus application/xml. Other MIME codes are rejected.
Referenced business terms
This rule references the following EN 16931 business term. Click through for the full definition, the UBL XPath and the cardinality.
How to fix it
Set @mimeCode on cbc:EmbeddedDocumentBinaryObject (CII: ram:AttachmentBinaryObject) to one of application/pdf, image/png, image/jpeg, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.oasis.opendocument.spreadsheet or application/xml.
Related rules
Validate your invoice
Upload your corrected invoice to check it passes BR-DEX-01 and all other EN 16931 and XRechnung (BR-DE) rules. Free, instant, no signup.