BR-10: The buyer postal address 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 buyer address group (BG-8) is absent.
How to fix it
Add BuyerTradeParty/PostalTradeAddress, with at least the country code.
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:Name>Mairie de Nîmes</ram:Name>
What to write instead:
<ram:Name>Mairie de Nîmes</ram:Name>
<ram:PostalTradeAddress>
<ram:PostcodeCode>30000</ram:PostcodeCode>
<ram:CityName>Nîmes</ram:CityName>
<ram:CountryID>FR</ram:CountryID>
</ram:PostalTradeAddress>
Where it happens
This code comes from EN 16931, the European e-invoicing standard. It concerns business term BG-8.