Cancel an invoice series
Stop an active series.
Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.
^le_[a-zA-Z0-9]+$Path Parameters
Series id with the inv_series_ prefix.
Response
The cancelled series.
Issues the same invoice to a customer on a schedule. Each invoice is created scheduled ahead of its send date, is sent at 9:00 in the series' timezone, and then behaves like any other invoice. All amounts are in USD.
Series id with the inv_series_ prefix.
"inv_series_2rj4l7hmrrrcv"
See How a series works.
active, ended, cancelled The account payments settle into, with the sa_group_ prefix.
Which days the series issues an invoice on.
- Weekly
- Monthly on a date
- Monthly on a weekday
The first day the series can issue an invoice on.
The IANA timezone the series' dates are in.
"America/New_York"
Each invoice is due this many days after it's issued.
When the series stops issuing invoices.
- Never
- After a number of invoices
- On a date
Each invoice's amounts.
Customer id with the le_cus_ prefix.
The virtual account payments settle into, with the subaccount_ prefix. Absent when they settle into the account's primary virtual account.
Taken off the line items' subtotal before tax.
- Percentage
- Fixed
Tax as a percent of the subtotal after the discount.
When the next invoice goes out. Only on active series.
The next invoice, already created as scheduled, with the inv_ prefix. Only on active series.