Get invoice, dunning, payment-reminder, portal-cancellation and accounting settings
curl --request GET \ --url https://example.com/api/v1/invoice-settings \ --header 'Authorization: Bearer <token>'Returns the workspace’s tax rate, default payment terms, unpaid-subscription dunning schedule, payment-reminder schedule (with the count of overdue invoices the reminders will not reach, how many invoices and companies have their reminders paused, and how many companies have nobody to email), and whether a client may cancel their own subscription from the portal. It also returns collectImportedInvoices, whether invoices imported from another system are collected in Chelsea or left to that system, the default hourly rate and how invoices are numbered: invoicePrefix, invoiceStartingNumber, invoiceNumberingMode and nextInvoiceNumber, the number the next invoice takes (in COMPANY mode it shows the placeholder company prefix ACME, since no company is chosen yet). Requires the invoices.manage permission.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The workspace’s invoice settings.
object
A workspace’s invoice, dunning, imported-invoice collection, payment-reminder, portal-cancellation and accounting-default settings.
object
Ordered column keys of the accounting lines export (CSV and XLSX). Empty uses the standard columns. Keys: issueDate, number, company, status, currency, rowType, description, service, quantity, rate, amount, revenueAccountCode, revenueAccountName, periodStart, periodEnd, className, accountingComplete.
Whether a priced invoice line needs a class team besides its revenue account to count as accounting complete. Turn it off for a workspace that books revenue accounts without classes.
How addresses print on invoices, the workspace’s own and the billed company’s alike, on the invoice page, its public link and its PDF: ONE_LINE joins an address’s lines with commas, MULTI_LINE keeps them as typed.
Whether an invoice imported from another system (importedFrom set) is collected in Chelsea. True by default. False leaves it to that system: its public page, the portal and paymentUrl take no online payment, no card on file is charged for it and no payment reminder is sent; a payment staff record by hand is still accepted.
The workspace’s standard hourly rate; new services take it as their base hourly rate. Null means none is set.
How many days after its issue day a company’s first invoice is due by default, 0 to 365; 7 unless changed. A company’s invoices after its first one (drafts included; on the same issue day the one created first) follow its own payment terms, else paymentTermsDays.
The note every invoice issued in Chelsea prints after its own notes, such as bank transfer details. An invoice with importedFrom set keeps its own notes and prints none. Null prints none.
How invoices are numbered: YEARLY (“Number invoices sequentially each year”) gives PREFIX-YYYY-NNN and restarts every year; WORKSPACE (“Number invoices sequentially across the workspace”) gives PREFIX-N in one series; COMPANY (“Number invoices sequentially for each company”) gives PREFIX-<COMPANY PREFIX>/NNNN with one series per company, so an invoice for a company with no prefix cannot be numbered, and switching to it is refused while active companies have no prefix. Changing it never renumbers existing invoices.
The text every invoice number opens with, 1 to 8 characters, stored uppercase. Changing it never renumbers existing invoices.
The number the series starts at, 1 to 999999999. The next invoice takes the larger of this and the highest number already in the series plus one, imported invoices included. Changing it never renumbers existing invoices.
The fields a service fills on an invoice line that stay locked until a change is made on purpose, in catalog order: account, class, period, description. A request that changes a locked field of a service line must carry exception: true. Custom lines are never locked; a lock never applies to a line already saved.
The number the next invoice takes under the saved numbering. In COMPANY mode no company is chosen yet, so it shows the pattern with the placeholder company prefix ACME at the starting number, such as INV-ACME/0001. Read-only.
Companies that follow a reminder schedule of their own instead of this one; set on the company with PATCH /clients/{id}.
Days after an invoice’s due date, in the workspace timezone, of the first reminder.
Whether unpaid invoices are followed up by email with the invoice link and PDF. Off by default; turning it on never reminds invoices whose reminder date is already past.
ISO 8601 instant the reminders were last switched on; a reminder dated before it is never sent. Null while they are off.
Most reminders one invoice receives when they repeat.
Companies with open invoices issued from Chelsea where nobody can be emailed: no billing email, no active portal contact, and an open invoice addressed to nobody the email can reach (no contact, a revoked contact or an inactive member). Fix it with billingEmails on PATCH /clients/{id} or by choosing the invoice’s contact.
Companies whose payment reminders are paused, which stops them for every invoice they have.
Open invoices issued from Chelsea whose payment reminders are paused individually.
Days between repeat reminders while the invoice stays unpaid; 0 sends one.
Whether a client’s reply to a reminder reaches the order’s conversation, which needs the workspace to receive email.
Currently overdue invoices the reminders will not reach because their reminder dates are already past.
How many days after the issue date an invoice is due by default.
Whether a client may cancel their own subscription from the portal. Gated by settings.manage, not invoices.manage — see PATCH’s description.
Days after the due date on which an unpaid subscription is retried off-session.
The hour sizes the service editor offers as one-click packages, ascending.
Whether an invoice, its PDF, its public link and the portal show the list rate crossed out when the company’s rate is lower.
Days after a cycle invoice’s due date before an unpaid subscription is suspended.
Whether an unpaid subscription’s order is suspended past the grace period.
Example
{ "data": { "addressLayout": "ONE_LINE", "invoiceNumberingMode": "YEARLY" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC