Value of '@format' is not allowed.
The non-empty value of the @format attribute is not included in the code list defined for it. An empty value also passes this specific check.
@format specifies the format of the date value. A non-empty value must match the code list defined for this attribute so that the date can be interpreted according to the stated format.
The @format attribute on the date value for the start of the billing period contains a disallowed value. Using a value from the defined code list resolves the issue.
- Check @format on the udt:DateTimeString for the start of the billing period.
- Compare the non-empty attribute value with the codes allowed for the date format.
- Generate the invoice again and validate it again.
Technical details
The check accepts an empty value or a value found in codedb/cl[@id=3]/enumeration.
The rule applies to the @format attribute of udt:DateTimeString at the start of an invoice line’s billing period.
rule/@context)assert/@test)