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 |
Check your file
Drop your e-invoice to see whether CII-DT-102 still fails, and which other rules do.
Related rules
- CII-DT-103 Identifiers must not carry a schemeDataURI attribute
- CII-DT-104 Identifiers must not carry a schemeURI attribute
- CII-DT-105 Each embedded attachment needs a MIME type
- CII-DT-106 Each embedded attachment needs a file name
- CII-DT-101 Identifiers must not carry a schemeName attribute
- CII-DT-098 Put a VAT exemption reason only in the VAT breakdown