PerfexCRM icon

PerfexCRM

Interact with PerfexCRM API

Actions181

Expense → Update

AI-generated

Summary

Update an existing expense in PerfexCRM by specifying its ID and the fields to modify.

Inputs

  • Expense ID (required) — The unique ID of the expense to update.
  • Update Fields — Fields to update on the expense, including amount, billable status, category, currency, customer ID, date, name, note, project ID, taxes, and custom fields.

Output shape

a single JSON object representing the updated expense.

All specified update fields are sent to the API in the request body. Dates and numeric fields are validated and formatted. If the update fails, the operation returns an error object.

Examples

Example 1: Update an expense's amount and note

Set Expense ID to the ID of the expense and Update Fields with new amount and note values.

Discussion