XRechnung (Germany)
BR-DE-2
Seller contact (BG-6) required
What it means
XRechnung requires the SELLER CONTACT group (BG-6) — a contact point at the seller — to be present.
How to fix it
Add cac:Contact under the seller party with a contact name (BT-41), a telephone number (BT-42) and an email address (BT-43).
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 }}