Attribute '@filename' is required in this context.
The @filename attribute is missing from ram:AttachmentBinaryObject. This attribute is required in this context.
The @filename attribute contains the binary attachment’s filename. Without this attribute, the filename is missing from the XML information.
The filename is missing from ram:AttachmentBinaryObject. Add the required @filename attribute.
- Find the affected
ram:AttachmentBinaryObject. - Add the
@filenameattribute with the filename. - Generate the invoice again and validate it.
<ram:AttachmentBinaryObject>contenu</ram:AttachmentBinaryObject>
<ram:AttachmentBinaryObject filename="document.pdf">contenu</ram:AttachmentBinaryObject>
Technical details
The check requires the @filename attribute to be present on ram:AttachmentBinaryObject.
The rule applies to ram:AttachmentBinaryObject of an additional referenced document on an invoice line.
rule/@context)assert/@test)