What it means
UBL lets the tax details of a party carry a code for its tax level or status. EN 16931 does not have this. The tax details of the seller only hold the VAT number (BT-31) or another tax registration number (BT-32), each with the tax scheme it belongs to. This rule fails whenever cbc:TaxLevelCode 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 no field for the code and ignores it. It is worth fixing when your software adds it by default, or when a national rule you follow expects the information somewhere else.
How to fix it
The code usually comes from a national or software-specific setting. Check the tax settings for your own company in your invoicing software and look for an export option to leave it out. If you build the XML yourself, delete cbc:TaxLevelCode from cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme and keep cbc:CompanyID with your VAT number.
The rule as published
A UBL invoice should not include the AccountingSupplierParty Party PartyTaxScheme TaxLevelCode 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-170 still fails, and which other rules do.
Related rules
- UBL-CR-171 The seller's tax details should not include an exemption reason code
- UBL-CR-172 The seller's tax details should not include an exemption reason
- UBL-CR-173 The seller's tax details should not include a registration address
- UBL-CR-174 The seller's tax scheme should not include a name
- UBL-CR-175 The seller's tax scheme should not include a tax type code
- UBL-CR-176 The seller's tax scheme should not include a currency code