Viridem icon

Viridem

Interact's with Viridem

Actions77

Expenses → Delete Expense

AI-generated

Overview

This node operation deletes an expense record in the Viridem system. It is useful for scenarios where you need to remove outdated or incorrect expense entries from a company's records. For example, if an expense was entered by mistake or needs to be retracted, this operation allows you to delete it by specifying the company ID and the expense ID.

Use Case Examples

  1. Deleting an expense entry by providing the company ID and the expense ID to keep the financial records accurate.
  2. Automating cleanup of expense records that are no longer valid or were duplicated.

Properties

Name Meaning
Company Id The unique identifier of the company to which the expense belongs. Required to specify the scope of the expense to delete.
Id The unique identifier of the expense to be deleted. Required to specify which expense record to remove.
Request Options Additional settings for the request such as batching, SSL certificate validation, proxy configuration, and timeout settings to control how the API request is made.

Output

JSON

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

Dependencies

  • Requires an API key credential for authentication to the Viridem API.

Troubleshooting

  • Ensure the company ID and expense ID are correct and exist in the system to avoid 'not found' errors.
  • Check network connectivity and proxy settings if requests time out or fail to reach the server.
  • If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of security risks.
  • Verify that the API credentials are valid and have sufficient permissions to delete expenses.

Discussion