XRechnung (Germany)
BR-DE-3
Seller city (BT-37) required
What it means
XRechnung requires the seller's city name (BT-37) in the seller postal address.
How to fix it
Fill cac:PostalAddress/cbc:CityName for the AccountingSupplierParty (e.g. <cbc:CityName>Berlin</cbc:CityName>).
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 }}