Attribute '@format' is required in this context.
The format attribute is missing from udt:DateTimeString for the charge basis date-time.
The format attribute identifies the format used for the date-time value. Without it, the value cannot be interpreted according to its format.
The format is missing from the charge basis date-time. You can resolve this by adding the format information.
- Find
udt:DateTimeStringin the charge basis date-time. - Add the
formatattribute there. - Generate the invoice again and validate it.
Technical details
The XPath test directly checks whether the format attribute is present on udt:DateTimeString.
The rule applies to udt:DateTimeString within the charge basis date-time in the document-level payment terms.
rule/@context)assert/@test)