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 |
Check your file
Drop your e-invoice to see whether CII-SR-062 still fails, and which other rules do.
Related rules
- CII-SR-063 Remove the separate colour description element
- CII-SR-064 Leave Designation out of a line's product details
- CII-SR-065 Leave out the announced cancellation date
- CII-SR-066 Leave out the latest product data change date on a line
- CII-SR-067 Leave out the attribute identifier on item attributes
- CII-SR-068 Leave out the attribute type code on item attributes