Attribute '@format' is required in this context.
The format attribute is missing from the qdt:DateTimeString element.
The format attribute indicates how the date value in qdt:DateTimeString is to be interpreted.
The date of the referenced document is missing its format attribute. Add the format so the date value can be interpreted.
- Locate the
qdt:DateTimeStringdate of the referenced document. - Add the required
formatattribute. - Generate the invoice again and validate it once more.
Technical details
The XPath test checks whether the @format attribute exists on the context node.
The rule applies to qdt:DateTimeString, the date value of the document referenced by an advance payment.
rule/@context)assert/@test)