Book summary

This API retrieves the Cash Flow Analytics summary of a Book in JSON format. It provides daily balances, bank account PII, and time series for all transaction categories at the Book and bank account level.

It offers quicker analytics generation, more granular and accurate transaction categories (including improved revenue and expense calculations), and a more concise structure.


Async processing

This API supports asynchronous processing. To get the asynchronous result, add async=true in the query parameter to run the request as a background job and receive a job_id immediately instead of waiting for the full response inline. When async=true, the endpoint returns 202 Accepted with a job_id instead of the analytics payload.

Async mode is required for Books with more than 100,000 transactions. Books exceeding 1,000,000 transactions are rejected with 422 (error code 1100). Once submitted, poll Async job status API to retrieve the result when the job is complete.

Date range

Use begin_date and end_date to limit the summary to a period. Both parameters are optional. Dates are inclusive and use YYYY-MM-DD. begin_date can't be after end_date. The parameters filter the response and don't change the Book. Without them, the response is unchanged.

With a date range:

  • Balances and cash flow cover only the days in the range that a statement covers. The first day's balance is the balance carried over from earlier in the statement.
  • Trends (cash_balance_trend_*, cash_flow_trend_*) are measured back from end_date.
  • Transaction-based fields include only transactions in the range.
  • Monthly averages (cash_flow_at_a_glance.average_monthly_*) divide by every calendar month the range touches, so a partial month lowers the average.
  • Statements: bank_accounts[].periods lists each overlapping statement whole. Accounts with no statement in the range are omitted, and if none overlap, the summary is empty.
  • Book-wide data, such as business_verification_data, NAICS and KYB, isn't affected.

An inverted range or an invalid date returns 400.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The unique identifier of the Book that contains the bank statements you'd like to have analyzed.

Query Params
string

Bank account primary key(s) to exclude from analytics calculations in the book summary. The underlying data remains in the system and is not deleted.

📘

This parameter is in beta. If you encounter any bug, please reach out to [email protected].

string

Months (in YYYY-MM format) of transaction to exclude from analytics calculations in the book summary. The underlying data remains in the system and is not deleted.

📘

This parameter is in beta. If you encounter any bug, please reach out to [email protected].

string

The first day to include, in YYYY-MM-DD format. Results cover this date and later. The date must be on or before end_date when both are set.

string

The last day to include, in YYYY-MM-DD format. Results cover this date and earlier. The date must be on or after begin_date when both are set.

boolean
Defaults to false

When true, runs the request as a background job and returns a job_id immediately instead of the analytics payload. Required for Books with more than 100,000 transactions. Books exceeding 1,000,000 transactions are rejected with 422 (error code 1100).

Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Choose an example:
application/json