latestOpenAPI 3.1.0MIT2026-08-226224149.1 KB

613ceff68dc7

Create or update a bank account balance

Creates a balance for the specified bank account. If a balance already exists for the same date and balance type, it will be updated with the new amount (upsert behavior).

post/bank_account_balances

Request body

bank_account_idstring required

ID of the bank account

datestring date required

The date of the balance

balance_type'opening_ledger' | 'closing_ledger' | 'current_ledger' | 'opening_available' | 'opening_available_next_business_day' | 'closing_available' | 'current_available' | 'previously_closed_book' | 'other' required

The type of balance

amount_centsinteger required

The balance amount in cents (e.g., 1234 = $12.34)

Response

Balance created or updated

idinteger

Unique numeric identifier

bank_account_idinteger required

ID of the bank account this balance belongs to

datestring date required

The date of the balance

balance_type'opening_ledger' | 'closing_ledger' | 'current_ledger' | 'opening_available' | 'opening_available_next_business_day' | 'closing_available' | 'current_available' | 'previously_closed_book' | 'other' required

The type of balance

amount_centsinteger required

The balance amount in cents (e.g., 1234 = $12.34)

created_atstring date-time
updated_atstring date-time