Skip to content

Warning

CII-DT-038: Remove CalculatedRate from tax blocks

In short

Warning: worth checking.

CII-DT-038 warns that a CII tax block contains ram:CalculatedRate. Remove this extra element. Where a VAT rate is required, check that the intended rate is recorded in ram:RateApplicablePercent instead.

On this page

What it means

The check flags ram:CalculatedRate 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 VAT rate field is ram:RateApplicablePercent, representing BT-119 in the VAT breakdown and BT-152 on a line.

Why it matters

ram:CalculatedRate is not the VAT rate field used by this CII mapping. The warning does not establish whether the invoice will be accepted or whether the VAT calculation is correct.

How to fix it

Remove ram:CalculatedRate from the affected tax block. Where the VAT treatment requires a rate, check its value in ram:RateApplicablePercent. Do not add a rate solely to clear this warning or copy the value without checking it. If your software writes the extra element, ask its supplier to correct the 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

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

Updated 6 November 2026