CII-SR-007
ScenarioSpecifiedDocumentContextParameter should not be present
Official rule text
[CII-SR-007] - ScenarioSpecifiedDocumentContextParameter should not be present
Where the rule applies
| Rule set | Document type | Severity |
|---|---|---|
| XRechnung with the CEN EN 16931 rules (3.0.2) KoSIT, CEN | EN16931 XRechnung (CII), EN16931 XRechnung Extension (CII), EN16931 XRechnung CVD (CII), EN16931 (CII) | warning |
| French rules BR-FR, EXTENDED-CTC-FR (1.4.0.04) FNFE-MPE | EXTENDED-CTC-FR (CII) | warning |
| CIUS-RO (1.0.9) Romanian Ministry of Finance | CIUS-RO (CII): EN 16931 only | warning |
Fatal and error findings make the invoice invalid (valid: false); warnings and information do not.
Technical check
- Syntax
- CII · CIUS-RO (1.0.9), French rules BR-FR, EXTENDED-CTC-FR (1.4.0.04), XRechnung with the CEN EN 16931 rules (3.0.2)
- Context
/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext- Test (must be true)
not(ram:ScenarioSpecifiedDocumentContextParameter)
How the API reports this rule
Every finding of POST /v1/validate carries the rule id, severity, message, location (XPath) and rule set, and links this page (docUrl):
{
"severity": "warning",
"ruleId": "CII-SR-007",
"message": "[CII-SR-007] - ScenarioSpecifiedDocumentContextParameter should not be present",
"xpath": "/…",
"source": "schematron:xrechnung@3.0.2",
"docUrl": "https://einvoice-api.eu/rules/cii-sr-007.html"
}Check an invoice against this rule and every other rule of the rule set – in the browser, without sign-up.
Rule text and severity are taken unchanged from the official rule set; this page is generated from the API's configuration. Not legal advice.