BR-CO-09
Calculation and consistency rules · severity: error · in EN 16931 (UBL), EN 16931 (CII)
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’.
What it means
VAT IDs (seller BT-31, tax representative BT-63, buyer BT-48) must start with the 2-letter country code, e.g. BE0123456789, not 0123456789; Greece uses EL. A customer outside the EU has no VAT ID in this sense.
Free, no sign-up. Every error explained, with the fix where possible.Check a fileBulk check
Fields involved
BT-31Seller VAT IdentifierBT-63Seller tax representative VAT identifierBT-48Buyer VAT identifier
How to fix it
Open the invoice in your invoicing software or XML, correct the fields named in the rule, and check the file again. Our free validator shows exactly where in the file the rule failed. If you need a new compliant invoice, you can create one for free.
Example: failing and fixed
✗ Fails
<cac:PartyTaxScheme>
<cbc:CompanyID>0123456749</cbc:CompanyID>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:PartyTaxScheme>
✓ Fixed
<cac:PartyTaxScheme>
<cbc:CompanyID>BE0123456749</cbc:CompanyID>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:PartyTaxScheme>
A VAT ID starts with its two-letter country prefix (BE, DE, NL, FR …). Greece is the exception: EL, not GR.
Technical guidance only; check the current specification (docs.peppol.eu, xeinkauf.de) and national guidance for legal requirements.
Related rules
Many files with this error? Check up to 20 at once, with a CSV list and a ready note for the issuer