XRechnung (Germany)

BR-DE-1

Payment instructions (BG-16) required

What it means

XRechnung requires the document to include payment instructions: at least one PAYMENT MEANS group (BG-16) describing how the invoice is to be paid.

How to fix it

Add a cac:PaymentMeans (UBL) / ram:SpecifiedTradeSettlementPaymentMeans (CII) with the payment means type code (BT-81) and the relevant account details (e.g. IBAN in BT-84 for a credit transfer).

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 →