Tools › SmartFormular E-Rechnung lite › Validation rules › CII-DT-097
CII-DT-097
A date is not in the format YYYYMMDD (format code 102)
What the message means
A date is not in the format YYYYMMDD (format code 102).
What the issuer needs to change
Give the date as YYYYMMDD, for example 20261023.
Your invoice reports CII-DT-097? Check it with SmartFormular E-Rechnung lite, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.
Check an e-invoiceOrigin
- Rule set
- EN 16931 (CEN, rule set 1.3.16)
- Syntax
- CII
- Level
- Error
Original rule text
Date time string with format attribute 102 shall be YYYYMMDD.
Technical details for IT
CII
Context: //udt:DateTimeString[@format = '102']
Test: not(matches(.,'^\s*(\d{4})(1[0-2]|0[1-9]){1}(3[01]|[12][0-9]|0[1-9]){1}\s*$'))
Related rules
- CII-DT-037The tax type is not "VAT"
- UBL-DT-01An amount has more than two decimals
- UBL-DT-06An attachment has no file type (MIME code)
- UBL-DT-07An attachment has no file name