Create recurring expense
crunch_create_recurring_expenseCreates a recurring expense template with supplier details, line items, and a schedule so Crunch automatically generates future expenses on the specified dates.
Instructions
Set up a recurring expense: a template expense (supplier, lines, optional payment method) that Crunch creates automatically on a schedule. Schedule values are Crunch's own; look at an existing one with crunch_get_recurring_expense if you're unsure of the names.
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": {
"line_items": "<line_items>",
"recurrence": "<recurrence>"
},
"name": "crunch_create_recurring_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Internal note | |
| extra | No | Additional raw ExpenseDto fields, using Crunch's own field names (advanced). Merged last. | |
| dry_run | No | Preview: return the request that would be sent (for an update, the fields that would change) without sending it | |
| line_items | Yes | One or more lines, each with its own expense type, VAT type and amount | |
| recurrence | Yes | The schedule | |
| supplier_id | No | Supplier ID (see crunch_list_suppliers). Give this or supplier_name. | |
| posting_date | No | Date on the template expense (defaults to the first occurrence) | |
| supplier_name | No | Instead of supplier_id: the supplier's exact name | |
| payment_method | No | Payment method for the created expenses, for example EFT | |
| bank_account_id | No | Bank account the payments come from | |
| create_supplier | No | With supplier_name: create the supplier if it doesn't exist yet (default false) | |
| supplier_reference | No | The supplier's invoice or receipt number |