EN16931 / XRechnung / Peppol BIS 3 Validator

CII-DT-097: Date time string with format attribute 102 shall be YYYYMMDD.

fatal CII

What this error means and how to fix it

A CII data type rule: an attribute or value format of the UN/CEFACT CII syntax is not allowed in EN 16931. This is an error: the invoice is rejected until it is fixed.

Check your invoice against CII-DT-097 — free

Runs the KoSIT validator 1.6.3, unmodified · result in seconds · the file is not stored · No file at hand? Try a sample invoice

This error needs information only you have, so it is not repaired automatically. The free check shows every finding in the file with its location; if other errors in the same file are in the automatic set (totals, VAT breakdown, rounding, element order), the result page offers the corrected file for 9 €.

Rule text

[CII-DT-097] - Date time string with format attribute 102 shall be YYYYMMDD.
Where the rule is checked (XPath context and test)
SyntaxSeverityContext (XPath)Test (XPath)
EN16931-CIIfatal//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*$')

Source: EN 16931-1 Schematron, UN/CEFACT CII syntax binding (ConnectingEurope/eInvoicing-EN16931, EUPL-1.2).

Check your invoice against this rule