Error codes · UBL 2.1
UBL-CR-166In your invoicing software
A UBL invoice should not include the AccountingSupplierParty Party...
The rule, in short: [UBL-CR-166] Your invoice contains a Country Name element in the supplier postal address which is not allowed in EN16931 invoices. Only IdentificationCode is allowed.
What to have readyNothing. The file has to be re-exported from your invoicing software; we check it again afterwards.
What we doInvoice Navigator automatically removes the disallowed `cbc:Name` element from your Invoice.
If you enter it yourself in your invoicing software
Before
<cac:Country> <cbc:Name>value</cbc:Name> </cac:Country>
After
<cac:Country> <!-- cbc:Name removed for EN 16931 compliance --> </cac:Country>
Element order is part of the rule: if the element sits in the wrong place, the validator rejects with UBL-CR-166.
What the finding looks likeExample
FindingStructure invalid · UBL-CR-166
Location/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:Name
From youA re-exported file
ThenRe-export
ProofSHA-256 and /verify link after the check