Attribute '@format' is required in this context.
The qdt:DateTimeString element for the seller’s order issue date has no format attribute.
The format attribute identifies the format used for the date value. Without this attribute, the format information required in this context is missing.
The format information is missing from qdt:DateTimeString for the seller’s order issue date. Add the required attribute so the date value is identified clearly.
- Add the
formatattribute to theqdt:DateTimeStringelement for the seller’s order date. - Generate the invoice again and validate it once more.
Technical details
The test checks whether the format attribute is present on the qdt:DateTimeString element.
The rule applies to qdt:DateTimeString for the issue date of the referenced seller’s order in the order document associated with an invoice line.
rule/@context)assert/@test)