Value of '@format' is not allowed.
The value of format is not empty and does not occur in the code list checked for this attribute. This specific check also accepts an empty value.
The format code identifies how the date value in udt:DateTimeString is represented. Under this rule, an unlisted code cannot be assigned to an allowed date format.
The value of the format attribute on the invoice date is not included in the code list checked for it. You can compare the entered code with the allowed entries.
- Locate the
udt:DateTimeStringfor the invoice date. - Check the value of its
formatattribute against the code list applicable to this attribute. - Generate the invoice again and validate it once more.
Technical details
The XPath test accepts an empty format value or a value present in the code list identified by 3.
The rule applies to the format attribute of udt:DateTimeString for the invoice date in the document header.
rule/@context)assert/@test)