CRATEAPI

BR-DEX-01

XRechnung FATAL

This is a German XRechnung rule (BR-DE) - a national requirement added on top of EN 16931 for invoices sent to German public authorities. It commonly concerns contact details, payment information or the buyer reference (Leitweg-ID).

How to fix it
  1. Read the requirement in the rule text below and add the missing element.
  2. Check the buyer reference (BT-10) carries a valid Leitweg-ID.
  3. Seller contact details (phone, email) are mandatory in XRechnung even though EN 16931 makes them optional.
Official rule text
Das Element <xsl:value-of select="name()"/> "Attached Document" (BT-125) benutzt einen nicht zulässigen MIME-Code: <xsl:value-of select="@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.

Developers also reach this page searching for an “XRechnung validation error”, a “German e-invoice rejected” message, or how to correct a failed ZUGFeRD/Factur-X-style check — it's the same issue, explained above.

In short, in English: The "Attached Document" (BT-125) uses a MIME code that is not allowed; in an extension, application/xml may be used in addition to the MIME codes defined in section 8.2 ("Binary Object").

Fix it faster

Paste your invoice XML in our free validator - every finding comes with its rule ID. Then generate, convert and render compliant invoices through one API.

Related rules