Attribute '@format' is required in this context.
The @format attribute is missing from udt:DateTimeString. Without this attribute, the format of the date value is not specified.
The format attribute describes how to read the date value. It enables the exchange-rate date to be interpreted unambiguously.
The format is missing from the exchange-rate date. Add the attribute to the date value so that its format is specified.
- Find
udt:DateTimeStringfor the exchange-rate date. - Add the missing
@formatattribute. - Generate the invoice again and validate it.
Technical details
The test checks whether the @format attribute is present on the context node udt:DateTimeString.
The rule applies to udt:DateTimeString for the exchange-rate date in the currency exchange details for tax amounts.
rule/@context)assert/@test)