Beleq / Validator / KoSIT Error Codes / BR-DE-15
FATAL · BR-DE-15 XRechnung 3.0.2 Verified with KoSIT v1.6.3 (0-Error Fix) BT-10

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.

Official KoSIT v1.6.3 Schematron Message (EN16931 XRechnung (CII))
[BR-DE-15] Das Element "Buyer reference" (BT-10) muss übermittelt werden.

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.

CII Context: /rsm:CrossIndustryInvoice
CII Schematron Test: rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerReference[boolean(normalize-space(.))]
UBL Context: /ubl:Invoice | /cn:CreditNote

2. KoSIT-Verified XML Example: Broken vs. Fixed

✕ Invalid CII XML — Rejected by KoSIT 1.6.3 (BR-DE-15)
</ram:IncludedSupplyChainTradeLineItem>
<ram:ApplicableHeaderTradeAgreement>
  <ram:SellerTradeParty>
    <ram:Name>Nordwerk Kaffee &amp; Technik GmbH</ram:Name>
    <ram:SpecifiedLegalOrganization>
      <ram:ID>HRB 248910 Amtsgericht München</ram:ID>
    </ram:SpecifiedLegalOrganization>
✓ Fixed CII XML — Passed KoSIT 1.6.3 (0 Errors)
<ram:ApplicableHeaderTradeAgreement>
  <ram:BuyerReference>991-12345-73</ram:BuyerReference>
  <ram:SellerTradeParty>
    <ram:Name>Nordwerk Kaffee &amp; 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

  1. Step 1: Inspect the <ram:ApplicableHeaderTradeAgreement> element for the presence of <ram:BuyerReference>.
  2. Step 2: Add a valid <ram:BuyerReference> with a non-empty value (e.g., Leitweg-ID or order number).
  3. 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.

Guide (DE): Shopify E-Invoicing & EU VAT IDs Without 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

Validate your ZUGFeRD PDF or XRechnung XML free online

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