Handling results
The status says how far to trust a result. The issue codes say what is wrong with the statement, and are the same codes wherever they appear.
Statuses, warnings and reasons
Section titled “Statuses, warnings and reasons”| Status | What it means | Issues |
|---|---|---|
verified |
Every transaction was read and checked against the statement. | None. |
needs_review |
Every transaction was read, with its date and direction, but a check against the statement did not pass. The transactions themselves are sound. | warnings: one or more. |
unverified |
The reading could not be established, so some transactions may have the wrong date, amount or direction. Only returned when you ask for it. | reason: the main one. |
refused (NOT_VERIFIED, HTTP 422) |
As unverified, when you did not ask for unverified results: nothing is returned. | error.reason: the main one. |
Issue codes
Section titled “Issue codes”| Code | Meaning |
|---|---|
BALANCE_MISMATCH | The transactions don't add up to the balances or totals printed on the statement. |
DIRECTION_UNCLEAR | Some transactions could not be told apart as money in or money out. |
DATE_UNCLEAR | Some transactions have no date that could be read. |
ROWS_UNREADABLE | Some transaction lines could not be read reliably. |
ACCOUNTS_UNCLEAR | Transactions could not be matched to their accounts. |
NOTHING_TO_CHECK | Every line was read, but the statement prints no balances or totals to check them against. |
NO_TRANSACTIONS | No transaction table was found in the document. |
NOT_CHECKED | Some of the statement could not be checked against itself. Check the transactions before relying on them. |
Each issue has a code and a message you may show to your users as it is.
Unverified results
Section titled “Unverified results”By default the API refuses a statement it cannot verify. If your app has a person to check the result, ask for it anyway with ?unverified=include (or the X-Unverified: include header): you get the transactions with "status": "unverified" and a reason. Use them knowing that some may have the wrong date, amount or direction.
{ "status": "unverified", "reason": { "code": "BALANCE_MISMATCH", "message": "The transactions don't add up to the balances or totals printed on the statement." }, "accounts": [{ "transactions": [ … ] }]}Checked and unchecked transactions
Section titled “Checked and unchecked transactions”Each transaction says whether it was checked: verified: true means it agrees with the statement’s own balances or totals, false means it was inferred. Every transaction of a verified result is true. So you can keep only the checked ones, or send just the unchecked ones to a person:
const transactions = result.accounts.flatMap((account) => account.transactions)const checked = transactions.filter((transaction) => transaction.verified)const toReview = transactions.filter((transaction) => !transaction.verified)Refusals
Section titled “Refusals”A refused statement returns an error instead of a result. The error response lists every code, and the Quickstart shows one branch per outcome.

