Value of 'ram:SubjectCode' is not allowed.
The value of ram:SubjectCode is empty or is not listed as an allowed subject code in the code list.
An allowed subject code assigns the note to an intended category. An empty or unlisted code cannot assign a valid category to the note.
The note’s subject code is empty or is not included in the allowed code list. You can check the note’s value against the designated code list.
- Check the value of
ram:SubjectCodein the affectedram:IncludedNote. - Make sure the value is not empty and appears in the allowed code list.
- Generate the invoice again and validate it.
Technical details
The test checks whether $codeValue4 is empty or occurs as an @value in codedb/cl[@id=4]/enumeration from the externally referenced code list.
This rule applies to ram:SubjectCode in an ram:IncludedNote note within rsm:ExchangedDocument.
rule/@context)assert/@test)