Skip to content

Warning

CII-SR-041: Remove subject codes from line notes

In short

Warning: worth checking.

CII-SR-041 warns that a CII invoice line note contains ram:SubjectCode. Remove the code from the line note and preserve any needed meaning in its text (BT-127).

On this page

What it means

The rule checks for ram:SubjectCode inside ram:IncludedNote elements under each line's ram:AssociatedDocumentLineDocument. It does not target the invoice note subject code (BT-21) in the header.

Why it matters

The EN 16931 CII mapping provides text for a line note (BT-127), but no line note subject code. Header invoice notes have a separate subject code field (BT-21).

How to fix it

Remove ram:SubjectCode from each affected line note. If the subject conveys information the buyer needs, include that meaning in the note's ram:Content text. Do not remove header note subject codes to address this warning. Check the 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

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

Updated 6 November 2026