Skip to content

Warning

CII-DT-039: Remove calculation sequence numbers from tax blocks

In short

Warning: worth checking.

CII-DT-039 warns that a CII tax block contains ram:CalculationSequenceNumeric. Remove that element from the affected block and recheck the corrected file.

On this page

What it means

The check flags ram:CalculationSequenceNumeric in every CII ram element whose name ends in TradeTax. This includes tax blocks in the VAT breakdown, on lines, and on document-level discounts or charges. The element specifies an order for tax calculations.

Why it matters

This calculation sequence field is not part of the CII tax mapping used here. The warning does not establish acceptance or show how receiving software will treat the element.

How to fix it

Remove ram:CalculationSequenceNumeric from the affected tax block. Do not change the VAT rate, taxable amount or VAT amount merely to remove this extra field. If your software keeps adding it, ask its supplier to correct the CII export. Export the corrected file 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

CalculationSequenceNumeric 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-039 still fails, and which other rules do.

Updated 6 November 2026