EN16931 / XRechnung / Peppol BIS 3 Validator

BR-IC-12: Deliver-to country missing for an intra-community supply (VAT category K)

fatal CII UBL

What this error means and how to fix it

The VAT breakdown of your invoice uses category K (“Intra-community supply”), but the deliver-to country code (BT-80) is empty. Fix: add the country (ISO 3166-1 alpha-2, e.g. DE) — UBL cac:Delivery/cac:DeliveryLocation/cac:Address/cac:Country/cbc:IdentificationCode, CII ram:ShipToTradeParty/ram:PostalTradeAddress/ram:CountryID. Only you know where the goods went, so this is not repaired automatically. This is an error: the invoice is rejected until it is fixed.

Check your invoice against BR-IC-12 — free

Runs the KoSIT validator 1.6.3, unmodified · result in seconds · the file is not stored · No file at hand? Try a sample invoice

This error needs information only you have, so it is not repaired automatically. The free check shows every finding in the file with its location; if other errors in the same file are in the automatic set (totals, VAT breakdown, rounding, element order), the result page offers the corrected file for 9 €.

Rule text

[BR-IC-12]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be blank.
Where the rule is checked (XPath context and test)
SyntaxSeverityContext (XPath)Test (XPath)
EN16931-UBLfatal/ubl:Invoice | /cn:CreditNote(exists(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID[normalize-space(.) = 'K']) and (string-length(cac:Delivery/cac:DeliveryLocation/cac:Address/cac:Country/cbc:IdentificationCode) >1)) or (not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID[normalize-space(.) = 'K']))
EN16931-CIIfatal//rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:CategoryCode[.= 'K'][upper-case(../ram:TypeCode) = 'VAT']/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress/ram:CountryID

Business terms referenced

BG-23, BT-118, BT-80

Related rules

BR-AE-01, BR-CO-18, BR-E-01, BR-G-01, BR-IC-01, BR-IC-11, BR-IG-01, BR-IP-01, BR-O-01, BR-O-11, BR-O-12, BR-O-13

Source: EN 16931-1 Schematron, UN/CEFACT CII syntax binding (ConnectingEurope/eInvoicing-EN16931, EUPL-1.2).

Source: EN 16931-1 Schematron, UBL syntax binding (ConnectingEurope/eInvoicing-EN16931, EUPL-1.2).

Check your invoice against this rule