create_expens
Create new expense entries in Bexio with required fields like payment date, currency, amount, and attachments.
Instructions
Create new Expense
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": {
"paid_on": "<paid_on>",
"currency_code": "<currency_code>",
"amount": "<amount>",
"attachment_ids": "<attachment_ids>"
},
"name": "create_expens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| amount | Yes | Maximum of 17 digits and maximum of 2 decimal digits. | |
| tax_id | No | ||
| address | No | Address | |
| paid_on | Yes | ||
| supplier_id | No | ||
| currency_code | Yes | ||
| exchange_rate | No | Required when 'currency_code' is different from 'base_currency_code' (taken from settings). Maximum of 5 digits and maximum of 10 decimal digits. | |
| attachment_ids | Yes | List of file ids that should be attached to this Expense. Cannot have duplicates. | |
| bank_account_id | No | ||
| booking_account_id | No | ||
| base_currency_amount | No | Required when 'currency_code' is different from 'base_currency_code' (taken from settings). Maximum of 17 digits and maximum of 2 decimal digits. |