Official rule text
[BR-CO-09]-The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’.Assertion BR-CO-09 in the EN 16931 validation artefacts (CEN/TC 434), validation-1.3.16, UBL and CII (same wording).
What it means
A VAT ID starts with the issuing country’s code (Greece: EL). Totals that must add up and fields that must fit together.
Docfaro reports a breach of BR-CO-09 as an error.
Where the data sits
The business terms this rule checks, and the element that carries each of them in the two syntaxes EN 16931 allows.
BT-31 Seller VAT identifier
- UBL 2.1
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID='VAT']/cbc:CompanyID- CII D16B
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']
BT-48 Buyer VAT identifier
- UBL 2.1
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID='VAT']/cbc:CompanyID- CII D16B
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']
BT-63 Seller tax representative VAT identifier
- UBL 2.1
/Invoice/cac:TaxRepresentativeParty/cac:PartyTaxScheme/cbc:CompanyID- CII D16B
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID
Prefixes: cbc and cac are the UBL basic and aggregate components; rsm, ram and udt the CII namespaces. In a UBL credit note the root is CreditNote and lines are cac:CreditNoteLine.
How to fix it
Prefix the country code, e.g. DE123456789. A national tax number does not belong in this field.
Where the rule applies
| Defined in | EN 16931 validation artefacts validation-1.3.16 |
|---|---|
| Syntaxes | UBL and CII |
| Official severity | error (fatal) |
| Docfaro reports it as | Error |
| Docfaro checks it for | XRechnung, Peppol BIS Billing, and ZUGFeRD / Factur-X in the profiles BASIC, EN 16931 (COMFORT) and EXTENDED. MINIMUM, BASIC WL and ZUGFeRD 1.0 do not carry a full EN 16931 data set and only get basic checks. |
| Rule group | Calculation and consistency rules (BR-CO) |
Related rules
Sources
- EN 16931 validation artefacts validation-1.3.16 (Schematron, EUPL-1.2)CEN/TC 434 and European Commission, GitHub
- Validator-Konfiguration XRechnung 3.0.2, Release 2026-08-31 (XSD UBL 2.1 und CII D16B, Schematron EN 16931 und XRechnung)KoSIT auf GitHub
- Revised European standard on eInvoicing EN 16931-1:2026Europäische Kommission
Last reviewed: