Skip to main content
Bookkeeping Accounts

Accounts are T-accounts. They can store accounting entries. Your compliance setup might require annotating money movements using this API. Learn more in our guide to Bookkeeping.

Events
Your application can listen to webhooks about this resource. The events about Bookkeeping Accounts will have the categories "bookkeeping_account.created" or "bookkeeping_account.updated" .
The Bookkeeping Account object
{
  "account_id": null,
  "compliance_category": "customer_balance",
  "entity_id": "entity_n8y8tnk2p9339ti393yi",
  "id": "bookkeeping_account_e37p1f1iuocw5intf35v",
  "idempotency_key": null,
  "name": "John Doe Balance",
  "type": "bookkeeping_account"
}
Attributes
account_id
string
Nullable

The API Account associated with this bookkeeping account.

More about Accounts.
compliance_category
enum
Nullable

The compliance category of the account.

entity_id
string
Nullable

The Entity associated with this bookkeeping account.

More about Entities.
id
string

The account identifier.

idempotency_key
string
Nullable

The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about idempotency.

name
string

The name you choose for the account.

type
string

A constant representing the object’s type. For this resource it will always be bookkeeping_account.

List Bookkeeping Accounts
curl \
  --url "${INCREASE_URL}/bookkeeping_accounts" \
  -H "Authorization: Bearer ${INCREASE_API_KEY}"
Returns a list response :
{
  "data": [
    { /* Bookkeeping Account object */ },
    { /* Bookkeeping Account object */ }
    /* ... */
  ],
  "next_cursor": "v57w5d",
}
Parameters
idempotency_key
string

Filter records to the one with the specified idempotency_key you chose for that object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about idempotency.

Between 1 and 200 characters
More parameters
cursor
string
limit
integer
Create a Bookkeeping Account
curl -X "POST" \
  --url "${INCREASE_URL}/bookkeeping_accounts" \
  -H "Authorization: Bearer ${INCREASE_API_KEY}" \
  -H "Content-Type: application/json" \
  -d $'{
    "name": "New Account!"
  }'
Parameters
account_id
string

The account, if compliance_category is commingled_cash.

More about Accounts.
compliance_category
enum

The account compliance category.

entity_id
string

The entity, if compliance_category is customer_balance.

More about Entities.
name
string
Required

The name you choose for the account.

Between 1 and 200 characters
Update a Bookkeeping Account
curl -X "PATCH" \
  --url "${INCREASE_URL}/bookkeeping_accounts/bookkeeping_account_e37p1f1iuocw5intf35v" \
  -H "Authorization: Bearer ${INCREASE_API_KEY}" \
  -H "Content-Type: application/json" \
  -d $'{
    "name": "Deprecated Account"
  }'
Parameters
bookkeeping_account_id
string
Required

The bookkeeping account you would like to update.

name
string
Required

The name you choose for the account.

Between 1 and 200 characters
Retrieve a Bookkeeping Account Balance
curl \
  --url "${INCREASE_URL}/bookkeeping_accounts/bookkeeping_account_e37p1f1iuocw5intf35v/balance" \
  -H "Authorization: Bearer ${INCREASE_API_KEY}"
Returns a Bookkeeping Balance Lookup object:
{
  "balance": 100,
  "bookkeeping_account_id": "bookkeeping_account_e37p1f1iuocw5intf35v",
  "type": "bookkeeping_balance_lookup"
}
Parameters
bookkeeping_account_id
string
Required

The identifier of the Bookkeeping Account to retrieve.

at_time
string

The moment to query the balance at. If not set, returns the current balances.

List Unbookkept Cash Transactions
curl \
  --url "${INCREASE_URL}/unbookkept_cash_transactions?bookkeeping_account_id=bookkeeping_account_e37p1f1iuocw5intf35v" \
  -H "Authorization: Bearer ${INCREASE_API_KEY}"
Returns a list response :
{
  "data": [
    { /* Bookkeeping Account object */ },
    { /* Bookkeeping Account object */ }
    /* ... */
  ],
  "next_cursor": "v57w5d",
}
Parameters
bookkeeping_account_id
string
Required
More parameters
cursor
string
limit
integer