Skip to main content
POST
Validate taxes on a billing schedule

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-07-30

Body

application/json
customerId
string
required

Customer ID

Example:

"cca32597-b6b0-4499-9669-128aef8702e4"

startDate
string
required

Start date

Example:

"2022-01-01"

taxRates
object[]
required

Tax Rate for each Product

Example:
autoIssueInvoices
boolean
required

Auto-issue invoices for this billing schedule

Example:

false

isDraft
boolean
required

Create in draft status

Example:

true

rollUpBilling
boolean
required

Toggles Roll-up billing

Example:

false

phases
object[]
required

Phases

Example:
endDate
string

End date. A null end date denotes an open-ended schedule.

Example:

"2022-12-31"

recurrenceDayOfMonth
integer<int32>

Recurrence day of month

Example:

1

purchaseOrderNumber
string

Optional purchase order number to be added to invoices

Example:

"PO123"

reference
string

Optional reference to be added to invoices

Example:

"Example reference"

label
string

Optional label

Example:

"Example label"

paymentProvider
enum<string>

Payment provider to set up collection for

Available options:
STRIPE,
GOCARDLESS,
NONE
Example:

"STRIPE"

attachmentAssetIds
string[]

IDs of assets that are attached to this schedule

Example:
autoCharge
boolean

Automatically collect payments if payment details are available

Example:

true

defaultDueDateDays
integer

Default number of days between invoice issue date and due date. Overrides any invoice level set default due date

Example:

30

memo
string

Billing schedule memo. Overrides any invoice level set memo

Example:

"Example Billing Schedule"

customFields
object

Custom key-value fields for this billing schedule

Example:

Response