Attribute '@format' is required in this context.
The @format attribute is missing from udt:DateTimeString.
The format identifies how the date and time value is to be interpreted. Without it, the representation of the billing period start is not clearly identified.
The billing period start contains a date and time value without a format specification. You can add the specification to identify the value clearly.
- Add the
@formatattribute toudt:DateTimeStringunderram:StartDateTime. - Generate the invoice again and validate it once more.
Technical details
The test checks directly on the context node whether the @format attribute is present.
The rule applies to udt:DateTimeString under ram:StartDateTime of an invoice line’s billing period.
rule/@context)assert/@test)