Element 'ram:Content' may occur at maximum 1 times.
The same ram:IncludedNote contains ram:Content more than once.
A note contains no more than one content element in ram:Content. Multiple occurrences do not conform to the structure checked by this rule.
A note associated with the invoice line document contains multiple ram:Content elements. The structure allows at most one in each ram:IncludedNote.
- Combine the note’s content into a single
ram:Contentelement. - Regenerate the invoice and validate it again.
<ram:IncludedNote> <ram:Content>Erster Inhalt</ram:Content> <ram:Content>Zweiter Inhalt</ram:Content> </ram:IncludedNote>
<ram:IncludedNote> <ram:Content>Inhalt des Hinweises</ram:Content> </ram:IncludedNote>
Technical details
The test counts the ram:Content elements within the current ram:IncludedNote and allows no more than one.
The rule applies to the content of a note (ram:IncludedNote) associated with the invoice line document.
rule/@context)assert/@test)