XRechnung (Germany)
BR-DEX-01
XRechnung extension structure error
What it means
The document declares the XRechnung 'extension' CustomizationID (urn:...:xrechnung_3.0#conformant#urn:...:xrechnung_3.0_extension) but the use of extension elements is not consistent with the rules for the extension profile.
How to fix it
Either remove the extension elements and use the plain XRechnung CustomizationID, or correct the extension usage per the XRechnung extension specification (e.g. allowed sub-invoice lines, additional document references).
Catch this before it reaches the receiving authority:
# CLI
npx @eleata/validate-einvoice validate invoice.xml --format xrechnung-ubl
# GitHub Action — fail the build on any invalid invoice
- uses: hernaninverso/validate-einvoice-action@v1
with:
files: invoices/**/*.xml
api-key: ${{ secrets.EINVOICE_API_KEY }}