jhtigcal.dev
Contact

Statement files and readers

Which files Sentinel reads, what a reader is, and how to add one for your bank.

Files Sentinel reads

TypeExtensions
PDF.pdf
CSV.csv
Spreadsheet.xlsx

A PDF or spreadsheet can be password protected. Sentinel asks for the password.

Sentinel reads only its own statement CSV as it ships.

A bank's statement needs a reader first. Until it has one, the file is kept in Files with no rows. See Add a reader for your bank.

Sentinel keeps a password only if you turn on Remember this password, and then only in Windows Credential Manager.

What a reader is

A reader tells Sentinel how to read one kind of statement: which columns or lines hold the account, the period, the balances, and the rows. Readers are written in TOML, a plain text format that a model can draft for you.

Every reading is checked before anything is stored. The rows must add up to the statement's own totals. A reader you write, or a model drafts, is trusted only as far as those totals agree.

A reader is either:

  • A table reader, for CSV and spreadsheet files. It maps columns.
  • A text reader, for PDFs. It uses patterns that match lines of the statement's text.

Readers that ship with Sentinel

A new workspace has one reader: the Sentinel statement CSV, with the key sentinel/csv. It reads a CSV with one line per transaction and these columns:

ColumnHolds
bankThe bank's code, in capitals and digits, such as BPI
kindThe kind of account: deposit, credit_card, time_deposit, investment, or wallet
account_last4The last four digits of the account number
period_start, period_endThe statement's first and last day, as YYYY-MM-DD
opening_balance, closing_balanceThe statement's balances
dateThe row's day, as YYYY-MM-DD
descriptionWhat the statement printed
counterpartyWho the money went to or came from
directiondebit for money out, credit for money in
amountThe row's amount
balance_afterThe balance after the row

Because each line carries its statement's columns, one file can hold several accounts and periods.

Here is a made-up line:

bank,kind,account_last4,period_start,period_end,opening_balance,closing_balance,date,description,counterparty,direction,amount,balance_after
EXAMPLE,deposit,0000,2026-01-01,2026-01-31,1000.00,950.00,2026-01-05,"CARD PURCHASE, GROCERY",Grocery,debit,50.00,950.00

Add a reader for your bank

Sentinel doesn't ship readers for banks. A person writes theirs, a connected model drafts it, or someone shares it. Each workspace keeps its own.

To have a model draft a reader, follow these steps:

  1. Connect the in-app agent. See Use AI with Sentinel.
  2. Select Add records, then Statement Upload, and add the statement file. When no reader knows it, its row says Kept in Files.
  3. Select Keep 1 file. Sentinel stores the file as it is, and the Files page opens.
  4. On the Files page, select the file, then Draft a reader. Or ask your model to draft one for the file, from the in-app agent or another app.

The model reads the file's text, which goes to its provider. It tries the draft against your file until the totals check, then keeps it.

  1. On the Files page, right-click the file and select Read again. Its rows come in.

A reader the agent keeps shows in a card in the chat. Select Undo to take it back.

To see your readers, open the Files page, the folder icon at the right of the tab bar, and select Readers. The list shows each reader's name, key, and file types.

Related: Add statements, Privacy

Let’s build something boring.

Boring is the good kind of software.