Skip to main content
PATCH
Edit recurring invoice schedule

Authorizations

x-dolfin-api-key
string
header
required

An API key issued to your client. It carries the client's scope; org-scoped calls also require the x-dolfin-organisation-id header. Keys are created and revoked by a client administrator.

Headers

x-dolfin-organisation-id
string<uuid>

Target organisation. Required when authenticating with an API key; omit for Bearer callers (resolved from the token).

Path Parameters

id
string<uuid>
required

Body

application/json
memo
null | string
autoSend
null | boolean
paymentTermsDays

Payment terms in days (0-365) applied to future occurrences. Omit to leave unchanged; 0 means due on receipt.

totalOccurrences

Must be at least the number of occurrences already generated. Setting it equal completes the schedule.

startDate
null | string<date-time>

Only editable before the first invoice is generated.

cadence
null | enum<string>

Only editable before the first invoice is generated.

Available options:
Weekly,
Monthly,
Quarterly,
Annually
lineItems
null | object[]

Full replacement of the line-item templates. Affects future occurrences only.

Response

OK

currency
string
required

ISO 4217 currency code (e.g. GBP, USD, EUR)

id
string<uuid>
organisationId
string<uuid>
customerId
string<uuid>
memo
null | string
paymentTermsDays

Payment terms in days applied to every generated invoice. Null means each occurrence uses the organisation's default at generation time.

startDate
string<date-time>
cadence
enum<string>
Available options:
Weekly,
Monthly,
Quarterly,
Annually
totalOccurrences
occurrencesGenerated
nextRunAt
null | string<date-time>

When the next invoice will be generated. Null on Paused, Completed, and Cancelled schedules.

autoSend
boolean
status
enum<string>
Available options:
Active,
Paused,
Completed,
Cancelled
lastGeneratedAt
null | string<date-time>
createdAt
string<date-time>
createdBy
null | string<uuid>
updatedAt
string<date-time>
updatedBy
null | string<uuid>
customer
null | object
lineItems
object[]