What it means
Checks that rsm:ExchangedDocument has no direct ram:Purpose child, regardless of the text it contains.
Why it matters
The EN 16931 CII mapping does not use this free-text purpose element. The invoice note (BT-22) is the appropriate field for additional explanatory text.
How to fix it
Review the text in ram:Purpose inside rsm:ExchangedDocument. Copy any relevant explanatory text to the invoice note (BT-22), then remove ram:Purpose. Recheck the corrected file.
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
Purpose 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-SR-017 still fails, and which other rules do.
Related rules
- CII-SR-018 Remove the control requirement indicator
- CII-SR-019 Remove the document LanguageID
- CII-SR-020 Remove the document PurposeCode
- CII-SR-021 Remove the revision date and time from the invoice header
- CII-SR-022 Remove the version identifier from the invoice header
- CII-SR-023 Remove the global identifier from the invoice header