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 |
Check your file
Drop your e-invoice to see whether CII-DT-008 still fails, and which other rules do.
Related rules
- CII-DT-009 Remove listURI from type codes
- CII-DT-010 Remove listID from the invoice type code
- CII-DT-011 Remove listAgencyID from the invoice type code
- CII-DT-012 Remove listVersionID from the invoice type code
- CII-DT-013 Remove languageID from the invoice root
- CII-DT-014 Remove languageLocaleID from the invoice root