Attribute '@format' is required in this context.
The format attribute is missing from qdt:DateTimeString. The format of the date value is therefore not identified.
The format identifies how the date value in qdt:DateTimeString is structured so that it can be read unambiguously.
The date format is missing for the referenced receiving advice date. You can resolve this by specifying the format on the date value.
- Add
formatto theqdt:DateTimeStringelement. - Generate the invoice again and validate it once more.
<qdt:DateTimeString>20250131</qdt:DateTimeString>
<qdt:DateTimeString format="102">20250131</qdt:DateTimeString>
Technical details
The test checks whether the format attribute is present on qdt:DateTimeString.
The rule applies to qdt:DateTimeString within the date of the referenced receiving advice for an invoice line.
rule/@context)assert/@test)