Attribute '@format' is required in this context.
The @format attribute is missing from udt:DateTimeString at the end of the period.
The format identifies how to interpret the date value for the end of the period. Without it, the date representation is not explicitly identified.
No format is provided for the end of the billing period. You can resolve this by adding the attribute to the date value.
- Locate
ram:EndDateTimein the billing period. - Add
@formattoudt:DateTimeString. - Generate the invoice again and validate it.
Technical details
The test checks whether a @format attribute is present on the context-specific udt:DateTimeString.
The rule applies to udt:DateTimeString in ram:EndDateTime of the billing period.
rule/@context)assert/@test)