Skip to content

Fatal

CII-DT-102: Identifiers must not carry a schemeAgencyName attribute

In short

Fatal: fails the selected checks.

CII-DT-102 means an identifier in the file carries a schemeAgencyName attribute, which EN 16931 does not allow. Fix it by deleting that attribute and keeping the identifier and its scheme code (schemeID) where it has one.

On this page

What it means

Identifiers in the file are written in elements whose names end in ID, such as ID, GlobalID and URIID. They cover things like a company registration number, a VAT number, the invoice number or an electronic address (BT-34, BT-49) such as a Peppol ID. The rule checks that none of them has a schemeAgencyName attribute, which would give the name of the organisation that maintains the scheme, for example GS1. The official wording is only 'should not be present', but the rule is an error, not a warning.

Why it matters

The recipient's software works out which scheme an identifier belongs to from the schemeID code. The name of the agency behind the scheme is not part of EN 16931, so the file fails the check and the invoice is rejected.

How to fix it

Check the export or format settings of your invoicing software for a choice of profile and pick EN 16931 rather than a generic CII or Extended format, since these attributes can come from generic exports. If there is no such setting, ask your software supplier to stop writing schemeAgencyName on identifiers. In the XML, find each ID, GlobalID or URIID with a schemeAgencyName attribute and delete only that attribute, keeping the identifier text and the schemeID. The attributes schemeName and schemeDataURI have their own rules, CII-DT-101 and CII-DT-103.

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
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether CII-DT-102 still fails, and which other rules do.

Updated 6 November 2026