Attribute '@format' is required in this context.
The format attribute is missing from qdt:DateTimeString. Without this attribute, the date’s output format is not specified at this location.
The format attribute identifies the format in which the date value of the referenced seller order is expressed.
For the referenced seller order, qdt:DateTimeString has no format attribute. Add the attribute so that the date format is specified.
- Add
formatto the seller order’sqdt:DateTimeStringelement. - Regenerate the invoice and validate it again.
<qdt:DateTimeString>2026-01-15</qdt:DateTimeString>
<qdt:DateTimeString format="x">2026-01-15</qdt:DateTimeString>
Technical details
The test checks whether the format attribute is present on the context node.
The rule applies to qdt:DateTimeString in the issue date of the referenced seller order within the invoice agreement.
rule/@context)assert/@test)