Skip to content

Warning

CII-DT-045: Leave the code list ID off a line's VAT category code

In short

Warning: worth checking.

CII-DT-045 warns that a VAT category code on one of your invoice lines has a listID attribute. Remove that attribute without changing the category code.

On this page

What it means

For each invoice line, the rule checks ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax/ram:CategoryCode (BT-151). It warns whenever that CategoryCode has a listID attribute, even if the attribute is empty.

Why it matters

The line's VAT category is carried by its code, such as S, Z, E or AE. This rule excludes the additional code list identifier from that field.

How to fix it

Find the affected line's CategoryCode inside ApplicableTradeTax under SpecifiedLineTradeSettlement. Delete only its listID attribute, not the CategoryCode element or its value. If your software adds the attribute, ask its supplier to correct the CII export. Generate the file again and recheck it.

Once the file is corrected, check it again for free: Validate an invoice against EN 16931

Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice

The rule as published

@listID should not be present

Where this rule applies

Rule set Version
EN 16931 (CII) 1.3.17
XRechnung 3.0 (CII) 3.0.2
NLCIUS (CII) 1.0.3.13
France CTC (CII) 1.4.0-04
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether CII-DT-045 still fails, and which other rules do.

Updated 6 November 2026