Faktura

CII-DT-097

fatalEN 16931syntax binding ruleCII

Date time string with format attribute 102 shall be YYYYMMDD.

Why it fails

A date is declared with format attribute 102 but is not written as YYYYMMDD.

How to fix it

With format="102" the value is eight digits and nothing else: 20260822. No hyphens, no time.

What the validator checks

CII — context //udt:DateTimeString[@format = '102']

matches(.,'^\s*(\d{4})(1[0-2]|0[1-9]){1}(3[01]|[12][0-9]|0[1-9]){1}\s*$')

Related rules

Part of CII-DT — CII data types.

Validate an invoice against this rule →