Skip to content

Fatal

CII-DT-008: Remove name from type codes

In short

Fatal: fails the selected checks.

CII-DT-008 means a ram:TypeCode element in your CII file has a name attribute, which is not allowed. Remove that attribute and keep the code value.

On this page

What it means

The check covers every ram:TypeCode element in the CII file, including the invoice type code (BT-3). It fails if a name attribute is present. This rule does not check other attributes or the code value.

Why it matters

These CII type-code elements do not use a separate name attribute for a human-readable label.

How to fix it

Find name attributes on ram:TypeCode elements and remove them. Keep the code between the tags, such as 380 for an invoice or 381 for a credit note. Do not remove name attributes from other elements because of this rule. Save or regenerate your CII file, then check it again.

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

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

Updated 6 November 2026