Skip to main content
POST
Draft the next invoice from a 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_....

Path Parameters

template_id
string
required

Body

application/json
customer_id
string

Target company. Optional for API keys.

issue_date
string

Override issue date, YYYY-MM-DD.

Response

Template and the drafted invoice.

template
object
draft
object