> For the complete documentation index, see [llms.txt](https://help.brieftech.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.brieftech.ai/how-to-guides/review/extract-transactions-from-statements.md). Agents can also search and read this documentation through its [MCP server](https://help.brieftech.ai/~gitbook/mcp).

# Extract transactions from bank and credit card statements

Turn bank and credit card statements into a table of transactions, checked against each statement's own balances and totals.

Select the statements in your matter, then run <img src="https://2262431129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlnHu06wl3NH457iwjBmr%2Fuploads%2Fgit-blob-a39029ed3abc56d8164b7848bf6e5c94e8ae83d6%2Fbtn-extract-transactions.svg?alt=media" alt="Extract transactions" data-size="line"> from the <img src="https://2262431129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlnHu06wl3NH457iwjBmr%2Fuploads%2Fgit-blob-3f5fce000303e17cf3683eae282e75a7a8aa032e%2Fbtn-tools.svg?alt=media" alt="Tools" data-size="line"> menu. In a newer matter you may not need to: once BriefTech has classified a document as a **Statement**, it can extract the transactions on its own. If a statement already has a **Transactions** view in the preview pane, skip to [Open the Transactions view](#open-the-transactions-view).

## Before you start

* You need access to the matter that lets you change its documents — see [Matter roles and permissions](https://help.brieftech.ai/reference/matter-roles-and-permissions.md).
* Each statement needs a PDF version. That includes statements BriefTech has converted to PDF for you, and scanned statements work too. A file that has not yet been converted to PDF, or that does not convert to PDF, is left out of the run.

## Extract the transactions

1. On the <img src="https://2262431129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlnHu06wl3NH457iwjBmr%2Fuploads%2Fgit-blob-30913153ebd9cc9194606c644922feb649ae10a5%2Ftab-files.svg?alt=media" alt="Files tab" data-size="line"> tab or the <img src="https://2262431129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlnHu06wl3NH457iwjBmr%2Fuploads%2Fgit-blob-8f18f06a78c4d0bf6e51eac54ec7d3e5d2cdb8a2%2Ftab-review.svg?alt=media" alt="Review tab" data-size="line"> tab, select the statements you want to read. On the Review tab, ticking **Statement** in the **Classes** group of the left-hand panel narrows the list to the matter's statements — see [Document classes](https://help.brieftech.ai/reference/document-classes.md).
2. Open the <img src="https://2262431129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlnHu06wl3NH457iwjBmr%2Fuploads%2Fgit-blob-3f5fce000303e17cf3683eae282e75a7a8aa032e%2Fbtn-tools.svg?alt=media" alt="Tools" data-size="line"> menu and choose <img src="https://2262431129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlnHu06wl3NH457iwjBmr%2Fuploads%2Fgit-blob-a39029ed3abc56d8164b7848bf6e5c94e8ae83d6%2Fbtn-extract-transactions.svg?alt=media" alt="Extract transactions" data-size="line"> — or right-click one of the selected rows and choose it there. The number beside it is how many of the selected files BriefTech will read; if none of them has a PDF version, the item does not appear.
3. Wait for the run to finish. A notice counts the statements as they are done, then reports how many transactions were extracted from how many statements.

If a statement needs attention, the closing notice says so after the count:

| The notice adds                                                             | What to do                                                                                                                                                                                                                                                                                                                                    |
| --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Check:** and the file names                                               | The transactions were saved, but a row is flagged or a check did not reconcile. Open those statements' **Transactions** view and look at what is flagged — see [Check the results](#check-the-results).                                                                                                                                       |
| **Not saved, some pages could not be read (run again):** and the file names | Nothing was saved for those statements. Select them and run <img src="https://2262431129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlnHu06wl3NH457iwjBmr%2Fuploads%2Fgit-blob-a39029ed3abc56d8164b7848bf6e5c94e8ae83d6%2Fbtn-extract-transactions.svg?alt=media" alt="Extract transactions" data-size="line"> again. |
| **Failed:** and each file name with the reason                              | That statement was not extracted. The reason says why — for example, that the statement is too long to extract.                                                                                                                                                                                                                               |

If you run <img src="https://2262431129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlnHu06wl3NH457iwjBmr%2Fuploads%2Fgit-blob-a39029ed3abc56d8164b7848bf6e5c94e8ae83d6%2Fbtn-extract-transactions.svg?alt=media" alt="Extract transactions" data-size="line"> again on a statement whose transactions are already saved, BriefTech reuses the saved result instead of reading the statement again — unless its PDF has changed or BriefTech has since improved how it reads statements. A statement extracted before such an improvement keeps showing its earlier result until you run it again.

## Open the Transactions view

1. Click the statement's row to open it in the preview pane.
2. Choose **Transactions** in the tab strip above the document. It sits beside **PDF**, **Text** and **Summary**, and appears once a statement's transactions have been saved.

The table has the columns **Page**, **Date**, **Description**, **In**, **Out** and **Balance**, plus an **Account** column when the statement covers more than one account. Dates and descriptions are shown as printed.

* **In** is money reaching the account holder — on a card, payments and refunds.
* **Out** is money leaving — on a card, charges.
* Opening and closing balance lines appear as rows with only a **Balance**.

Click any row to open the statement's PDF view at that row's page.

## Check the results

Above the table, a chip for each account shows its account number (or **Account** if the statement does not print one) and two coloured dots:

* **Balance** — whether each row's balance follows from the balance before it.
* **Totals** — whether the rows add up to the totals printed in the statement's summary or, where the summary does not settle them, in total or subtotal lines among the transactions.

A green dot reconciles, a red dot does not, and a grey dot means the statement prints nothing to check against. Hover over the chip to see:

* the number of transactions;
* whether the running balance and the statement totals reconcile;
* a note, with its pages, for each statement period that has one.

For a period that does not add up, the note gives the figures that disagree — for a credit or debit total, how far it is over or short — and may suggest rows to check. A period that does add up can carry a note too — for example, that it reconciles only once every account's rows on the statement are counted, or that a figure in its summary was corrected from the page's own text.

A flagged row is shaded orange with a warning icon. Hover over the icon to see why:

| The reason begins                                 | What it means                                                                                                              |
| ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| *Balance check failed*                            | This row's balance does not follow from the previous balance and this row's amount — a row may be missing or misread.      |
| *Opening balance … does not follow prior balance* | A new statement period does not pick up where the last one ended — a period may be missing.                                |
| *Account … differs from surrounding …*            | This row's account number differs slightly from the rest of the account's rows, and is likely misread.                     |
| *Amount read as … from the page image*            | This row's amount was corrected from the page's own text, so that a statement period that failed its check no longer does. |

Click a flagged row to compare it with the page before you rely on it.

## Download the transactions as a CSV file

Select <img src="https://2262431129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlnHu06wl3NH457iwjBmr%2Fuploads%2Fgit-blob-47098d2ca5d88321d1d97795ce41db41bd90acf1%2Fbtn-transactions-csv.svg?alt=media" alt="CSV" data-size="line"> above the table. BriefTech downloads every transaction in the statement as a file named after the document, ending `.transactions.csv`.

Each row carries:

* the date, description, amounts (**credit** for money in, **debit** for money out) and balance;
* the file reference and name, its page, and the account number and type;
* whether its balance reconciled, and any flags with their reasons;
* in the last three columns, the posting date, where the statement prints one separately, and the original amount and currency of a foreign-currency transaction.

Flags appear as codes:

* `RECON_FAIL` — the balance check failed
* `STMT_GAP` — a possible missing statement period
* `ACCT_VARIANT` — a likely misread account number
* `TEXT_LAYER` — an amount corrected from the page's own text, so that a statement period that failed its check no longer does

Extracting transactions and downloading the CSV do not use credits.

## What you've done

You've turned your statements into transaction tables you can check against the page, with each account reconciled against the statement's own balances and totals, and downloaded them for use outside BriefTech.

## Related

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>The preview pane</strong></td><td>The preview pane beside Files, Review and Index; the PDF, Text, Summary and Transactions views; the full-screen pop-up viewer; and the pop-out window.</td><td><a href="https://help.brieftech.ai/reference/preview-pane.md">The preview pane</a></td></tr><tr><td><strong>Document classes</strong></td><td>The classes BriefTech's AI chooses from when it classifies a document, what each one covers, and how to filter a matter by class.</td><td><a href="https://help.brieftech.ai/reference/document-classes.md">Document classes</a></td></tr><tr><td><strong>Credit costs and pricing</strong></td><td>What charges credits, what is free, how the charge is calculated, and what credits cost to buy.</td><td><a href="https://help.brieftech.ai/reference/credit-costs-and-pricing.md">Credit costs and pricing</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.brieftech.ai/how-to-guides/review/extract-transactions-from-statements.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
