BR-TMP-7

Datumsangaben in UNCEFACT/CII müssen das Attribut format="102" tragen und im Format JJJJMMTT (YYYYMMDD) übermittelt werden.

warning: reported, still valid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
udt:DateTimeString | qdt:DateTimeString | udt:DateString
Test
normalize-space(@format) = '102' and matches(normalize-space(text()), '^\d{8}$')

Checked with XRechnung 3.0 Invoice (CII)