Value of 'ram:TypeCode' is not allowed.
The value of ram:TypeCode is not empty and is not one of the codes allowed for this element.
ram:TypeCode specifies the kind of additional referenced document. A non-empty value must belong to the designated code list.
The value in ram:TypeCode is not included in the allowed code list. You can identify the document type using a code from that list.
- Check the value of
ram:TypeCodein the relevantram:AdditionalReferencedDocument. - Replace any disallowed value with a code from the designated code list.
- Regenerate the invoice and validate it again.
Technical details
The test accepts either an empty value or a value listed in code list 22.
The rule applies to ram:TypeCode of an additional referenced document at document level with the value 50.
rule/@context)assert/@test)