Attribute '@format' is required in this context.
The @format attribute is missing from qdt:DateTimeString.
The @format attribute identifies the format of the date or time value in qdt:DateTimeString. Without the attribute, this format information is absent.
The date for the referenced document with the value 916 is missing its format declaration. Add the @format attribute to qdt:DateTimeString.
- Find the
qdt:DateTimeStringunderram:FormattedIssueDateTimein the referenced document with theram:TypeCodevalue916. - Add the
@formatattribute there. - Generate the invoice again and validate it again.
Technical details
The rule checks whether the @format attribute is present on qdt:DateTimeString under ram:FormattedIssueDateTime.
On the qdt:DateTimeString under ram:FormattedIssueDateTime of the ram:AdditionalReferencedDocument whose ram:TypeCode has the value 916.
rule/@context)assert/@test)