Attribute '@format' is required in this context.
The relevant qdt:DateTimeString is missing the format attribute. This attribute is required in this context.
The format attribute indicates how to read the date value in qdt:DateTimeString. Without it, the issue date’s format is not specified.
The date value of the referenced advance payment document is missing its format attribute. Add the attribute so the date is provided with its format.
- Find the
qdt:DateTimeStringunderram:FormattedIssueDateTime. - Add the
formatattribute with a value allowed in this context. - Generate the invoice again and validate it once more.
Technical details
The test checks whether the format attribute is present on qdt:DateTimeString.
The rule applies to the date value in qdt:DateTimeString for the issue date of a referenced advance payment document.
rule/@context)assert/@test)