Attribute '@format' is required in this context.
The format attribute is missing from the udt:DateTimeString element for the period start date.
The format attribute identifies the format used for the content of udt:DateTimeString. Without it, the date representation cannot be interpreted by its format.
The udt:DateTimeString for the period start date has no format information. Add the missing attribute so that the date representation is specified.
- Locate
udt:DateTimeStringunderram:StartDateTimeinram:BillingSpecifiedPeriod. - Add the
formatattribute toudt:DateTimeStringwith an allowed value. - Generate the invoice again and check it.
Technical details
The test checks whether the format attribute is present on udt:DateTimeString.
The rule applies to the udt:DateTimeString date field for the period start in ram:BillingSpecifiedPeriod of an invoice line.
rule/@context)assert/@test)