Viridem icon

Viridem

Interact's with Viridem

Actions77

Expenses → Delete Attachment Expense

AI-generated

Overview

This node operation deletes an attachment from a specific expense within a company. It is useful in scenarios where you need to manage and clean up expense records by removing unnecessary or outdated attachments. For example, if an expense report has an incorrect or duplicate receipt attached, this operation can be used to delete that attachment.

Use Case Examples

  1. Deleting an incorrect receipt attachment from an expense report.
  2. Removing outdated supporting documents from an expense entry.

Properties

Name Meaning
Company Id The unique identifier of the company to which the expense belongs.
Expense Id The unique identifier of the expense from which the attachment will be deleted.
Attachment Id The unique identifier of the attachment to be deleted from the expense.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to customize the API request behavior.

Output

JSON

  • success - Indicates whether the attachment deletion was successful.
  • message - Additional information or status message about the deletion operation.

Dependencies

  • An API key credential for authenticating with the Viridem API

Troubleshooting

  • Ensure that the Company Id, Expense Id, and Attachment Id are correct and correspond to existing records; otherwise, the deletion will fail.
  • Check network connectivity and proxy settings if requests time out or fail to reach the server.
  • If SSL certificate validation errors occur, consider enabling the option to ignore SSL issues, but be aware of security risks.

Discussion