Attribute '@format' is required in this context.
The qdt:DateTimeString in the order reference has no format attribute.
The format attribute identifies the format of the date value in the order reference.
The format attribute is missing from qdt:DateTimeString in the order reference. Add the format attribute to identify the date value.
- Add the
formatattribute toqdt:DateTimeStringin the order reference. - Regenerate the invoice and validate it again.
<qdt:DateTimeString>...</qdt:DateTimeString>
<qdt:DateTimeString format="">...</qdt:DateTimeString>
Technical details
The test checks whether the format attribute is present on qdt:DateTimeString; this test does not validate its value.
The rule applies to qdt:DateTimeString within the date of the ultimate customer order reference.
rule/@context)assert/@test)