Skip to content

Warning

CII-SR-002: Do not put a test indicator in the invoice file

In short

Warning: worth checking.

CII-SR-002 warns that your CII invoice contains ram:TestIndicator in rsm:ExchangedDocumentContext. Remove the element and recheck your file, even if the indicator is set to false.

On this page

What it means

Checks that rsm:ExchangedDocumentContext has no direct ram:TestIndicator child. The element triggers this warning whether its value is true or false.

Why it matters

The EN 16931 CII mapping does not use this indicator. Its presence does not by itself mean that the invoice is marked as a test, because the indicator can be false.

How to fix it

Remove ram:TestIndicator from rsm:ExchangedDocumentContext. If your software generates the element, ask your software supplier to omit it from the CII export. Recheck the corrected file.

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

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

Updated 6 November 2026