Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times.
A ram:AdditionalReferencedDocument contains more than one ram:AttachmentBinaryObject. This element may occur at most once there.
The binary object contains the attachment for the additional referenced document. Multiple binary objects at this location do not conform to the intended XML structure.
More than one binary attachment is entered for an additional referenced document on an invoice line. Use no more than one ram:AttachmentBinaryObject there.
- Find the affected
ram:AdditionalReferencedDocumenton the invoice line. - Leave no more than one
ram:AttachmentBinaryObjectin it. - Generate the invoice again and validate it.
<ram:AdditionalReferencedDocument> <ram:AttachmentBinaryObject>fichier 1</ram:AttachmentBinaryObject> <ram:AttachmentBinaryObject>fichier 2</ram:AttachmentBinaryObject> </ram:AdditionalReferencedDocument>
<ram:AdditionalReferencedDocument> <ram:AttachmentBinaryObject>fichier</ram:AttachmentBinaryObject> </ram:AdditionalReferencedDocument>
Technical details
The check counts child ram:AttachmentBinaryObject 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)