Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times.
The ram:AdditionalReferencedDocument with type code 916 contains more than one ram:AttachmentBinaryObject element.
ram:AttachmentBinaryObject contains the file attachment for the embedded document. It may occur at most once for this reference.
More than one ram:AttachmentBinaryObject element is recorded for the embedded document. You can limit the file entry to one element.
- Keep no more than one
ram:AttachmentBinaryObjectelement in the relevantram:AdditionalReferencedDocument. - Generate the invoice again and validate it once more.
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:AttachmentBinaryObject>QQ==</ram:AttachmentBinaryObject> <ram:AttachmentBinaryObject>Qg==</ram:AttachmentBinaryObject> </ram:AdditionalReferencedDocument>
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:AttachmentBinaryObject>QQ==</ram:AttachmentBinaryObject> </ram:AdditionalReferencedDocument>
Technical details
Within this context, the number of direct ram:AttachmentBinaryObject elements is counted; zero or one is allowed.
The rule applies to ram:AttachmentBinaryObject in an ram:AdditionalReferencedDocument with type code 916.
rule/@context)assert/@test)