Attribute '@format' is required in this context.
The qdt:DateTimeString element for the quotation 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 quotation date. Add the required attribute so the date value is identified clearly.
- Add the
formatattribute to theqdt:DateTimeStringelement for the quotation 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 quotation in the quotation document associated with an invoice line.
rule/@context)assert/@test)