create_smart_expense
Register an expense with smart suggestions for account items and tax codes. Automatically categorize based on description and amount.
Instructions
Create expense with smart suggestions for account items and tax codes. Use this for easier expense creation.
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": {
"company_id": "<company_id>",
"amount": "<amount>",
"description": "<description>"
},
"name": "create_smart_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Expense amount | |
| company_id | Yes | Company ID (use suggest_company first if unknown) | |
| description | Yes | Expense description | |
| expense_type | No | Type of expense for smart categorization. If not provided, will be auto-detected from description. | |
| transaction_date | No | Transaction date (YYYY-MM-DD), defaults to today |