freeagent_update_expense
Update an existing FreeAgent expense by ID, changing details such as category, project, date, description, gross value, tax rate, receipt reference, or attached receipt.
Instructions
Update an existing expense in FreeAgent
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"expense_id": "<expense_id>"
},
"name": "freeagent_update_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project URL to associate with | |
| category | No | Category URL for the expense | |
| dated_on | No | Date of the expense (YYYY-MM-DD) | |
| expense_id | Yes | The ID of the expense to update | |
| description | No | Description of the expense | |
| gross_value | No | Gross value as a decimal string | |
| sales_tax_rate | No | Sales tax rate as a decimal string | |
| attachment_path | No | Path to a local receipt or invoice file to attach (PDF, PNG, JPEG or GIF, max 5MB). Sent in the same request, so the record is never created without its receipt. | |
| receipt_reference | No | Receipt reference for the expense |