What it means
UBL lets a postal address name a district, such as a neighbourhood or borough within a city. EN 16931 has no field for it. The seller's address (BG-5) has the street (BT-35), extra address lines (BT-36 and BT-162), the city (BT-37), the post code (BT-38), the country subdivision (BT-39) and the country code (BT-40). This rule fails whenever cbc:District is present, even if it is empty.
Why it matters
This rule is a warning, so the invoice is still accepted. The recipient's software has nowhere to store the district, so it is ignored. It is worth fixing when the district is needed to find the address, since it will not be read where it is.
How to fix it
In your invoicing software, check the address of your own company and put the district in an address line or in the city field. If you build the XML yourself, delete cbc:District from cac:AccountingSupplierParty/cac:Party/cac:PostalAddress. Then add the text to cbc:AdditionalStreetName or to a cac:AddressLine/cbc:Line.
The rule as published
A UBL invoice should not include the AccountingSupplierParty Party PostalAddress District Where this rule applies
| Rule set | Version |
|---|---|
| EN 16931 (UBL) | 1.3.17 |
| EN 16931 (UBL credit note) | 1.3.17 |
| XRechnung 3.0 (UBL) | 3.0.2 |
| XRechnung 3.0 (UBL credit note) | 3.0.2 |
| Peppol BIS Billing 3.0 (invoice) | 2026.5 |
| Peppol BIS Billing 3.0 (credit note) | 2026.5 |
| SI-UBL 2.0 / NLCIUS (invoice) | 2.0.3.13 |
| SI-UBL 2.0 / NLCIUS (credit note) | 2.0.3.13 |
| France CTC (UBL invoice) | 1.4.0-04 |
| France CTC (UBL credit note) | 1.4.0-04 |
| CIUS-RO UBL Invoice 1.0.9 | 1.0.9 |
| CIUS-RO UBL Credit Note 1.0.9 | 1.0.9 |
Check your file
Drop your e-invoice to see whether UBL-CR-164 still fails, and which other rules do.
Related rules
- UBL-CR-165 The seller's address should not include a timezone offset
- UBL-CR-166 The seller's country should be a code, not a name
- UBL-CR-167 The seller's address should not include map coordinates
- UBL-CR-168 The seller should not have a physical location
- UBL-CR-169 The seller's VAT details should not include a registration name
- UBL-CR-170 The seller's VAT details should not include a tax level code