Attribute '@format' is required in this context.
The udt:DateTimeString element does not specify the format attribute. As a result, the format of the date and time value is not identified.
The format indication enables the date and time value of the actual delivery event to be interpreted unambiguously.
The format indication is missing for the actual delivery date and time. Add it so the date and time value can be read unambiguously.
- Find
udt:DateTimeStringin the actual delivery event. - Add the
formatattribute to this element. - Generate the invoice again and validate it.
Technical details
The test checks whether the format attribute is present on the current udt:DateTimeString element.
The rule applies to udt:DateTimeString within the invoice’s actual delivery event.
rule/@context)assert/@test)