Value of '@format' is not allowed.
The value of the format attribute on qdt:DateTimeString is not included in the code list assigned to this date field. This test also accepts an empty value.
The format code identifies how to interpret the issue date of the referenced document. A code that is not listed does not match a designation intended for this field.
The format code for the referenced document’s issue date is not recognized as an allowed value. You can correct it using the code list that applies to this field.
- Find
ram:InvoiceReferencedDocumentand itsram:FormattedIssueDateTimecontainingqdt:DateTimeString. - Compare the
formatattribute value with the code list that applies to this field. - Replace any unlisted value with an allowed value.
- Generate the invoice again and validate it.
Technical details
The test accepts an empty value or a value listed in code list 33; a non-empty value that is not listed fails.
This rule applies to the format attribute of the date in qdt:DateTimeString under ram:FormattedIssueDateTime within ram:InvoiceReferencedDocument.
rule/@context)assert/@test)