Record an expense
expense_recordCreate or replace a business expense using expense_id, optionally linked to a client. Linked billables update atomically and cannot change once reserved or invoiced. billable_amount_minor also creates one linked billable item atomically; do not record it again.
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": {
"request_id": "<request_id>",
"vendor": "<vendor>",
"category": "<category>",
"description": "<description>",
"incurred_on": "<incurred_on>",
"cost_minor": "<cost_minor>"
},
"name": "expense_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vendor | Yes | ||
| category | Yes | ||
| client_id | No | ||
| reference | No | ||
| cost_minor | Yes | ||
| expense_id | No | ||
| request_id | Yes | Stable ID for this action; reuse only for identical retries. | |
| business_id | No | Omit for your own business; use businesses_list for shared business IDs. | |
| description | Yes | ||
| incurred_on | Yes | ||
| billable_amount_minor | No |