Set recurring invoice
set_recurring_invoiceSet up, update, or disable a recurring schedule on an invoice so it repeats automatically. Pass the invoice id, enabled true/false, and a frequency (with day_of_month or weekday). Set autosend true to email each generated invoice to the client automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| enabled | Yes | ||
| weekday | No | Day of the week (0-6, Sunday=0) to run on, for weekly frequency. Defaults to Monday (1). Ignored for other frequencies. | |
| autosend | No | ||
| frequency | No | How often the document repeats. One of: monthly — Once a month. Set day_of_month (1-31) for the day; defaults to the 1st.; weekly — Once a week. Set weekday (0-6, Sunday=0) for the day; defaults to Monday.; daily — Every day.; yearly — Once a year on the given day_of_month; defaults to the 1st of January.. | |
| day_of_month | No | Day of the month (1-31) to run on, for monthly/yearly frequency. Defaults to the 1st. Ignored for daily/weekly. |