Attribute '@format' is required in this context.
The @format attribute is missing from qdt:DateTimeString.
The format specifies how the date value is to be interpreted. Without it, the intended date representation is not identified.
The issue date of the receiving advice is missing the attribute that identifies its date format. Add this information so the date is described unambiguously.
- Add
@formattoqdt:DateTimeStringunderram:ReceivingAdviceReferencedDocument. - Enter a format value allowed for this date.
- Generate the invoice again and validate it again.
Technical details
The XPath test @format checks whether the attribute exists on the current qdt:DateTimeString.
The rule applies to qdt:DateTimeString in the issue date of the referenced receiving advice at invoice-line level.
rule/@context)assert/@test)