Attribute '@format' is required in this context.
The @format attribute is missing from qdt:DateTimeString of the referenced delivery note document. The test requires the attribute to be present.
The format code describes how to read the date value of the referenced delivery note document. Without it, the date format is not specified.
The date on the referenced delivery note document is missing its date-format code. Add the @format attribute so that the date is provided with its format.
- Locate
qdt:DateTimeStringin the date of the referenced delivery note document. - Add the required
@formatattribute there. - Generate the invoice again and validate it again.
Technical details
The XPath test @format checks only whether the attribute is present on the current qdt:DateTimeString.
The rule applies to qdt:DateTimeString of the date on the referenced delivery note document in an invoice line.
rule/@context)assert/@test)