How to Fix KoSIT Error BR-IC-02: Missing VAT IDs for Intra-Community Supplies
KoSIT 1.6.3 rejects invoices with intra-community VAT category code 'K' (BT-151) if Seller VAT ID (BT-31) and Buyer VAT ID (BT-48) are missing. Fix: Add both VAT identifiers in the XML.
1. Why KoSIT Validator v1.6.3 Rejects This Invoice
EN 16931 mandates that for intra-community supplies (VAT category code 'K'), both the Seller VAT Identifier (BT-31) and the Buyer VAT Identifier (BT-48) must be present. The XPath test verifies this by checking for the presence of VAT IDs in the Seller and Buyer trade parties. If either is missing, the invoice fails BR-IC-02. This applies to both CII and UBL formats.
//rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode = 'K'][upper-case(ram:TypeCode) = 'VAT'](//ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = 'VA'] or //ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = 'VA']) and //ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = 'VA']/ubl:Invoice | /cn:CreditNote2. KoSIT-Verified XML Example: Broken vs. Fixed
<ram:CountryID>NL</ram:CountryID>
</ram:PostalTradeAddress>
<ram:URIUniversalCommunication>
<ram:URIID schemeID="EM">accounts@noordzee-koffie-demo.nl</ram:URIID>
</ram:URIUniversalCommunication>
</ram:BuyerTradeParty>
<ram:BuyerOrderReferencedDocument>
<ram:IssuerAssignedID>#1009</ram:IssuerAssignedID>
<ram:SubjectCode>REG</ram:SubjectCode>
</ram:IncludedNote>
<ram:IncludedNote>
<ram:Content>EU VIES VAT ID Verification: NL004495445B01 | Consultation No.: WAPIAAAAZ9NL8821 | Timestamp: 2026-11-21T10:15:00Z</ram:Content>
<ram:SubjectCode>AAI</ram:SubjectCode>
</ram:IncludedNote>
<ram:IncludedNote>
<ram:Content>Neuausstellung nach nachträglicher USt-IdNr.-Prüfung (VIES) und MwSt.-Rückerstattung.</ram:Content>
The broken XML snippet lacks the Seller and Buyer VAT IDs, which are required for intra-community supplies. The fixed XML includes these IDs under the appropriate trade parties, ensuring compliance with BR-IC-02 and passing the KoSIT v1.6.3 validation.
3. Step-by-Step Fix Checklist
- Step 1: Inspect the exact element/field: Check for the presence of Seller VAT ID (BT-31) and Buyer VAT ID (BT-48) in the XML under the respective trade parties.
- Step 2: Apply the EN 16931 / XRechnung correction: Add the missing VAT IDs under <ram:SpecifiedTaxRegistration><ram:ID schemeID="VA"> for both Seller and Buyer.
- Step 3: Re-validate with Beleq's free KoSIT v1.6.3 validator: Upload the updated XML to Beleq’s online validator to confirm BR-IC-02 compliance.
4. Common Shopify Store & DATEV Workflow Trigger
In German Shopify B2B workflows, intra-community sales (e.g., 0% VAT) require valid VAT IDs from both buyer and seller. Beleq ensures this by collecting and validating the Buyer’s VAT ID via VIES before creating a DraftOrder. This prevents BR-IC-02 errors when exporting to DATEV EXTF or generating XRechnung/ZUGFeRD invoices.
5. Frequently Asked Questions
What happens if I skip adding the Buyer VAT ID for intra-community supplies?
The invoice will fail BR-IC-02 in KoSIT validation, as EN 16931 mandates both Seller and Buyer VAT IDs for intra-community VAT category code 'K'.
Does this rule apply to ZUGFeRD 2.3 and XRechnung 3.0?
Yes, BR-IC-02 applies to both ZUGFeRD 2.3 (Factur-X) and XRechnung 3.0, as they are both based on 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