Business Profile, Tax Rates and Document Numbering
A business workspace has one business
profile: the identity that goes on its quotes and invoices (legal name,
address, tax id, default footer and payment text, logo, document style) and the patterns
its quote and invoice numbers are built from. The profile belongs to business
workspaces only: on a personal workspace every operation below returns 409
WORKSPACE_NOT_BUSINESS.
The profile has no currency. A business workspace uses the workspace's own currency format.
The business also keeps its tax rates: the named sales tax, VAT or GST rates that quote and invoice lines can carry (see Tax rates).
Numbers are assigned when a document is issued or sent. Quotes take theirs when they are sent, from the quote pattern, and invoices when they are issued, from the invoice pattern. Everything on this page, the profile, the patterns, the preview and the next-number controls, is available now.
The profile
GET /v1/workspaces/{workspaceID}/business-profile (get-business-profile)
returns the profile. A business workspace always has one: it is created with the
default numbering patterns the first time it is read.
| Field | Meaning |
|---|---|
legalName | Up to 200 characters. |
address | Free text, up to 1,000 characters; line breaks are kept. |
taxId | Free text, up to 100 characters. Formats differ per country, so nothing validates it. |
phone | Contact phone number printed on documents. Free text, up to 50 characters; not validated or normalized. Empty by default; send an empty string to clear it. |
contactEmail | Contact email address printed on documents. Up to 254 characters; a value that isn't a single valid address (no display name) is rejected with 422 VALIDATION_FAILED. Empty by default; send an empty string to clear it. It is independent of email.replyToAddress: nothing is sent to it and it isn't verified. |
quoteNumberPattern, invoiceNumberPattern | The numbering patterns, below. New workspaces start with Q-{CLIENT}-{NNN} and INV-{CLIENT}-{NNN}. |
defaultFooter, defaultPaymentText | Up to 2,000 characters each. New invoices start with them; an invoice keeps its own copy once issued. |
quoteDefaultTerms | Up to 4,000 characters, the same limit as a quote's terms. New quotes start with these terms when the request leaves terms out; a quote keeps its own copy, and existing quotes never change. Starts empty. |
quoteDefaultFooter, quoteDefaultPaymentText | Up to 2,000 characters each. New quotes start with them; a quote keeps its own copy once sent. They start empty and are never copied from the invoice defaults. |
documentStyle | The look of the business's quotes and invoices. See Document style. |
defaultTerms | The workspace's default payment terms, or null. See Default payment terms. |
taxSetAsideBasisPoints | The share of each client payment to suggest setting aside for taxes, 0 to 10000 (2500 = 25%). Default 0: no suggestion. See Tax set-aside. |
taxSetAsideCategoryId | The category (cat_...) a confirmed set-aside is funded into, or null. |
email | Read-only. How the business's emailed documents and reminders look and who answers them: replyToAddress, replyToVerifiedAt, fromName, showLogo, accentColor, quoteMessage, invoiceMessage, reminderMessage, signOff and the deprecated defaultMessage (same as invoiceMessage). The messages and sign-off take placeholders. Change it with the email settings endpoints. |
logo | The current logo, or null. See Logo. |
Document style
documentStyle is the look of the business's quotes and invoices. It is an
object with these keys, all always present in a response:
| Key | Values | Default |
|---|---|---|
template | classic, modern, compact | classic |
accent | #RRGGBB, stored uppercase | #1E1E1E (Graphite) |
font | noto-sans, noto-serif, inter | noto-sans |
logoPosition | left, right | left |
logoSize | small, medium, large | medium |
invoiceTitle, quoteTitle | Plain text, up to 40 characters, trimmed. Empty uses the default heading in the document's language. A custom title is printed as typed, in every language. | empty |
showBusinessTaxId, showClientTaxId, showReference, showQuantity | true or false | true |
The defaults are the legacy style: what every document looked like before styles existed. A profile that was created earlier reads as the defaults too.
PATCH accepts documentStyle with any subset of the keys; the keys you leave
out keep their value. The accent may be sent as #RGB or #RRGGBB, with or
without the #, in any case, and is stored as uppercase #RRGGBB. A value
outside the lists above, a title over 40 characters (counted in characters) or
one with a line break, or an accent that isn't a hex color returns 422, and
nothing in the request is saved.
Accent contrast
The accent must have a WCAG contrast ratio
of at least 4.5 : 1 against its own 10 % tint (the accent mixed 10 % over
white). That is stricter than the contrast against white, so it keeps accent
text readable on white and white text readable on the accent. A color that
fails returns 422 ACCENT_LOW_CONTRAST, and nothing in the request is saved:
{
"code": "ACCENT_LOW_CONTRAST",
"details": { "suggestedHex": "#87680A", "contrast": 1.5 }
}
suggestedHex is the same color darkened: the HSL lightness is lowered by one
percentage point at a time, keeping hue and saturation, until the color passes.
Sending it back is always accepted. details.contrast is the ratio of the
rejected color, rounded to two decimals. The eight preset accents in the app
(Graphite #1E1E1E, Ocean #1D4ED8, Teal #0F766E, Forest #147A38, Amber
#A84F07, Crimson #B91C1C, Plum #7E22CE, Rose #BE185D) all pass.
Sent and issued documents keep their style
A quote takes a copy of the current style when it is sent and an invoice when it
is issued, in businessSnapshot.style. Changing the style later never changes a
document that was already sent or issued. A draft always uses the current style.
A document sent before styles existed has no businessSnapshot.style, and is
read as the default (legacy) style.
What the style changes on the PDF
Quote and invoice PDFs (get-quote-pdf, get-invoice-pdf, and the PDF behind a
share link) are drawn from the document's frozen style, or, for a draft, the
current one.
| Key | On the PDF |
|---|---|
template | classic is the layout documents have always had, with the heading in the accent color. modern has a full-width accent band with the heading, number and dates, and a boxed total. compact is denser: smaller type and margins, and From, Bill to and details in one row. Page two and later never carry the band, repeat the table header and show "Page x of y". The totals block never sits alone on a page; it moves with at least the last two lines (a document that has no style at all, sent before styles existed, is never rearranged this way). |
accent | The heading, the table header, section headings (not in classic) and the total. |
font | The typeface of the whole document. All three cover Latin, Greek and Cyrillic. |
logoPosition, logoSize | Left or right, and a box of 30 × 12 (small), 45 × 18 (medium) or 62 × 26 mm (large); the logo keeps its proportions. In modern the logo sits below the band. |
invoiceTitle, quoteTitle | Replaces the heading and the word the download file name starts with (Tax_invoice-INV-0042.pdf, with anything that isn't a letter, digit, ., _ or - replaced by _). A heading too wide for its column is shrunk, to about half its size at most, and then wrapped onto a second line. The Draft marker on a draft is never replaced. |
showBusinessTaxId, showClientTaxId, showReference | Hide the business's tax ID, the client's tax ID, and the invoice reference line. The client's address and everything else on the document are never hidden. |
showQuantity | When false, the quantity and unit price columns are left out only if every line of that document is a fixed fee or an item with a quantity of exactly 1. If any line is billed in hours or has another quantity, they stay, so an amount is never unexplained. The discount column is not a setting: it shows only when a line has a discount. |
A quote now also prints its own footer, and its paymentText under a
Payment details heading, as an invoice does. Both are empty on quotes that
had none, so those quotes look the same as before.
A document without a frozen style prints exactly what documents printed before styles existed, byte for byte, so a quote or invoice sent earlier is unchanged when it is opened again. The default style prints the same look; it differs only in that the totals block follows the rule above on a long document.
Preview a style
POST /v1/workspaces/{workspaceID}/business-profile/document-style/preview
(preview-document-style) returns a PDF (application/pdf) of a fixed,
fabricated sample invoice or quote, printed in the style you send, so an editor
can show the result before saving. It uses the workspace's real business name,
address, tax ID and logo, so it looks like the business's own documents; where
the profile has none of these yet, sample values are used. It saves and stores
nothing.
{
"kind": "invoice",
"style": {
"template": "modern", "accent": "#1D4ED8", "font": "inter",
"logoPosition": "left", "logoSize": "medium",
"invoiceTitle": "", "quoteTitle": "",
"showBusinessTaxId": true, "showClientTaxId": true,
"showReference": true, "showQuantity": true
}
}
kind is invoice or quote. style is the complete style: every key is
required. An invalid style returns the same 422 as PATCH, including
ACCENT_LOW_CONTRAST with details.suggestedHex. language is accepted and
reserved: the words the PDF prints are English today. The sample lines all have
a quantity of 1, so showQuantity can be seen working.
Only the owner and admins can use it (403 for other roles, 404 outside the
workspace), it needs the business tools plan like the profile itself (402
otherwise), a personal workspace gets 409 WORKSPACE_NOT_BUSINESS, and an
access token needs the business:write scope. It draws on the workspace's
api.document-style-preview rate limit, one unit a
request. It has a budget of its own, separate from api.document-render, so
previewing never uses up the budget that PDF downloads and emails need. When it
is spent you get 429 with a Retry-After header.
Default payment terms
defaultTerms is the last level of an invoice's
payment terms: an
invoice uses its own terms, else its project's termsOverride, else its
client's defaultTerms, else this. It is null until set, and a workspace
without it behaves as before. The object is the same as a client's
defaultTerms (kind, days,
depositPercent, milestoneLabel, lateFeeText, note) with the same
validation (422 invalidPaymentTermsKind, invalidPaymentTermsDays,
invalidPaymentTermsDeposit or invalidPaymentTermsText), and the response adds
the display label.
On PATCH, defaultTerms replaces the whole object; leave it out to keep the
current terms, or send "clear": ["defaultTerms"] to remove them. A draft
invoice's termsSource is workspace when it resolves here. An issued invoice
freezes the terms in force when it was issued, so changing or clearing the
default never changes it. Only owners and admins can change it, and it needs the
same plan feature as the rest of the profile.
Tax set-aside
taxSetAsideBasisPoints and taxSetAsideCategoryId configure the
tax set-aside suggested for each client
payment. On PATCH, a percentage outside 0 to 10000 returns 422. The category
must be an active category of this workspace that can receive funds (not a
group); anything else returns 422 TAX_SET_ASIDE_CATEGORY_INVALID. Send an
empty string for taxSetAsideCategoryId to clear it. Deleting the category
clears it too. The percentage is the user's own figure, not tax advice.
PATCH /v1/workspaces/{workspaceID}/business-profile (update-business-profile)
changes the fields you send and leaves the rest. Surrounding whitespace is
trimmed. A field over its limit returns 422. A numbering pattern that breaks the
grammar returns 422 DOCUMENT_NUMBER_PATTERN_INVALID, and nothing in the
request is saved.
Everyone who belongs to the workspace can read the profile. Only the owner and
admins can change it or the numbering; other roles get 403, and someone who
doesn't belong to the workspace gets 404.
Changing a pattern affects the documents numbered from then on. A number that was already issued never changes.
Numbering patterns
You choose how your document numbers look. There is no mandatory global counter: with the default patterns each client has its own sequence, so one client's numbers say nothing about how much you invoice everyone else.
A pattern is literal text plus placeholders.
| Placeholder | Meaning |
|---|---|
{YYYY} {YY} | The issue date's year, in the workspace time zone (2026, 26). |
{MM} {DD} | Month and day, two digits. |
{N} {NN} {NNN} … up to 9 N's | The sequence number, zero-padded to the number of N's. A sequence that grows past its width keeps growing (INV-1000 after INV-999). |
{RAND:n} | n random characters, 5 to 12, from an alphabet without look-alikes (I, L, O, U). For users who want no sequence at all. |
{CLIENT} | The client's short code. |
{PROJECT} | The project's short code. |
| Literal text | Letters, digits and - _ / .. |
Examples: INV-{YYYY}-{NNNN} (INV-2026-0007), {CLIENT}-{YY}{MM}-{NNN}
(ACME-2603-042), {CLIENT}/{PROJECT}-{NN} (ACME/WEB-03), Q-{RAND:6}
(Q-7KQ2ZM), and INV-{NNNN} for one plain counter.
Placeholder names are case-sensitive.
Rules
A pattern is rejected, with 422 DOCUMENT_NUMBER_PATTERN_INVALID and a
machine-readable details.reason, when:
details.reason | The pattern… |
|---|---|
empty, too_long | is empty or longer than 40 characters. |
unbalanced_braces | has a { without a } or the reverse, or nests braces. |
unknown_placeholder | names a placeholder that doesn't exist (including a wrong case). |
invalid_character | has a character other than a letter, digit or - _ / . outside a placeholder. Spaces aren't allowed. |
missing_sequence | has neither a {N…} nor a {RAND:n}. |
multiple_sequences | has more than one of them. |
duplicate_placeholder | uses a placeholder twice, or {YYYY} and {YY} together. |
needs_separator | puts {CLIENT}, {PROJECT} or {N…} directly before other text. They must be followed by - _ / . or end the pattern, so that a number can always be read back unambiguously: {CLIENT}{NNN} would render client AB1 number 23 and client AB number 1023 the same. |
date_dependency | has {DD} without {MM}, or {MM} without {YYYY} or {YY}. Otherwise a monthly sequence would silently restart every year. |
rand_length, sequence_width | has {RAND:n} outside 5 to 12, or more than 9 N's. |
rendered_too_long | could produce a number longer than 64 characters. |
details.position is the zero-based offset the problem starts at, or -1 when
it concerns the whole pattern.
Sequences and scopes
The sequence runs independently for every distinct combination of the pattern's other placeholders. That combination is the sequence's scope:
| Pattern | The sequence runs per |
|---|---|
INV-{NNNN} | workspace (one plain counter) |
INV-{YYYY}-{NNNN} | year |
INV-{CLIENT}-{NNN} | client |
{CLIENT}-{YY}{MM}-{NNN} | client and month |
{CLIENT}/{PROJECT}-{NN} | client and project |
Q-{RAND:6} | none: random numbers have no counter |
Within a scope the sequence has no gaps: a document that fails to issue, or a draft that is deleted, never uses up a number, and concurrent issues never get the same one. A void keeps its number. Numbers are unique per workspace and per document type.
Scopes are identified by ids, never by the text on screen, so editing a client's short code never starts a second sequence for that client.
A date placeholder reads the document's issue date, which can't be in the
future and can't be earlier than the latest date already used in that scope
(422 DOCUMENT_ISSUE_DATE_OUT_OF_ORDER), so a sequence stays chronological.
Some jurisdictions require invoice numbers to be unique and sequential within a
series. Per-client, per-year or per-series sequences are accepted practice in
several countries, but rules vary. You choose your pattern and are responsible
for your local rules. This is not tax or legal advice. A single plain counter is
always available: choose INV-{NNNN}.
{RAND:n} numbers are not sequential, so don't choose it if you need a
sequential series.
Preview
POST /v1/workspaces/{workspaceID}/business-profile/numbering/preview
(preview-document-numbering) shows what a pattern would produce, so an editor
can update while the user types. It saves nothing.
{ "docType": "invoice", "pattern": "{CLIENT}-{YY}{MM}-{NNN}" }
Omit pattern to preview the one saved on the profile. The response always has
status 200; a pattern that breaks the grammar comes back as data:
{
"pattern": "{CLIENT}{NNN}",
"valid": false,
"problem": { "reason": "needs_separator", "position": 0, "detail": "…" },
"samples": [], "dimensions": [], "sequential": true, "warnings": [], "existingNumbers": []
}
For a valid pattern, samples holds the next three numbers, using a fabricated
client (ACME) and project (WEB) and today's date in the workspace time zone.
A pattern with no {CLIENT} or {PROJECT} continues from the real counter of
the current scope. dimensions says what the sequence restarts for (year,
month, day, client, project). warnings can hold:
random_not_sequential: the pattern uses{RAND:n}.existing_numbers_match: existing documents already carry numbers in this format (existingNumbershas up to five), so check for a clash before saving.
Setting the next number
If you are moving from another tool, carry your numbering over by setting the next number of a sequence.
PUT /v1/workspaces/{workspaceID}/business-profile/numbering/counters
(set-document-number-next-value):
{ "docType": "invoice", "nextValue": 142 }
The sequence is the one of the profile's current pattern for the document type.
The optional date (YYYY-MM-DD, default today in the workspace time zone),
clientId and projectId pick which scope of the pattern you mean: for
INV-{YYYY}-{NNNN}, the date picks the year. A pattern that uses {CLIENT}
needs the clientId. The sequence is created if it hasn't been used yet.
- Raising the number leaves a deliberate gap. It is recorded in the audit log.
- Lowering it is allowed down to one past the highest value already issued;
below that,
422DOCUMENT_NUMBER_NEXT_VALUE_TOO_LOWwithdetails.minimum. nextValueis from 1 to 999,999,999. A sequence that has issued 999,999,999 returns409DOCUMENT_NUMBER_SEQUENCE_EXHAUSTED: change the pattern so it starts a new sequence.- A
{RAND:n}pattern has no counter to set. - Owner and admins only.
GET …/numbering/counters?docType=invoice (list-document-number-counters)
lists the sequences that exist so far, each with its scopeKey, nextValue,
lastIssuedSequence and lastIssueDate.
If a rendered number is ever already taken (for example by a document you typed
in by hand), issuing fails with 409 DOCUMENT_NUMBER_CONFLICT and the sequence
does not move. Set the next number past it and issue again.
Logo
The logo is an attachment owned by the profile (scopes attachments:read and attachments:write). Upload it
with the normal attachment flow (POST /v1/workspaces/{workspaceID}/attachments,
upload to the returned URL, then POST …/attachments/{attachmentID}/confirm),
with entityType business_profile and the profile's id as entityId.
| Rule | Limit |
|---|---|
| Format | PNG or JPEG, checked from the file's bytes rather than its declared type. |
| Size | 1 MB at most. |
| Dimensions | 2,000 × 2,000 pixels at most, read from the image header before anything decodes it. |
A rejected file returns 422. Confirming a new logo replaces the previous one,
and the profile's logo points at the newest. Only the owner and admins can
upload or remove the logo; editors, viewers and advisors are refused. Uploading
is plan-gated like the rest of the profile: it needs the business_tools feature of
the workspace owner's plan (402 PLAN_FEATURE_REQUIRED), and a workspace that is
read-only because the owner's plan no longer covers it returns 423. Removing the
logo does not check the business_tools feature. A read-only workspace refuses it with
423, unless attachment storage is the only limit exceeded, because deleting
attachments is how you get back under that limit. The logo counts toward the
workspace's attachment storage like any other attachment. Download it with the attachment endpoints.
Tax rates
A business keeps a list of named tax rates, such as "VAT 20%" or "Sales tax NY 8.875%". A line on a quote or an invoice points at one rate, and the document adds the tax on top of the prices you entered. Rates are tax-exclusive only: every price and amount you send is before tax.
Budget Thing adds the tax you choose. It doesn't check which rates or invoice rules apply to you. This isn't tax advice.
Tax rates are managed through the API for now; the app gets tax rate settings in an upcoming update.
| Operation | Request |
|---|---|
list-tax-rates | GET /v1/workspaces/{workspaceID}/business-profile/tax-rates. Takes includeArchived (default false). Returns { "rates": [...] } in display order. |
create-tax-rate | POST to the same path. Returns 201. |
update-tax-rate | PATCH .../tax-rates/{rateId}. Only the fields you send change. |
archive-tax-rate | POST .../tax-rates/{rateId}/archive. Idempotent. |
unarchive-tax-rate | POST .../tax-rates/{rateId}/unarchive. Idempotent. |
delete-tax-rate | DELETE .../tax-rates/{rateId}. Returns 204. |
{
"id": "txr_...",
"name": "VAT",
"percentE4": 200000,
"isDefault": true,
"position": 0,
"createdAt": "2026-04-01T10:00:00Z",
"updatedAt": "2026-04-01T10:00:00Z"
}
| Field | Meaning |
|---|---|
id | The rate ID, txr_.... |
name | Printed on documents. 1 to 40 characters, trimmed, unique among the active rates without regard to case (409 TAX_RATE_NAME_TAKEN). |
percentE4 | The percent in ten-thousandths: 20% is 200000 and 8.875% is 88750. From 0 to 1000000 (0% to 100%); an amount outside that, or a bad name, is 422 TAX_RATE_INVALID. 0 is valid, for a zero-rated line that should still print a rate. |
isDefault | The workspace has at most one active default. Setting isDefault to true clears the previous one; false clears it. Archiving the default clears it. New lines created without a taxRateId get the default rate; see Tax on lines. |
position | Display order, from 0. A new rate goes to the end; PATCH can set it. |
archivedAt | Set when the rate is archived; omitted otherwise. |
createdAt, updatedAt | Timestamps. |
create-tax-rate takes name, percentE4 and an optional isDefault.
update-tax-rate takes any of name, percentE4, isDefault and position.
Rules
- Limit. A workspace has up to 20 active rates (
422TAX_RATE_LIMIT). Archived rates don't count, and unarchiving a rate at the limit is refused the same way. - Edit any time. Changing a rate's name or percent is always allowed. Draft quotes and invoices follow the live rate. An issued invoice or a sent quote keeps the name and percent it froze, so an edit never changes it.
- Archive instead of delete. An archived rate isn't offered for new lines.
A draft with a taxed line on an archived rate can't be issued or sent
(
422TAX_RATE_ARCHIVED) until the line moves to an active rate or to no tax. Unarchiving fails with409TAX_RATE_NAME_TAKENwhen an active rate has taken the name. - Delete only when unused. A rate that a quote line, an invoice line or a
recurring schedule line uses returns
409TAX_RATE_IN_USE; archive it instead. An unknown ID, or one from another workspace, is404TAX_RATE_NOT_FOUND. - Who can write. Creating, changing, archiving, unarchiving and deleting
are for the owner and admins (
403for other roles). Everyone in the workspace can read.
Rates are read with the business:read token scope and
written with business:write. Writes need the business_tools plan feature
(402 PLAN_FEATURE_REQUIRED); reads keep working after a downgrade. A
personal workspace returns 409 WORKSPACE_NOT_BUSINESS.
Assistants over MCP can read the
rates with list_tax_rates and set a rate on a line, but can't create,
change, archive or delete one: those change what is printed on legal documents.
The tax ID is separate. The business tax ID and the client tax ID are printed as typed (toggles in the document style); the API doesn't check them, and it doesn't check that a document carries what your country requires.
Plans and scopes
Changing the profile or numbering needs the business_tools feature of the
workspace owner's plan (Solo Business). Without it, writes return 402
PLAN_FEATURE_REQUIRED with details.requiredFeature business_tools. Reads
keep working after a downgrade.
Personal access tokens use the scopes business:read
(get the profile, list sequences, get the email settings) and business:write
(update the profile, preview, set the next number, change the email settings,
request and verify a reply-to code, preview an email). Changing the email
settings isn't offered to AI assistants over MCP. business:write is not offered to third-party
OAuth apps.
Backup, clone and export
A workspace backup and a clone carry the profile (including the document style,
the quote defaults and the default payment terms), the
numbering patterns, the tax rates and every sequence's position, so a restored or cloned
workspace never reissues a number that was already sent. A sequence that is
scoped to a client or a project (the default {CLIENT} pattern is) follows that
client or project to its new ID in the restored or cloned workspace, so its next
number carries on from where the source stands. A clone also copies the
logo when you choose to copy attachments. The email appearance settings (sender
name, logo, accent color, default message) travel too. The reply-to address does
not travel in a backup, and a clone copies it unverified, so a restored or
cloned workspace sends no custom reply-to until its owner verifies it again; a
pending verification code is never copied. The data export, which is a
human-readable report, does not include the profile.
Events
Tax rate changes publish the internal audit events tax_rate.created,
tax_rate.updated, tax_rate.archived, tax_rate.unarchived and
tax_rate.deleted. There are no webhook events for tax rates.
The profile publishes the internal business_profile.updated event, and setting
a next number publishes numbering.next_value_set. They aren't offered to
webhook subscribers yet.