BR-DE-01:Invalid Leitweg-ID Format
German B2G (Business-to-Government) invoices require a valid Leitweg-ID in the Buyer Reference field (BT-10). The Leitweg-ID is a routing identifier that directs your invoice to the correct government department.
We can help you fix this
NEEDS INPUTRequires user input: Leitweg-ID from the purchase order or contract. Format is typically like 04011000-1234512345-12. Cannot be auto-generated.
Why This Error Matters
Invoice rejected by German public sector. Cannot be delivered without the Leitweg-ID routing code.
How to Fix It
Obtain Leitweg-ID
Request the Leitweg-ID from your German public sector customer. This is typically provided on the purchase order or contract.
Enter Leitweg-ID
Enter the ID in format: XX-XXXXX-XX (e.g., 04011000-12345-12)
Verify format
The format should be: 2-12 digits, dash, 1-30 digits, dash, 2 digits
Before & After Fix(BR-DE-01)
<cbc:BuyerReference></cbc:BuyerReference><cbc:BuyerReference>04011000-12345-12</cbc:BuyerReference><cbc:BuyerReference></cbc:BuyerReference><cbc:BuyerReference>04011000-12345-12</cbc:BuyerReference>Compare the invalid XML structure with the corrected version. The fix ensures compliance with validation rules.
Code Example
<cbc:BuyerReference>04011000-12345-67</cbc:BuyerReference>Technical Details
XPath: /Invoice/cbc:BuyerReferenceCommon Causes
- XRechnung invoice missing Leitweg-ID (routing ID)
- BT-10 Buyer reference not populated with Leitweg-ID
- German public sector invoice without routing identifier
- Leitweg-ID not configured for recipient authority
- Export template missing German routing ID field
Common Causes by Software
SAP
Why this happens
Leitweg-ID not mapped from customer master
How to fix it
Add Leitweg-ID field to customer master and map in output determination
Where to find it
XD02 → Custom fields → Leitweg-IDDATEV
Why this happens
Auftrags-/Lieferantennummer field empty
How to fix it
Enter Leitweg-ID in document header additional fields
Where to find it
Buchführung → Belege → ZusatzfelderMicrosoft Dynamics 365
Why this happens
XRechnung buyer reference field not configured
How to fix it
Configure BuyerReference field in e-invoice configuration
Where to find it
Accounts receivable → Setup → Electronic invoicingUsing a different software?
Validate your invoice to get specific fix guidance.
Commonly Seen In
Frequently Asked Questions
Related Errors
Last updated: 17 January 2026