Skip to content

Warning

CII-SR-054: Remove the separate end item type code

In short

Warning: worth checking.

CII-SR-054 warns that a CII invoice line contains ram:EndItemTypeCode in its product details. Remove this element. If its meaning matters to the buyer, explain it in the item description (BT-154) or an item attribute (BG-32).

On this page

What it means

The test checks that the line's ram:SpecifiedTradeProduct, representing item information (BG-31), has no direct ram:EndItemTypeCode child. It does not check the code's meaning or value.

Why it matters

EN 16931 does not use a separate ram:EndItemTypeCode field in this part of the CII invoice. Relevant descriptive information can be recorded in the supported description or attribute fields.

How to fix it

Remove ram:EndItemTypeCode from the exported product details. Retain any useful explanation in ram:Description (BT-154) or an item attribute (BG-32). Export the revised CII file and 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

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

Updated 6 November 2026