Attribute '@format' is required in this context.
The format attribute is missing from qdt:DateTimeString. As a result, the format of the specified date is not identified.
The format attribute identifies the format in which the text value represents the date. Without it, the date value cannot be interpreted according to a specified format.
The format attribute is missing from qdt:DateTimeString. Add the format attribute so that the date format is identified.
- Locate the additional referenced document with
ram:TypeCode50. - Find
ram:FormattedIssueDateTime/qdt:DateTimeStringin it. - Add the required
formatattribute to the element. - Regenerate the invoice and validate it again.
Technical details
The assertion checks directly on the context node qdt:DateTimeString whether the format attribute is present.
The rule applies to qdt:DateTimeString in ram:FormattedIssueDateTime of an additional referenced document with ram:TypeCode 50.
rule/@context)assert/@test)