Value of 'ram:TypeCode' is not allowed.
If ram:TypeCode contains a value that is not in the code list used by this rule, the value is not allowed. An empty value is also accepted by this test.
The code list defines which type codes are accepted for the embedded document reference. This classifies the reference using a defined value.
The supplied ram:TypeCode value is not in the code list allowed by this rule. Use a value from that list or leave the value empty.
- Check the value of
ram:TypeCodein the relevantram:AdditionalReferencedDocument. - Use a value listed in code list
20or leave the value empty. - Generate the invoice again and validate it once more.
Technical details
The test accepts an empty code value or a value listed in code list 20.
The rule checks the value of ram:TypeCode in an ram:AdditionalReferencedDocument for the embedded document.
rule/@context)assert/@test)