Update recurring invoice
update_recurring_invoiceChanges a recurring invoice: how often, the next date (a new cadence counts from it), endAfter (null = no end), what happens to each new invoice, the days to pay, or pauses it (active false) and resumes it (active true; dates missed while paused are skipped). The lines stay as they were copied. Pausing needs nothing more; a change after which new invoices are sent or emailed needs confirm: true, and without it the result is a preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| every | No | 1 to 12. | |
| action | No | ||
| active | No | false pauses it, true resumes it. | |
| confirm | No | true performs the action. Without it (or with any value other than the boolean true) nothing changes and the result is a preview of the effects. | |
| endAfter | No | Invoices left to make, 1 to 500; null = no end. | |
| interval | No | ||
| nextDate | No | The new next date, today or later, YYYY-MM-DD. | |
| recurringId | Yes | The recurring invoice. | |
| paymentTermsDays | No |