E-invoice rule EN 16931 schematron
BR-09: The seller address is missing the country code
The seller address is missing the country code (BT-40) in cac:Country/cbc:IdentificationCode, for example IE. Use the two letter ISO 3166-1 code.
Original wording of the rule
[BR-09]-The Seller postal address (BG-5) shall contain a Seller country code (BT-40).
Source of the quotation: EN 16931 schematron (ConnectingEurope/eInvoicing-EN16931, licence EUPL 1.2)
How to fix it
- Open the XML file and find the element
cac:Country/cbc:IdentificationCode. - Add or correct the element the way the wording of the rule above asks for.
- Save the file and check it again with our checker. It runs in your browser, the file is never uploaded.
A correct UBL 2.1 snippet
<cac:Country
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:IdentificationCode>SK</cbc:IdentificationCode>
</cac:Country>
The snippet is only the part of the document the rule is about. Put it in the right place inside your invoice; the namespaces are written here only so that the snippet reads on its own.
When it is reported
Profile: EN 16931, Peppol BIS Billing 3.0, XRechnung 3.x
How we rate it: error
UBL elements: cac:Country/cbc:IdentificationCode
Where we point in the file: /Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress
Related rules
- BR-07 The buyer name (BT-44) is missing
- BR-08 The seller postal address (BG-5, element cac:PostalAddress) is missing
- BR-10 The buyer postal address (BG-8, element cac:PostalAddress) is missing
- BR-11 The buyer address is missing the country code (BT-55)
- BR-12 Missing: the sum of invoice line net amounts (BT-106)
Our check is not complete: we do not check the XSD schema and we do not implement every rule, and a file that passes says nothing about whether the buyer or the Peppol network will accept it. Licences for the quoted wordings are listed in our sources.