Value of '@format' is not allowed.
The value of the @format attribute on udt:DateTimeString is neither empty nor included in the code list used for this date field.
When provided, the format indicator must match a value allowed by the associated code list.
The format indicator on the issue date is not included in the associated code list. You can change the value or leave the attribute empty.
- Find
udt:DateTimeStringin the issue date. - Check the value of
@formatagainst the code list for date formats. - Use a value included in that list or leave
@formatempty. - Generate the invoice again and validate it.
Technical details
The test accepts an empty resolved code value or a value from the enumeration for code list ID 3.
The rule checks the @format attribute of the udt:DateTimeString element for the document issue date.
rule/@context)assert/@test)