delete_expense
Remove draft expenses from the Odoo system by providing the expense ID. This tool helps maintain accurate financial records by allowing deletion of unsubmitted expense entries.
Instructions
Delete an expense (only if in draft state).
Args:
expense_id: ID of expense to delete
Returns:
Deletion confirmation
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": "delete_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expense_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |