Skip to content

Warning

CII-DT-047: Leave the code list version off a line's VAT category code

In short

Warning: worth checking.

CII-DT-047 warns that a VAT category code on one of your invoice lines has a listVersionID 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 listVersionID attribute, even if the attribute is empty.

Why it matters

The listVersionID attribute identifies a version of a code list. This rule excludes that version identifier from the line's VAT category code; it does not check whether the code itself is appropriate.

How to fix it

Find the affected line's CategoryCode inside ApplicableTradeTax under SpecifiedLineTradeSettlement. Delete only its listVersionID 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

@listVersionID 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-047 still fails, and which other rules do.

Updated 6 November 2026