Attribute '@format' is required in this context.
The @format attribute is missing from qdt:DateTimeString for the issue date of the referenced document.
The format identifies how to interpret the date value of the referenced document. Without it, the date representation is not explicitly identified.
No format is provided for the issue date of the referenced document. You can resolve this by adding the attribute to the date value.
- Locate
ram:InvoiceReferencedDocumentand itsram:FormattedIssueDateTime. - Add
@formattoqdt:DateTimeString. - Generate the invoice again and validate it.
Technical details
The test checks whether a @format attribute is present on the context-specific qdt:DateTimeString.
The rule applies to qdt:DateTimeString in ram:FormattedIssueDateTime of ram:InvoiceReferencedDocument.
rule/@context)assert/@test)