Value of '@format' is not allowed.
The value of the @format attribute on udt:DateTimeString is not in the designated code list. The test accepts a missing or empty value.
@format indicates how the content of udt:DateTimeString is to be interpreted. A format code that is not permitted cannot be classified using the designated code list.
The format on the due date does not match the designated code list. You can change or omit the attribute.
- Find
udt:DateTimeStringunderram:DueDateDateTimein the payment terms. - Check the value of the
@formatattribute. - Use a value from the designated code list, or omit the
@formatattribute or leave it empty. - Generate the invoice again and validate it again.
<ram:DueDateDateTime> <udt:DateTimeString format="INVALID-CODE">20261115</udt:DateTimeString> </ram:DueDateDateTime>
<ram:DueDateDateTime> <udt:DateTimeString>20261115</udt:DateTimeString> </ram:DueDateDateTime>
Technical details
The test accepts an empty value or a value from code list cl with ID 3.
The rule applies to udt:DateTimeString under ram:DueDateDateTime in the payment terms.
rule/@context)assert/@test)