Skip to content

Fatal

CII-DT-037: Use VAT for the VAT tax type

In short

Fatal: fails the selected checks.

CII-DT-037 means a CII tax block contains ram:TypeCode, but none of its values is exactly VAT. If the block represents VAT, correct its tax type code to VAT in capital letters. Do not relabel a different tax as VAT.

On this page

What it means

The check applies to every CII ram element whose name ends in TradeTax, including tax blocks in the VAT breakdown (BG-23), on lines (BG-30), and on document-level discounts or charges. It passes when ram:TypeCode is absent or when at least one ram:TypeCode value is exactly VAT. It does not require the element to exist or check the VAT category or rate.

Why it matters

The tax type identifies VAT separately from its category and rate. Changing a code cannot turn another kind of tax into VAT.

How to fix it

Check what the affected tax block represents. For a VAT block, set ram:TypeCode inside ram:ApplicableTradeTax or ram:CategoryTradeTax to VAT in capital letters. If it represents another tax, review how that tax should be represented rather than changing its label to clear the error. 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

TypeCode shall be 'VAT'

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

Updated 6 November 2026