What it means
The check applies only to /rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:TypeCode, which holds the invoice type code (BT-3). It fails if listAgencyID is present, regardless of the attribute's value.
Why it matters
The CII representation of the invoice type code does not include the code-list agency identifier in listAgencyID.
How to fix it
Find rsm:ExchangedDocument and its ram:TypeCode child. Remove only listAgencyID from that child and keep its code value. Leave attributes on other TypeCode elements unchanged unless another rule reports them. 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
listAgencyID 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-011 still fails, and which other rules do.
Related rules
- CII-DT-012 Remove listVersionID from the invoice type code
- CII-DT-013 Remove languageID from the invoice root
- CII-DT-014 Remove languageLocaleID from the invoice root
- CII-DT-015 Keep document links on supporting document references
- CII-DT-016 Remove StatusCode from document references
- CII-DT-017 Remove CopyIndicator from document references