Skip to content

Warning

CII-SR-068: Leave out the attribute type code on item attributes

In short

Warning: worth checking.

CII-SR-068 warns that one of your line's item attributes contains ram:TypeCode. Remove this element from ram:ApplicableProductCharacteristic, keeping the attribute name (BT-160) and value (BT-161).

On this page

What it means

Within a line's ram:SpecifiedTradeProduct, this rule checks that no item attribute (BG-32), represented by ram:ApplicableProductCharacteristic, contains a ram:TypeCode child.

Why it matters

The EN 16931 CII mapping uses an attribute name and text value, not this separate type code. This warning alone does not establish whether the invoice will be accepted.

How to fix it

Remove ram:TypeCode from each affected ram:ApplicableProductCharacteristic. If its meaning is needed to understand the attribute, express that meaning clearly in the name in ram:Description (BT-160) or the value in ram:Value (BT-161). If your software keeps adding the element, ask your software supplier to change the CII export. Recheck the file.

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

Updated 6 November 2026