Skip to main content
GET
List average daily balances
The balance of each day is the balance at the close of that day, as account_balances reports it for that date, in the company’s base currency. Every posted entry counts on its date, adjusting entries included. A day with no posted entries keeps the balance of the day before it, so a weekend or a holiday carries the balance of the previous business day. The average is the sum of the daily balances divided by the number of calendar days in the window. Rows are paged by limit and offset and ordered by account number. Accounts with no activity are included with a zero average, and inactive accounts are included. Each average is rounded on its own, so the sum of several rows can differ by a few cents from the average of their summed daily balances. Additional validations
  • Fails with 404 if the company is not in your organization or your API key cannot read it.

Authorizations

X-API-KEY
string
header
required

Query Parameters

company_id
integer
required

Company to report on. Amounts are in this company's base currency.

start_date
string<date>
required

First calendar day of the window.

end_date
string<date>
required

Last calendar day of the window. The window can hold up to 366 days.

limit
integer
default:200

Number of records to return per page (capped at 200)

Required range: x >= 1
offset
integer
default:0

Number of records to skip before starting to return results

Required range: x >= 0

Response

OK

items
PublicAverageDailyBalanceSchemaOut · object[]
required
count
integer
required