Create or update a recurring invoice template
Creates a recurring invoice template (or updates one via template_id). cadence_months is an integer number of months between issues; draft carries the same shape as the invoice-draft input (integer cents, basis points, decimal-string quantities). Requires a write-scoped key.
Authorizations
Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....
Body
Months between issues.
Next issue date, YYYY-MM-DD.
Input for creating or updating a sales-invoice draft. All money in integer cents; dates YYYY-MM-DD.
Target company. Optional for API keys.
Existing template to update; omit to create.
Response
Template created or updated.
The response is of type object.