XRechnung (Germany)
BR-DE-6
Seller contact telephone (BT-42) required
What it means
Within the SELLER CONTACT group, the telephone number (BT-42) must be present.
How to fix it
Add cac:Contact/cbc:Telephone for the seller party (e.g. <cbc:Telephone>+49 30 1234567</cbc:Telephone>).
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 }}