Attribute '@filename' is required in this context.
The @filename attribute is missing from ram:AttachmentBinaryObject.
The @filename attribute contains the name of the binary attachment file. Without this attribute, the file name is not provided in the XML structure.
The file attachment for the referenced document with the value 916 is missing its file name. Add the @filename attribute to ram:AttachmentBinaryObject.
- Find the
ram:AttachmentBinaryObjectin the referenced document with theram:TypeCodevalue916. - Add the
@filenameattribute there. - Generate the invoice again and validate it again.
Technical details
The rule checks whether the @filename attribute is present on ram:AttachmentBinaryObject.
On the ram:AttachmentBinaryObject of the ram:AdditionalReferencedDocument whose ram:TypeCode has the value 916.
rule/@context)assert/@test)