Skip to main content
POST
Create or update a recurring invoice template

Authorizations

Authorization
string
header
required

Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....

Body

application/json
name
string
required
cadence_months
integer
required

Count of cadence steps between issues.

next_issue_date
string
required

Next issue date, YYYY-MM-DD.

draft
object
required

Input for creating or updating a sales-invoice draft. All money in integer cents; dates YYYY-MM-DD.

customer_id
string

Target company. Optional for API keys.

template_id
string

Existing template to update; omit to create.

cadence_unit
enum<string>

What the count counts. Defaults to month.

Available options:
week,
month

Response

Template created or updated.

The response is of type object.