Element 'ram:Content' may occur at maximum 1 times.
A ram:IncludedNote contains more than one direct child ram:Content element.
The note is represented by at most one content element. Multiple ram:Content elements in the same note exceed the structure allowed by this rule.
A note contains multiple ram:Content elements. The note can be sent with no more than one such element.
- Find the affected
ram:IncludedNotein the document header. - Keep no more than one
ram:Contentelement in it. - Generate the invoice again and validate it.
<ram:IncludedNote> <ram:Content>Première partie</ram:Content> <ram:Content>Deuxième partie</ram:Content> </ram:IncludedNote>
<ram:IncludedNote> <ram:Content>Contenu de la note</ram:Content> </ram:IncludedNote>
Technical details
Within ram:IncludedNote, the number of direct ram:Content children is checked and limited to one.
The rule applies to ram:Content elements within a ram:IncludedNote in the document header.
rule/@context)assert/@test)