Element 'ram:Name' may occur at maximum 1 times.
The relevant ram:AdditionalReferencedDocument contains more than one ram:Name element.
The name of the referenced document can be provided at most once in this structure. Multiple ram:Name elements exceed this requirement.
The name is entered more than once for the referenced document with the value 916. Remove the extra ram:Name elements so that no more than one remains.
- Find the
ram:AdditionalReferencedDocumentwhoseram:TypeCodehas the value916. - Check its
ram:Nameelements and leave no more than one. - Generate the invoice again and validate it again.
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:Name>Document A</ram:Name> <ram:Name>Document B</ram:Name> </ram:AdditionalReferencedDocument>
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:Name>Document A</ram:Name> </ram:AdditionalReferencedDocument>
Technical details
For ram:AdditionalReferencedDocument with ram:TypeCode equal to 916, the number of child ram:Name elements is limited to one.
In the document-level ram:AdditionalReferencedDocument whose ram:TypeCode has the value 916.
rule/@context)assert/@test)