Skip to content

Fatal

CII-DT-006: Remove schemeAgencyID from the affected identifier

In short

Fatal: fails the selected checks.

CII-DT-006 means the specification identifier, invoice number, line identifier or seller's item identifier in your CII file has a schemeAgencyID attribute, which is not allowed there. Remove that attribute and keep the identifier value.

On this page

What it means

The check requires schemeAgencyID to be absent from the specification identifier (BT-24), invoice number (BT-1), invoice line identifier (BT-126) and seller's item identifier (BT-155). It does not check other attributes or other identifiers.

Why it matters

The CII mapping for these fields does not include the code of the agency responsible for the identifier scheme.

How to fix it

Find the affected ram:ID under ram:GuidelineSpecifiedDocumentContextParameter or rsm:ExchangedDocument, ram:LineID under ram:AssociatedDocumentLineDocument, or ram:SellerAssignedID under ram:SpecifiedTradeProduct. Remove only schemeAgencyID from that element and keep its value. Save or regenerate your CII file, then 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

schemeAgencyID 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-DT-006 still fails, and which other rules do.

Updated 6 November 2026