namestring required
Display name in the recurring list, e.g. "Retainer Acme GmbH"
interval'weekly' | 'monthly' | 'quarterly' | 'semiannually' | 'yearly' required
nextRunAtstring required
Next date (inclusive) the cron materializes an invoice
anchorDaynumber required
Day-of-month anchor for month-based intervals (Jan 31 → Feb 28 → Mar 31
instead of drifting); set from nextRunAt when the schedule is saved
endDatestring nullable
No runs after this date; null = runs until deactivated
autoFinalizeboolean required
Finalize the created draft immediately (assigns number + artifacts)
autoSendboolean required
Email the finalized invoice to the buyer (requires autoFinalize + buyer email)
lastRunAtstring date-time nullable
lastDocumentIdstring nullable
Most recent document this schedule created
createdAtstring date-time required
updatedAtstring date-time required