XRechnung (Germany)

BR-DE-9

Buyer post code (BT-53) required

What it means

XRechnung requires the buyer's postal code (BT-53) in the buyer postal address.

How to fix it

Fill cac:PostalAddress/cbc:PostalZone for the AccountingCustomerParty.

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 }}

Other XRechnung (Germany) error codes

All error codes →