Value of '@format' is not allowed.
The value of the format attribute does not match a value listed in the code list identified by 17. An empty value is excluded from this check.
An allowed format code is required so that the issue date of the referenced despatch advice can be interpreted according to the indicated format.
The format code for the despatch advice’s issue date was not found in the relevant code list. Use a value listed there.
- Find the
formatattribute onqdt:DateTimeStringin the despatch advice’s issue date. - Compare its value with the allowed entries in the code list for this format code.
- 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 present as enumeration/@value under cl with id equal to 17 in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to the format attribute of qdt:DateTimeString in the issue date of the referenced despatch advice.
rule/@context)assert/@test)