errorcountryDEUXRechnung (Germany)

BR-DE-21:Invalid XRechnung Specification Identifier

Fix: Correct the CustomizationID to use valid XRechnung URN format. Upload your invoice to fix this automatically.

The Specification Identifier (BT-24 CustomizationID) must follow the XRechnung URN format: urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_X.X

Severity
Fatal
Rule set
XRechnung (Germany)
Country
DEU
Fix type
AUTO-FIX
Confidence
80%
Category
structural

Engine Classification

Ensure bank account details are present for credit transfer payment means

Confidence: 80% · Applied automatically in pipeline

What is BR-DE-21?

BR-DE-21 is a fatal validation rule defined in the XRechnung (Germany) specification (DEU national rules). It validates the ID element under PayeeFinancialAccount in the UBL invoice XML.

When this rule fires, the invoice is rejected by Peppol access points and never reaches the buyer.

Target path: //cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID

Why This Error Matters

Invoice rejected. German XRechnung requires specific specification identifier format.

BR-DE-21 is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.

Invoice Navigator can automatically correct this error in your pipeline. The fix is applied with full audit evidence, so your compliance trail remains intact.

Validator Behavior

  • ·Causes invoice rejection
  • ·Rejected by XRechnung endpoints
  • ·Error returned: BR-DE-21
  • ·Specification: XRechnung (Germany)

How to Fix It

1.

Check current value

Examine the CustomizationID element

2.

Set valid URN

Use urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0

Before / After

Failing XML
<Invoice>
  <cbc:BuyerReference><!-- invalid or missing value --></cbc:BuyerReference>
</Invoice>
Corrected XML
<Invoice>
  <cbc:BuyerReference>correct-value</cbc:BuyerReference>
</Invoice>

Technical Reference

XPath//cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID
SpecXRechnung (Germany)
Operationset_default
StrategyEnsure bank account details are present for credit transfer payment means

Common Causes

  • ·Specification identifier not XRechnung format
  • ·BT-24 CustomizationID not matching XRechnung URN
  • ·German invoice requires specific specification ID
  • ·CustomizationID missing XRechnung version identifier
  • ·Specification ID using EN16931 instead of XRechnung

Seeing this in production? The API handles BR-DE-21 automatically. See the fix response →

Frequently Asked Questions

XRechnung invoices must have a CustomizationID (BT-24) that follows the official URN format: urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_X.X

Change the CustomizationID to the valid XRechnung URN, for example: urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0

Current valid versions include xrechnung_2.3, xrechnung_3.0, etc. Check the official XRechnung specification for the latest version.

Yes, Invoice Navigator can automatically correct the CustomizationID to the valid XRechnung URN format.

Related Errors

Related Content

Last updated: 7 April 2026

Share this guide:

Validate your invoice

Drop your XML here to check for BR-DE-21

Auto-fix BR-DE-21 in seconds

Upload your invoice and we fix this error automatically. Financial fields are never touched.