PUT
/
billing-schedules
/
{billingScheduleId}
/
archive

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-01-01

Path Parameters

billingScheduleId
string
required

Billing Schedule ID

Response

200 - application/json
id
string
required

Billing Schedule ID

sequenceAccountId
string
required

Sequence Account ID

customerId
string
required

Customer ID

status
enum<string>
required

Status

Available options:
DRAFT,
PENDING,
ACTIVE,
SUSPENDED,
CANCELLED,
COMPLETED
startDate
string
required

Start date

endDate
string

End date

taxRates
object[]

Tax Rate for each Product

firstBillingDate
string

First billing date

autoIssueInvoices
boolean
required

Auto-issue invoices for this billing schedule

purchaseOrderNumber
string

Optional purchase order number to be added to invoices

reference
string

Optional reference to be added to invoices

label
string

Optional label

recurrenceDayOfMonth
integer

Recurrence day of month

priceIds
any[]
required

Price IDs

prices
any[]
required

Prices

type
enum<string>
required

Billing schedule type

Available options:
CUSTOM,
PLAN,
PHASES
createdAt
string
required

Created at

updatedAt
string
required

Last updated at

lastInvoiceId
string

ID of the last invoice (if there has been one)

timeTravellerId
string

Time traveller ID

phases
object[]
required

Phases

archivedAt
string

Archived at

rollUpBilling
boolean
required

Roll up billing