Attribute '@format' is required in this context.
The format attribute is missing from qdt:DateTimeString. As a result, the format of the date and time value in that element is not identified.
format identifies the representation of the date and time value.
The format indicator is missing from the date and time value of the referenced document. Add the attribute to the affected qdt:DateTimeString.
- Locate the affected
qdt:DateTimeStringinram:FormattedIssueDateTime. - Add the
formatattribute to it. - Generate the invoice again and validate it.
<qdt:DateTimeString/>
<qdt:DateTimeString format=""/>
Technical details
The Schematron condition checks whether the format attribute is present on qdt:DateTimeString.
The rule applies to qdt:DateTimeString within ram:FormattedIssueDateTime of a referenced document on the agreement level of an invoice line.
rule/@context)assert/@test)