InvoiceIn
Language: EN

BR-DE-15

XRechnung (KoSIT) · validation rule

XRechnung (KoSIT)Error
XRechnung requires the buyer reference (BT-10), which German public-sector buyers use for the Leitweg-ID. The sender must fill cbc:BuyerReference / ram:BuyerReference with the Leitweg-ID (or other reference) the buyer supplied.
Field
document.buyer_reference (BT-10)
Rule set
XRechnung (KoSIT)
Rule-set version
XRechnung 3.0.2 Schematron 2.6.0 · in force since · Rule-set changelog
Who has to fix it
The sender

This is a property of the file you received, so it cannot be corrected on your side without changing the document — ask the supplier to reissue it.

Worked example · UBL

BT-10 must be present and non-empty; German public buyers put their Leitweg-ID here, which is how the invoice is routed inside the authority.

Fails this rule
<cbc:BuyerReference></cbc:BuyerReference>
Passes
<cbc:BuyerReference>04011000-12345-03</cbc:BuyerReference>

Worked example · CII

Fails this rule
<ram:BuyerReference></ram:BuyerReference>
Passes
<ram:BuyerReference>04011000-12345-03</ram:BuyerReference>

Check your own invoice

Drop the file that failed. We parse it, run the official rule sets against it and list every finding with a fix — 20 invoices per day, no key, nothing stored.

Open the live demo

Same explanation over the API: GET /v1/rules/BR-DE-15?lang=en