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
To check invoices from your own software, use the API: see the API reference.
Related rules
- BR-DEX-02: A line's net amount (BT-131) should equal the sum of its sub-line net amounts
- BR-DEX-03: Every sub invoice line must carry exactly one VAT information group (BG-DEX-06)
- BR-DEX-04: A scheme identifier must come from the ISO 6523 ICD list
- BR-DEX-05: A scheme identifier must come from the ISO 6523 ICD list
- BR-DEX-06: A scheme identifier must come from the ISO 6523 ICD list