Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times.
The relevant ram:AdditionalReferencedDocument contains more than one ram:AttachmentBinaryObject element.
The XML structure allows at most one ram:AttachmentBinaryObject, and therefore at most one such attachment, for this referenced document.
More than one file attachment is included for the referenced document with the value 916. Leave no more than one ram:AttachmentBinaryObject.
- Find the
ram:AdditionalReferencedDocumentwhoseram:TypeCodehas the value916. - Check its
ram:AttachmentBinaryObjectelements and leave no more than one. - Generate the invoice again and validate it again.
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:AttachmentBinaryObject/> <ram:AttachmentBinaryObject/> </ram:AdditionalReferencedDocument>
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:AttachmentBinaryObject/> </ram:AdditionalReferencedDocument>
Technical details
For ram:AdditionalReferencedDocument with ram:TypeCode equal to 916, the number of child ram:AttachmentBinaryObject elements is limited to one.
In the document-level ram:AdditionalReferencedDocument whose ram:TypeCode has the value 916.
rule/@context)assert/@test)