Viridem icon

Viridem

Interact's with Viridem

Actions77

Expenses → Update Expense

AI-generated

Overview

This node updates an existing expense record in the Viridem system. It is useful for scenarios where you need to modify details of an expense, such as correcting amounts, updating descriptions, or changing associated company information. For example, a finance team could use this node to automate the update of expense reports after receiving additional information or corrections.

Use Case Examples

  1. Updating the amount and description of an expense for a specific company.
  2. Correcting the company ID associated with an expense record.

Properties

Name Meaning
Company Id The identifier of the company to which the expense belongs. This is required to specify the context of the expense being updated.
Id The unique identifier of the expense to update. This is required to specify which expense record should be modified.
Request Options Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and request timeout. These options help manage how the update requests are sent and handled.

Output

JSON

  • id - The unique identifier of the updated expense.
  • companyId - The identifier of the company associated with the updated expense.
  • status - The status of the update operation, indicating success or failure.
  • message - Additional information or error messages related to the update operation.

Dependencies

  • Viridem OAuth2 API credential for authentication

Troubleshooting

  • Ensure that the Company Id and Expense Id are correctly specified and exist in the Viridem 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 and you trust the server, enable the 'Ignore SSL Issues' option to bypass certificate errors.
  • Verify that the OAuth2 API credentials are correctly configured and have the necessary permissions to update expenses.

Discussion