InvoiceValidator.eu

CII-DT-037

fatalEN 16931syntax binding ruleCII

TypeCode shall be 'VAT'

Why it fails

TypeCode does not have the fixed value this profile requires.

How to fix it

Set it to exactly 'VAT'. The comparison is literal — case and surrounding whitespace both matter.

What the validator checks

CII — context //ram:*[ends-with(name(), 'TradeTax')]

not(ram:TypeCode) or (ram:TypeCode = 'VAT')

Related rules

Part of CII-DT — CII data types.

Check your own invoice against CII-DT-037

…or paste the XML instead

Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.