Element 'ram:Content' must occur exactly 1 times.
ram:Content does not occur exactly once in ram:IncludedNote. The content element is either missing or present more than once.
ram:Content contains the text of the note. Each ram:IncludedNote must have exactly one content element.
ram:Content is missing from the line note or appears more than once. Each note needs exactly one content element.
- Find the affected
ram:IncludedNote. - Check that it contains exactly one
ram:Content. - Generate the invoice again and validate it once more.
<ram:IncludedNote/>
<ram:IncludedNote> <ram:Content/> </ram:IncludedNote>
Technical details
In the context of ram:IncludedNote, the rule checks whether the number of direct ram:Content elements equals 1.
The rule applies within a note (ram:IncludedNote) in the invoice line’s document section.
rule/@context)assert/@test)