Introducing Ahorreo: personal finance that never leaves your browser

If your money lives in more than one place (a couple of banks, maybe an investment account or a pension plan), you already know the problem: nobody gives you the full picture. Each institution shows its own slice, often very well, and nothing else. Ahorreo is the tool we built to put those slices together.

The usual fixes all come with a price. Commercial aggregators want your online banking credentials and upload every transaction you’ve made to their servers. Spreadsheets are private, and need someone to keep them up to date every month. We wanted the privacy of the spreadsheet without the typing.

What Ahorreo does

Ahorreo takes the statements you can already download from your bank, as CSV or Excel files, and turns them into one answer to four questions: how much do I earn, how much do I spend, on what, and how much do I actually own?

It does this entirely inside your browser. There is no backend, no user account and no telemetry. Files are parsed on your device and stored in your browser’s IndexedDB. You can check that yourself: open the network tab of your browser’s developer tools while you import a statement, or switch your device to airplane mode. Nothing changes, except the optional lookup of public ECB rates, which is off by default (more on that here).

Useful from the first file

There's no set-up wizard to finish before you see a number. Drop a single statement onto an account and Ahorreo derives the opening balance from the file itself, categorises the transactions, and shows you the month. More accounts, rules and budgets are optional and come later.

The preview of an imported statement in Ahorreo: the rows, their categories and the button to import them. Invented data

What happens when you drop a file

Importing looks like one step, but it is several, and each one is there because a real statement broke the simpler version.

  1. The bytes are decoded. Ahorreo tries UTF-8 in strict mode first and falls back to Windows-1252, because many Spanish bank exports still use it and an accented “Nómina” would otherwise arrive garbled.
  2. Every registered importer looks at the file and gives it a score; the highest one wins. Today there are dedicated importers for ING (XLS), Revolut, MyInvestor and Trade Republic (CSV), Mutualidad (XLSX) and one statement layout used by flexible-benefit providers. If none recognises the file, you map the columns by hand, and from then on any bank works.
  3. Amounts are read as integer cents. The decimal separator is decided by looking at the whole column, not each cell, because “1.234” on its own could mean €1.23 or €1,234.00. Why amounts are never floating-point numbers is the subject of its own post.
  4. If the file has a balance column, Ahorreo reads it as a chain: each row’s balance must equal the previous balance plus the row’s amount. When the chain holds, it tells the app the real order of rows on the same day and the opening balance, with nothing to type.
  5. You see a preview, with categories already filled in, and nothing is saved until you confirm.

A small example of step 4. Say the oldest row in the file is a €50.00 card payment and the balance column next to it says €1,250.00. The balance before that payment was €1,300.00, and that is the opening balance Ahorreo stores. In the code this is deriveOpeningBalance in src/domain/accounts/balance.ts, and its comment records why the order matters: anchoring to the wrong row of the first day once produced €700.00 instead of €1,100.00 on a real ING file. ING sends its rows newest first and other banks oldest first, so the direction is worked out from the file, not assumed.

Importing the same file twice

People re-download overlapping statements all the time, so duplicates are expected. When a bank gives each transaction its own identifier (Trade Republic’s CSV does), a repeated identifier is a fact and the row is skipped. When it doesn’t, Ahorreo builds a fingerprint from the account, the date, the signed amount, the currency and the normalised description, and a match is only a suspicion that you confirm. Two identical coffees at the same bar on the same day are two coffees.

Every import is also a batch you can undo. undoImport removes exactly what that file created (the transactions, and any portfolio operations it brought in) and nothing else.

The name

An hórreo is the raised granary you find all over Galicia and Asturias. Farmers stored the harvest there to last the winter, and built it on stone pillars topped with flat slabs so that rats couldn’t climb in. It has two jobs: keep what you’ve gathered, and protect it.

That’s the brief for a personal finance app built around privacy, and where a real hórreo carries a cross on its roof, ours carries a euro sign.

What makes it different

Transfers are not spending

Moving €500 from your current account to your savings account is not an expense, and moving it to your broker isn’t one either. Ahorreo detects internal transfers between your own accounts and keeps them out of your income and spending totals, so one well-organised month doesn’t look like a spending spree. Refunds are paired with the charge they undo, and take that charge’s month and category, so the month of the purchase goes back to zero.

Your share, not the whole thing

A joint account belongs to two people. Half a flat is worth half the flat to you, and half its mortgage is yours to repay. Ahorreo models ownership as a percentage on each account, property and loan, and every screen tells you whether it’s showing the household or your share. It’s the part finance apps most often leave out, so we wrote a full post about it.

Figures you can open

Every chart in Ahorreo comes with its table and a CSV export, and every category records how it was set: by you, by one of your rules, by the built-in catalogue (which also covers the category your bank puts in the file), or by similarity to something you already classified. The details are in Categorising bank transactions without a server. A number you can’t open is a number you can’t check.

It proposes, you decide

Ahorreo looks at your history for patterns it can name, and turns each one into a suggestion you can accept or dismiss. A few of them, with the wording the app uses:

None of them changes anything on its own, and a suggestion you dismiss is remembered in your settings.

What’s inside

It’s an installable PWA that works offline, with light and dark themes and an interface in English, Spanish and Catalan.

A few defaults worth knowing

Some settings decide what the first screen shows, so it helps to know where they start (DEFAULT_SETTINGS in src/domain/types.ts):

SettingDefaultWhat it means
Reporting basisHouseholdFigures start at 100%; switch to “my share” if you share accounts
Real estate in net worthOnHomes count, and financial net worth is still shown on its own
Public ECB ratesOffNo network request until you turn it on and click
Backup reminder7 days or 50 new transactionsWhichever comes first since your last backup
Payroll month ruleDays 10 and 20A salary paid on or before the 10th counts in the previous month

All of them can be changed in Settings. Turning the backup reminder off for good asks you to confirm that you understand the risk, because without a server a lost browser profile is lost data.

Where to start

If you want to see the app before giving it anything of yours, Settings has a “Load sample data” button. It fills Ahorreo with a synthetic dataset (invented merchants and round amounts) and removes it cleanly afterwards.

With your own data, the shortest useful path is:

  1. Download the last twelve months of your main current account as CSV or Excel.
  2. Create the account in Ahorreo and drop the file on it. Check the opening balance it derived against your bank.
  3. Go through To review and fix a handful of categories. Each correction can become a rule.
  4. Add your other accounts one at a time, so internal transfers start pairing up.
  5. Make your first encrypted backup.

What it deliberately doesn’t do

Just as important as the feature list is the list of things we chose not to build. Ahorreo doesn’t connect to your bank, because open banking requires a server, your credentials and a licence; the price is that you download statements yourself. It doesn’t sync through a cloud of ours, because there isn’t one; a file in a folder you already sync does the job, and if two devices write to it, Ahorreo warns you instead of merging. It doesn’t file taxes, and it doesn’t give investment advice. It shows you your own numbers and leaves the decisions to you.

You can try the app at ahorreo.vedratic.com.

This article explains how our software works and the maths behind it. It is not financial, tax or legal advice: for decisions about your own money, check with a qualified professional.