Skip to content
Klarfile

BR-09: The seller country code is missing

This code shows up when an electronic invoice is validated. Here is what it means, why it fires, and what to change in the file.

Why this code appears

The seller address carries no country code (BT-40). It determines which VAT regime applies to the transaction.

How to fix it

Fill PostalTradeAddress/CountryID with a two-letter ISO 3166-1 code: FR, DE.

What it looks like in the file

These two snippets are replayed against our own checker on a complete invoice, every time the site is built. The first one raises this code, the second one does not.

What raises the code:

<ram:LineOne>12 rue des Arènes</ram:LineOne>
<ram:CityName>Nîmes</ram:CityName>

What to write instead:

<ram:LineOne>12 rue des Arènes</ram:LineOne>
<ram:CityName>Nîmes</ram:CityName>
<ram:CountryID>FR</ram:CountryID>

Where it happens

This code comes from EN 16931, the European e-invoicing standard. It concerns business term BT-40.

Check my invoice All rejection codes