Element 'ram:Name' may occur at maximum 1 times.
A ram:AdditionalReferencedDocument contains more than one ram:Name. This element may occur at most once there.
The name identifies the additional referenced document associated with an invoice line. Multiple names at this location do not conform to the intended XML structure.
More than one name is entered for an additional referenced document on an invoice line. You can resolve this by using only one ram:Name there.
- Find the affected
ram:AdditionalReferencedDocumenton the invoice line. - Leave no more than one
ram:Namein it. - Generate the invoice again and validate it.
<ram:AdditionalReferencedDocument> <ram:Name>Nom 1</ram:Name> <ram:Name>Nom 2</ram:Name> </ram:AdditionalReferencedDocument>
<ram:AdditionalReferencedDocument> <ram:Name>Nom</ram:Name> </ram:AdditionalReferencedDocument>
Technical details
The check counts child ram:Name elements and passes when their number is at most one.
The rule applies to ram:AdditionalReferencedDocument of an invoice line in the trade line agreement section.
rule/@context)assert/@test)