← All rules

BR-CO-09

Calculation and consistency rules · severity: error · in EN 16931 (UBL), EN 16931 (CII)

Official rule text

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.

Check your invoice now
Free, no sign-up. Every error explained, with the fix where possible.
Check a fileBulk check

Fields involved

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

BR-CO-03BR-CO-04BR-CO-05BR-CO-06BR-CO-07BR-CO-08BR-CO-10BR-CO-11

Many files with this error? Check up to 20 at once, with a CSV list and a ready note for the issuer