Element 'ram:SubjectCode' may occur at maximum 1 times.
An ram:IncludedNote contains more than one ram:SubjectCode element. A note may contain at most one subject code.
This limit ensures that no more than one subject code is assigned to a note.
A note contains more than one subject code. You can resolve this by limiting the number of ram:SubjectCode elements to one.
- Find the affected
ram:IncludedNote. - Remove any extra
ram:SubjectCodeelements from it. - Generate the invoice again and validate it.
<ram:IncludedNote> <ram:SubjectCode/> <ram:SubjectCode/> </ram:IncludedNote>
<ram:IncludedNote> <ram:SubjectCode/> </ram:IncludedNote>
Technical details
Within ram:IncludedNote, the number of direct ram:SubjectCode elements is checked to be no greater than one.
The rule applies to each ram:IncludedNote note in the document.
rule/@context)assert/@test)