Value of 'ram:TypeCode' is not allowed.
If ram:TypeCode has a value, it must be listed in the value list used by this rule. A value not listed there is not allowed; an empty value also satisfies this check.
The code identifies the type of referenced document. The value list ensures that this information is represented consistently using defined values.
The specified document type code is not included in the value list used by this rule. Use a value listed there or leave the element value empty.
- Check the value of
ram:TypeCode. - Replace a value not listed in the value list used by this rule with a listed value, or leave the element value empty.
- Generate the invoice again and validate it.
<ram:TypeCode/>
Technical details
The test accepts an empty element value or a value present in enumeration 18 of the referenced code list.
The rule checks the value of ram:TypeCode on the referenced document on the agreement level of an invoice line.
rule/@context)assert/@test)