CII-DT-097
Date time string with format attribute 102 shall be YYYYMMDD.
Official rule text
[CII-DT-097] - Date time string with format attribute 102 shall be YYYYMMDD.
[CII-DT-097]-Date time string with format attribute 102 shall be YYYYMMDD.
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) | fatal |
| ZUGFeRD / Factur-X (2.5.2) FeRD, FNFE-MPE | Factur-X EXTENDED (CII) | error |
| French rules BR-FR, EXTENDED-CTC-FR (1.4.0.04) FNFE-MPE | EXTENDED-CTC-FR (CII) | fatal |
| CIUS-RO (1.0.9) Romanian Ministry of Finance | CIUS-RO (CII): EN 16931 only | fatal |
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), ZUGFeRD / Factur-X (2.5.2)
- Context
//udt:DateTimeString[@format = '102']- Test (must be true)
matches(.,'^\s*(\d{4})(1[0-2]|0[1-9]){1}(3[01]|[12][0-9]|0[1-9]){1}\s*$')
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": "fatal",
"ruleId": "CII-DT-097",
"message": "[CII-DT-097] - Date time string with format attribute 102 shall be YYYYMMDD.",
"xpath": "/…",
"source": "schematron:xrechnung@3.0.2",
"docUrl": "https://einvoice-api.eu/rules/cii-dt-097.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.