Skip to content

Warning

CII-SR-037: Remove line status codes

In short

Warning: worth checking.

CII-SR-037 warns that a CII invoice line contains ram:LineStatusCode in ram:AssociatedDocumentLineDocument or, for NLCIUS, directly in ram:IncludedSupplyChainTradeLineItem. Remove this status code element from the affected line.

On this page

What it means

For each invoice line (BG-25), the rule checks that ram:AssociatedDocumentLineDocument has no direct ram:LineStatusCode child, except in NLCIUS, where it checks ram:IncludedSupplyChainTradeLineItem instead. It does not target the line number (BT-126) or line note (BT-127).

Why it matters

This line status field is outside the EN 16931 CII mapping. The warning does not determine whether a line should be changed, cancelled or credited.

How to fix it

Remove ram:LineStatusCode from each affected ram:AssociatedDocumentLineDocument or, for NLCIUS, directly from ram:IncludedSupplyChainTradeLineItem. If your invoicing software generates it, ask its support to omit it from the CII export. Do not change quantities or amounts solely because of 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

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

Updated 8 November 2026