Skip to navigation

The Bank Statement object

An extracted business bank statement.

The retrieve endpoint returns this object on its own. The list endpoint returns one per document, wrapped as { "borrower_id": …, "statements": [ { "extracted_document_id", "report_data" } ] }.

account and period identify the statement, metrics carries its statement-level figures, dailyBalances the daily ending-balance series and transactions the statement’s transactions in print order. Keys inside this object are camelCase, as the wire carries them.

The documents behind this object carry document_category bank_statement_business or bank_statement. Money keys are JSON strings with exactly two decimals ("9200000.00", "-1250.50"). Date keys are YYYY-MM-DD, as each key’s Type column shows.

Fields

KeyTypePresent whenDescription
document_typealways bank_statementAlwaysWhich family of document this is.
reportTypealways bank_statement_analysisAlwaysAlways bank_statement_analysis.
accountobjectAlwaysThe account the statement is for.
periodobjectAlwaysThe statement period with its opening and closing balances.
period_sourcestringWhen the document states itWhether the statement prints both ends of its period (declared) or at least one end is a date stated elsewhere in the statement’s own text (statement_text); absent when the statement states no period.
balance_sourcestringWhen the statement prints no period balances and the upload states the linked account’s current balance; absent otherwise.Where the period balances come from when the statement prints none: the linked account’s current balance carried back through its own posted transactions, or the account’s daily balances when the feed carries them (feed_balance); absent when the statement prints its balances.
metricsobjectAlwaysTotals over the statement period.
dailyBalancesarray of objectsAlwaysOne entry per day of the period.
transactionsarray of objectsAlwaysEvery transaction, in statement order.
underwritingFlagsarray of objectsWhen the document states itNotes about fees, returned items and other events in the transactions, when any.

account

The account the statement is for.

KeyTypePresent whenDescription
holderstring, nullableAlwaysName of the account holder as printed.
institutionstring, nullableAlwaysName of the bank as printed.
accountNumberLast4string, nullableAlwaysThe last four digits of the account number.
linkedAccountLast4array of stringWhen the document states itLast four digits of the other accounts that appear on a statement covering several accounts. Empty for a statement of one account.
typestring, nullableAlwaysThe account type as printed, for example checking or savings.

period

The statement period with its opening and closing balances.

KeyTypePresent whenDescription
startstring (YYYY-MM-DD), nullableAlwaysFirst day of the statement period.
endstring (YYYY-MM-DD), nullableAlwaysLast day of the statement period.
openingBalancestring (money), nullableAlwaysBalance at the start of the period, as printed; for a statement that prints none, the linked account’s current balance carried back through its own transactions.
closingBalancestring (money), nullableAlwaysBalance at the end of the period, as printed; for a statement that prints none, the linked account’s current balance carried back through its own transactions.

metrics

Totals over the statement period.

KeyTypePresent whenDescription
totalDepositsstring (money), nullableAlwaysTotal deposits.
totalWithdrawalsstring (money), nullableAlwaysTotal withdrawals.
netCashFlowstring (money), nullableAlwaysDeposits less withdrawals.
avgDailyBalancestring (money), nullableWhen the document states itAverage of the daily closing balances; null when the period’s opening balance is null.
minDailyBalancestring (money), nullableWhen the document states itLowest daily closing balance; null when the period’s opening balance is null.
maxDailyBalancestring (money), nullableWhen the document states itHighest daily closing balance; null when the period’s opening balance is null.
daysNegativeinteger, nullableWhen the document states itNumber of days the closing balance was below zero; null when the period’s opening balance is null.
transactionCountintegerAlwaysNumber of transactions.

dailyBalances[]

One day of the statement period.

KeyTypePresent whenDescription
datestring (YYYY-MM-DD)AlwaysThe day.
openingstring (money), nullableWhen the document states itOpening balance for the day; null when the period’s opening balance is null.
depositsstring (money), nullableWhen the document states itTotal deposits for the day.
withdrawalsstring (money), nullableWhen the document states itTotal withdrawals for the day.
closingstring (money), nullableAlwaysClosing balance for the day; null when the period’s opening balance is null.
transactionCountintegerWhen the document states itNumber of transactions posted that day.
low_cashbooleanWhen the document states itTrue when the day’s closing balance is low relative to the statement’s other balances.

transactions[]

One posted transaction.

KeyTypePresent whenDescription
datestring (YYYY-MM-DD)AlwaysPosting date.
descriptionstringAlwaysThe description as printed.
amountstring (money)AlwaysSigned amount: deposits positive, withdrawals negative.
checkNumberstring, nullableWhen the document states itCheck number, when the transaction is a check.
transactionTypestringWhen the document states itThe transaction’s kind: check, ach, wire, transfer, debit_card, fee, interest, atm, deposit or other.
lineOrderintegerWhen the document states itPosition of the transaction on the statement, in posting order.
accountLast4stringWhen the document states itLast four digits of the account the transaction posted to, on a feed that carries several accounts.

underwritingFlags[]

A note about events in the transactions: fees, returned items, overdrafts.

KeyTypePresent whenDescription
categorystringAlwaysThe note’s category.
severitystring, one of high, medium, lowAlwaysOne of high, medium or low.
codestringAlwaysThe note’s identifier.
message_customerstringAlwaysThe note in words.
field_refstring, nullableAlwaysThe field the note refers to, when it refers to one.
detailobjectWhen the document states itThe transactions behind the note.

underwritingFlags[].detail

The transactions behind the note.

KeyTypePresent whenDescription
countintegerWhen the document states itNumber of matching transactions.
total_amountstring (money)When the document states itTheir amounts added together.
matchesarray of objectsWhen the document states itThe matching transactions.

underwritingFlags[].detail.matches[]

One transaction behind a note.

KeyTypePresent whenDescription
datestring (YYYY-MM-DD)AlwaysPosting date.
descriptionstringAlwaysThe description as printed.
amountstring (money)AlwaysSigned amount: deposits positive, withdrawals negative.