EN16931 / XRechnung / Peppol BIS 3 Validator

BR-DEX-01: Das Element "Attached Document" (BT-125) benutzt einen nicht zulässigen…

fatal CII UBL

What this error means and how to fix it

An XRechnung extension rule (KoSIT): it applies to invoices using the XRechnung extension profile, for example third-party payments (BG-DEX-09) or sub-invoice lines. This is an error: the invoice is rejected until it is fixed.

Check your invoice against BR-DEX-01 — free

Runs the KoSIT validator 1.6.3, unmodified · result in seconds · the file is not stored · No file at hand? Try a sample invoice

This error needs information only you have, so it is not repaired automatically. The free check shows every finding in the file with its location; if other errors in the same file are in the automatic set (totals, VAT breakdown, rounding, element order), the result page offers the corrected file for 9 €.

Rule text

[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.

XRechnung rule texts are published in German by KoSIT; the text above is the original.

Where the rule is checked (XPath context and test)
SyntaxSeverityContext (XPath)Test (XPath)
XRechnung-UBLfatal.[@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']
XRechnung-CIIfatal.[@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']

Business terms referenced

BT-125

Related rules

CII-SR-476, CII-DT-105, CII-DT-106, DE-R-022, BR-TMP-5

Source: XRechnung Schematron, CII (itplr-kosit/xrechnung-schematron, Apache-2.0).

Source: XRechnung Schematron, UBL (itplr-kosit/xrechnung-schematron, Apache-2.0).

Check your invoice against this rule