Attribute '@format' is required in this context.
The udt:DateTimeString element does not contain the @format attribute. As a result, the format of the exchange-rate date is not specified.
The format attribute indicates how to interpret the date value of the exchange rate. Without it, the date value has no unambiguous format.
The date format is missing for the exchange rate used for the tax currency. Add this information so the date can be interpreted unambiguously.
- Add the
@formatattribute to theudt:DateTimeStringelement. - Set its value to match the date format being used.
- Regenerate the invoice and validate it again.
Technical details
The check is performed in the context of udt:DateTimeString and fails when the @format attribute is absent.
Applies to udt:DateTimeString within the exchange rate for the tax currency.
rule/@context)assert/@test)