Value of 'ram:TypeCode' is not allowed.
The value in ram:TypeCode is neither empty nor included in the code list identified by 51. Therefore, the specified document type code is not allowed.
A document type code must conform to the designated code list so that the type of referenced document can be identified unambiguously. An empty value is also permitted.
The value in ram:TypeCode is not included in the designated code list. You can resolve this by entering an allowed value or leaving the element empty.
- Check the value in
ram:TypeCode. - Use only a value from the designated code list, or leave the element empty.
- Generate the invoice again and validate it once more.
Technical details
The test accepts an empty value or a value listed in the external code list FACTUR-X_EXTENDED_codedb.xml under list identifier 51.
The rule applies to ram:TypeCode in the referenced document of the settlement.
rule/@context)assert/@test)