Element 'ram:LanguageID' may occur at maximum 1 times.
ram:LanguageID occurs more than once under rsm:ExchangedDocument. At most one such element is allowed in this context.
The limit prevents conflicting or repeated language declarations at this location in the invoice document data.
The invoice document data contain ram:LanguageID more than once. Remove the duplicate so that the element occurs only once there.
- Find the repeated
ram:LanguageIDelements underrsm:ExchangedDocument. - Leave no more than one
ram:LanguageIDelement there. - Generate the invoice again and validate it.
<rsm:ExchangedDocument> <ram:LanguageID>de</ram:LanguageID> <ram:LanguageID>en</ram:LanguageID> </rsm:ExchangedDocument>
<rsm:ExchangedDocument> <ram:LanguageID>de</ram:LanguageID> </rsm:ExchangedDocument>
Technical details
The test counts the direct child elements ram:LanguageID of rsm:ExchangedDocument and allows no more than one.
The rule applies directly under rsm:ExchangedDocument in the invoice document data.
rule/@context)assert/@test)