Skip to content

Warning

CII-SR-062: Remove the separate colour code element

In short

Warning: worth checking.

CII-SR-062 warns that a CII invoice line contains ram:ColourCode. Remove this separate element. If the buyer needs the colour information, retain it in the item name (BT-153), 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:ColourCode child. It does not check whether the code is meaningful or valid.

Why it matters

EN 16931 does not use a separate ram:ColourCode field in this part of the CII invoice. A buyer may still need a colour name or an exact colour reference, which you can retain in a supported field.

How to fix it

Remove ram:ColourCode from the exported product details. Retain any useful colour name or reference in ram:Name (BT-153), ram:Description (BT-154) or an item attribute (BG-32) named Colour. Do not replace an exact reference with a general colour name if the reference matters. Export the revised 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

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

Updated 6 November 2026