Skip to content

Warning

CII-SR-028: Remove content codes from invoice notes

In short

Warning: worth checking.

CII-SR-028 warns that a header invoice note contains ram:ContentCode. Put any information you need to preserve into the note text (BT-22), then remove the code element.

On this page

What it means

The rule checks for ram:ContentCode inside any ram:IncludedNote directly under rsm:ExchangedDocument. It does not target ram:Content, which holds the note text (BT-22).

Why it matters

The EN 16931 CII mapping represents the note's message as text rather than through this content code. Removing the code should not remove information you still need in the note.

How to fix it

If ram:ContentCode carries information the buyer needs, express its meaning in words in ram:Content (BT-22). Remove the whole ram:ContentCode element from the note and check the updated file 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

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

Updated 6 November 2026