Attribute '@format' is required in this context.
The format attribute is missing from qdt:DateTimeString of ram:FormattedIssueDateTime in ram:BuyerOrderReferencedDocument.
The format attribute identifies the format of the referenced buyer order date value. Without this attribute, the format is not specified.
The format attribute is missing from the issue date of the referenced buyer order. Add the format attribute to qdt:DateTimeString.
- Locate the affected invoice line’s
ram:BuyerOrderReferencedDocument. - Add the
formatattribute toqdt:DateTimeString. - Generate the invoice again and validate it once more.
<qdt:DateTimeString/>
<qdt:DateTimeString format=""/>
Technical details
The XPath test checks only whether the format attribute is present on the current qdt:DateTimeString.
The rule applies to the format attribute of qdt:DateTimeString in the issue date of the referenced buyer order at invoice line level.
rule/@context)assert/@test)