XRechnung (Germany)

BR-DE-4

Seller post code (BT-38) required

What it means

XRechnung requires the seller's postal code (BT-38) in the seller postal address.

How to fix it

Fill cac:PostalAddress/cbc:PostalZone for the AccountingSupplierParty (e.g. <cbc:PostalZone>10115</cbc:PostalZone>).

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 →