create_expense
Create an expense record for a Guesty listing. Provide listing ID, title, and amount; optionally add date, vendor, category, and currency.
Instructions
Create a new expense record for a listing in Guesty.
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": {
"listingId": "<listingId>",
"title": "<title>",
"amount": "<amount>"
},
"name": "create_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Expense date (YYYY-MM-DD) | |
| title | Yes | Expense title/description | |
| amount | Yes | Expense amount | |
| vendor | No | Vendor/supplier name | |
| category | No | Expense category (e.g., cleaning, maintenance, supplies) | |
| currency | No | Currency code (default USD) | USD |
| listingId | Yes | The listing ID the expense is for |