Attribute '@format' is required in this context.
The @format attribute is missing from qdt:DateTimeString of the referenced delivery note. As a result, the date format is not specified.
The format attribute specifies how to read the date value in qdt:DateTimeString. It is needed to interpret the date unambiguously.
The format is missing from qdt:DateTimeString of the delivery note. Add it so the date value can be read unambiguously.
- Add
@formattoqdt:DateTimeStringof the delivery note. - Enter the format code that corresponds to the date value.
- Regenerate the invoice and validate it again.
<qdt:DateTimeString>20261003</qdt:DateTimeString>
<qdt:DateTimeString format="102">20261003</qdt:DateTimeString>
Technical details
The Schematron check requires the @format attribute to be present on the current qdt:DateTimeString element.
The rule applies to qdt:DateTimeString of the referenced delivery note in the delivery details of an invoice line.
rule/@context)assert/@test)