How to Fix KoSIT Error BR-DE-15: Missing BuyerReference (BT-10)
KoSIT 1.6.3 rejects your XRechnung 3.0 invoice if the BuyerReference (BT-10) is missing. This mandatory field is required in the ApplicableHeaderTradeAgreement. Add a valid reference to fix the error.
1. Why KoSIT Validator v1.6.3 Rejects This Invoice
The official KoSIT rule BR-DE-15 mandates the presence of the BuyerReference (BT-10) in XRechnung 3.0.2. The XPath test for CII checks for the existence of a non-empty BuyerReference within the ApplicableHeaderTradeAgreement. If the element is missing or empty, the invoice fails validation. The same logic applies to UBL-based invoices, where the element must be present in the HeaderTradeAgreement. This rule ensures that invoices are traceable and meet German public-sector requirements.
/rsm:CrossIndustryInvoicersm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerReference[boolean(normalize-space(.))]/ubl:Invoice | /cn:CreditNote2. KoSIT-Verified XML Example: Broken vs. Fixed
</ram:IncludedSupplyChainTradeLineItem>
<ram:ApplicableHeaderTradeAgreement>
<ram:SellerTradeParty>
<ram:Name>Nordwerk Kaffee & Technik GmbH</ram:Name>
<ram:SpecifiedLegalOrganization>
<ram:ID>HRB 248910 Amtsgericht München</ram:ID>
</ram:SpecifiedLegalOrganization>
<ram:ApplicableHeaderTradeAgreement>
<ram:BuyerReference>991-12345-73</ram:BuyerReference>
<ram:SellerTradeParty>
<ram:Name>Nordwerk Kaffee & Technik GmbH</ram:Name>
<ram:SpecifiedLegalOrganization>
<ram:ID>HRB 248910 Amtsgericht München</ram:ID>
</ram:SpecifiedLegalOrganization>
The broken XML snippet omits the <ram:BuyerReference> element entirely, violating BR-DE-15. The fixed XML includes a valid <ram:BuyerReference> with a non-empty value, which satisfies the XPath test and passes the KoSIT v1.6.3 validation with no errors.
3. Step-by-Step Fix Checklist
- Step 1: Inspect the <ram:ApplicableHeaderTradeAgreement> element for the presence of <ram:BuyerReference>.
- Step 2: Add a valid <ram:BuyerReference> with a non-empty value (e.g., Leitweg-ID or order number).
- Step 3: Re-validate the invoice using Beleq’s free KoSIT v1.6.3 validator to confirm BR-DE-15 compliance.
4. Common Shopify Store & DATEV Workflow Trigger
German B2G buyers and DATEV accounting systems require the BuyerReference (BT-10) to be filled with a Leitweg-ID or order reference. Standard Shopify checkouts lack this field, leading to failed validations. Beleq integrates directly into the /cart flow to collect and validate BT-10, ensuring XRechnung 3.0 compliance without requiring Shopify Plus.
5. Frequently Asked Questions
What happens if I leave BT-10 empty in XRechnung?
Leaving BT-10 empty will trigger a fatal error (BR-DE-15) in KoSIT validation. The invoice will be rejected by German public-sector portals and DATEV systems.
Does ZUGFeRD 2.3 require the same BuyerReference as XRechnung?
Yes, ZUGFeRD 2.3 (Factur-X) also requires the BuyerReference (BT-10) in the HeaderTradeAgreement. The same validation applies under EN 16931.
Related KoSIT Error Codes
Check your hybrid ZUGFeRD PDF or XRechnung XML in under 1 second against the official German KoSIT Validator v1.6.3 — 100% RAM-based on Frankfurt servers with zero retention and no registration.
Open Free KoSIT v1.6.3 Validator → See Beleq for Shopify