Element 'ram:IncludedNote' may occur at maximum 1 times.
ram:IncludedNote occurs more than once in ram:AssociatedDocumentLineDocument. This element may occur there at most once.
ram:IncludedNote contains a note for the invoice line’s document section. The rule limits the number of these notes to at most one.
The invoice line’s document section contains multiple ram:IncludedNote elements. At most one note is allowed there.
- Find the affected
ram:AssociatedDocumentLineDocument. - Check that it contains no more than one
ram:IncludedNote. - Generate the invoice again and validate it once more.
<ram:AssociatedDocumentLineDocument> <ram:IncludedNote/> <ram:IncludedNote/> </ram:AssociatedDocumentLineDocument>
<ram:AssociatedDocumentLineDocument> <ram:IncludedNote/> </ram:AssociatedDocumentLineDocument>
Technical details
In the context of ram:AssociatedDocumentLineDocument, the rule checks whether the number of direct ram:IncludedNote elements is at most 1.
The rule applies in the invoice line’s document section (ram:AssociatedDocumentLineDocument).
rule/@context)assert/@test)