What it means
The check requires schemeAgencyName 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 name 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 schemeAgencyName 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
schemeAgencyName 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 |
Check your file
Drop your e-invoice to see whether CII-DT-002 still fails, and which other rules do.
Related rules
- CII-DT-003 Remove schemeDataURI from the affected identifier
- CII-DT-004 Remove schemeURI from the affected identifier
- CII-DT-005 Remove schemeID from the affected identifier
- CII-DT-006 Remove schemeAgencyID from the affected identifier
- CII-DT-007 Remove schemeVersionID from the affected identifier
- CII-DT-008 Remove name from type codes