Create account owners and accounts
Create an account owner for each person or business whose tax data you collect, and an account for their activity.
An account owner is your customer: the person or business whose tax data you collect. An account holds that account owner's transactions. Tax documentation goes on the account owner, and transactions go on the account. Both must exist before you send transactions. Create both from your backend as account owners onboard, before an account owner opens anything Taxbit renders.
Before you begin
- A bearer token. See Authenticate.
- A default filer in your organization. You usually set up filers in the Taxbit Dashboard under Settings > Filer Setup. Filer Setup in the Help Center covers the fields each regulation needs. To automate it,
POST /v1/filerscreates the same record. Mark one fileris_default: truewhen you create it. If you use cost basis, set its cost-basis method (disposition_method) at the same time, becausePATCH /v1/filers/{id}accepts neither field later. Without a default filer,POST /v1/account-ownersreturns a 400 with{"message": "No default filer is configured for this organization.", "error": "Bad Request"}, andPOST /v1/accountsfails as well. - Your own identifiers for the account owner and the account. Taxbit stores yours and also returns its own
taxbit_id.
1. Create an account owner, with its account
Send your identifier, the account owner type (INDIVIDUAL, ENTITY, or INTERMEDIARY), and the account. Nothing else is required to start. You collect the names, TINs, and addresses used to file later, through the Tax Documentation React SDK or Send recipient tax data. The account's id can be the same as the account owner's id when each account owner has exactly one account.
curl -X POST $BASE_URL/v1/account-owners \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"id": "usr_8a3b1c9d",
"account_owner_type": "INDIVIDUAL",
"name": "Dana Whitfield",
"email": "[email protected]",
"account": {
"id": "acct_5f2e7d10",
"establishment_date": "2026-03-02"
}
}'The response is the account owner. To read the account back, call GET /v1/accounts/{id} with the account's id.
This endpoint accepts 100 requests per second by default, with a burst of 1,000, and returns 429 above that. See Rate limits. If your onboarding volume needs more, ask your implementation manager.
2. Add more accounts
When an account owner has more than one account, create the others with POST /v1/accounts. Send your identifier for the account and the account_owner_id you used above. The account owner must already exist. If your organization has more than one filer, pass filer_id for the filer this account reports under. With a single filer, accounts belong to that filer. The API's payer_id is the same as filer_id.
curl -X POST $BASE_URL/v1/accounts \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"id": "acct_9c41b2e8",
"account_owner_id": "usr_8a3b1c9d",
"establishment_date": "2026-03-02"
}'{
"data": {
"id": "acct_9c41b2e8",
"taxbit_id": "0177df49-c1aa-4d0b-bbeb-67a0c1b33a94",
"account_owner_id": "usr_8a3b1c9d",
"date_created": "2026-03-02",
"date_modified": "2026-03-02",
"establishment_date": "2026-03-02",
"prefers_physical_mail": false
}
}An account inherits its filer's default cost-basis method (disposition_method). To override it for this account, pass disposition_method (HIFO, FIFO, LIFO, LOFO, or AUSTRIA) when you create it. To change it later, use the cost-basis method history, not PATCH. See Choose a cost-basis method.
Country fields
Country fields on account owners and accounts, including address, mailing address, tax residency, and country of birth, take an ISO 3166-1 alpha-2 code such as US or DE, not a country name. These endpoints don't validate these fields. A full name such as Germany returns a success response and is stored as sent, so send the code.
How owners and accounts relate
- One owner, one account. Common where an account owner can hold only one account, such as a marketplace or a payments platform.
- One owner, many accounts. Common where an account owner holds several account types, such as an individual with more than one IRA.
- Joint holders. An account can have secondary account owners in
secondary_account_owner_ids. See the Create account reference.
Account Owner & Accounts Overview in the Help Center has worked examples of each setup.
In every setup, the account owner comes first, and every account links to one account owner (account_owner_id) and one filer.
Parameters
Only the fields used above. Full schemas: Create account owner and Create account.
Account owner
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Required | Your system's unique identifier for the account owner. |
account_owner_type | string | Required | INDIVIDUAL, ENTITY, or INTERMEDIARY. |
name | string | Optional | The account owner's full name. |
email | string | Optional | The account owner's email address. |
account | object | Optional | The account owner's first account: id (required), establishment_date, filer_id, disposition_method. |
Account
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Required | Your system's unique identifier for the account. |
account_owner_id | string | Required | The id you gave the account owner. |
establishment_date | string | Optional | ISO 8601 date the account was opened. |
filer_id | string | Optional | The filer's UUID. Pass it when your organization has more than one filer. |
disposition_method | string | Optional | Overrides the filer's default for this account. |
Where to go next
Transactions or form data: send transactions and Taxbit calculates the form amounts, or send form data with the amounts you've already calculated.
Updated 6 days ago
