HomeError code lexicon › BR-CO-9
BR-CO-9 Field BT-31 Calculation and consistency rules (BR-CO)

Fix BR-CO-9: Seller VAT identifier without country prefix

[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’.

BR-CO-9 in your own invoice? Upload the file and find every error in seconds.

What does BR-CO-9 mean?

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'. This is a consistency rule of EN 16931: the amounts must add up, otherwise the invoice does not hold together.

Common causes of BR-CO-9

How to fix BR-CO-9

  1. Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-31 along this XPath://ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']
  2. Apply the fix. The Seller VAT identifier (BT-31) must start with the country prefix (ISO 3166-1), for example 'DE123456789'.
  3. Validate again. Save the file and validate it again to check that BR-CO-9 is no longer reported.
Concrete fix

The Seller VAT identifier (BT-31) must start with the country prefix (ISO 3166-1), for example 'DE123456789'.

XPath//ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']

Frequent questions about BR-CO-9

How do I fix BR-CO-9?
The Seller VAT identifier (BT-31) must start with the country prefix (ISO 3166-1), for example 'DE123456789'.

Related error codes

Check BR-CO-9 automatically

Instead of digging through the XML by hand you can validate your ZUGFeRD or XRechnung file online – upload the PDF or the XML and you get every error with rule ID, affected field, fix and XPath, as a readable report or as JSON through the API.

Find every error automatically instead of searching by hand

Upload your ZUGFeRD, Factur-X or XRechnung file – you get every violation back with rule ID, field, fix and XPath.

Validate online for free
Check invoice