Attribute '@format' is required in this context.
The format attribute is missing from udt:DateTimeString for the due date.
The format attribute identifies the format used for the due date. Without it, the date value cannot be interpreted according to its format.
The format is missing from the due date. You can resolve this by adding the format information.
- Find
udt:DateTimeStringfor the due date. - 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 for the due date in the document-level payment terms.
rule/@context)assert/@test)