update_expense
Modify an existing card expense by updating its memo, category, budget, department, location, or custom fields to maintain accurate financial records.
Instructions
Update an existing card expense
Input Schema
Name | Required | Description | Default |
---|---|---|---|
budget_id | No | ID of the budget to associate with the expense (optional) | |
category | No | Category of the expense (optional) | |
custom_fields | No | Custom fields to update (optional) | |
department_id | No | ID of the department to associate with the expense (optional) | |
expense_id | Yes | ID of the expense to update | |
location_id | No | ID of the location to associate with the expense (optional) | |
memo | No | Memo text to attach to the expense (optional) |
Input Schema (JSON Schema)
{
"properties": {
"budget_id": {
"description": "ID of the budget to associate with the expense (optional)",
"type": "string"
},
"category": {
"description": "Category of the expense (optional)",
"type": "string"
},
"custom_fields": {
"description": "Custom fields to update (optional)",
"items": {
"properties": {
"key": {
"description": "Key of the custom field",
"type": "string"
},
"value": {
"description": "Value of the custom field",
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"department_id": {
"description": "ID of the department to associate with the expense (optional)",
"type": "string"
},
"expense_id": {
"description": "ID of the expense to update",
"type": "string"
},
"location_id": {
"description": "ID of the location to associate with the expense (optional)",
"type": "string"
},
"memo": {
"description": "Memo text to attach to the expense (optional)",
"type": "string"
}
},
"required": [
"expense_id"
],
"type": "object"
}