Value of '@format' is not allowed.
A non-empty value of the format attribute on qdt:DateTimeString is not included in the value list used by this rule. An empty value passes this check.
A non-empty format value must match an entry in the designated code list so that the date or time format can be identified unambiguously.
The format value given for the referenced document date is not in the designated value list. Using an allowed value will satisfy this check.
- Check the value of the
formatattribute onqdt:DateTimeString. - For a non-empty value, use an entry from the designated value list.
- Generate the invoice again and validate it.
Technical details
The test permits an empty code value; otherwise, it checks the value against the enumeration in code list 17.
The rule applies to the value of the format attribute on qdt:DateTimeString in a referenced document date at invoice-line level.
rule/@context)assert/@test)