Attribute '@format' is required in this context.
The @format attribute is missing from udt:DateTimeString at the start of the period.
The format identifies how to interpret the date value for the start of the period. Without it, the date representation is not explicitly identified.
No format is provided for the start of the billing period. You can resolve this by adding the attribute to the date value.
- Locate
ram:StartDateTimein 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:StartDateTime of the billing period.
rule/@context)assert/@test)