Attribute '@format' is required in this context.
The qdt:DateTimeString in ram:SellerOrderReferencedDocument has no format attribute. This attribute is required in this context.
The format attribute identifies the format used for the seller order date. Without it, the date format cannot be determined unambiguously in this context.
The date in the seller order document is missing its format. Add the attribute so the date is clearly identified in this context.
- Locate the
qdt:DateTimeStringin the invoice line’sram:SellerOrderReferencedDocument. - Add the
formatattribute to that element. - Generate the invoice again and validate it again.
Technical details
The Schematron test checks whether the format attribute is present on the current qdt:DateTimeString.
The rule applies to the date in FormattedIssueDateTime within SellerOrderReferencedDocument of an invoice line.
rule/@context)assert/@test)