billklar

Rule reference

BR-DEX-01: An attached document (BT-125) uses a MIME type that is not allowed

What it means

An attached document (BT-125) uses a MIME type that is not allowed. With the XRechnung extension, application/xml is also allowed.

How to fix it

Use application/pdf, image/png, image/jpeg, text/csv, an xlsx/ods spreadsheet, or (extension only) application/xml.

Official message

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.

Rule details

Rule set
XRechnung 3.0 rules (KoSIT): XRechnung 3.0.2 (rules 2.6.0) from KoSIT
Severity
Error. An invoice that breaks this rule is not valid.
Formats
UBL and CII

Check your invoice

To check invoices from your own software, use the API: see the API reference.

Related rules