JebMap: every rupee explained
I wanted to know where every rupee went, and no app could read my Pakistani bank statements. So I built JebMap: statement PDFs in, every transaction explained, and an assistant I can ask about my money. I use it every day.
- Bank and wallet statements in, every row cleaned, sorted and explained.
- Every statement is checked against itself before import, and the AI never does the maths.
- 4 eval suites, cost logged on every AI call, row-level security on every table.
The problem
Pakistani bank and wallet statements come as PDFs with cryptic lines like "IBFT TO OWN A/C" and "POS 4471". Budgeting apps don't read them, and copying rows into a spreadsheet every month never lasts.
And an AI that guesses about money is worse than no AI at all. It had to be right, or it was useless.
What I decided
- D1Check every statement against itself before importing it. Each row's balance has to follow from the row before, and the totals have to match the header. If anything is off, nothing is imported, and the screen says exactly which row broke.
- D2The AI never does the maths. Every number in an answer comes from code. If the assistant states an amount no tool returned, the sentence is replaced instead of shown.
- D3Test the AI like code. Four eval suites test the AI: reading bank wording, placing rows, the assistant (115 scripted conversations, including prompt-injection attempts) and receipts.
- D4Know what every AI call costs. Each call is logged with its purpose, model, tokens and cost, and the assistant has a monthly cap.
- D5Lock the data down. Row-level security on every table, with database tests that prove one person can't read another's rows.
The numbers
- 4 AI eval suites
- 115 scripted assistant conversations
- 90% coverage gate on core logic
- 20 database security test files
- 5 days to the first working version
My part
Everything. I designed it, built it and run it, using my own AI-native setup: written plans, recorded decisions, eval suites and a verifier agent checking the work.
What I'd do differently
Write the statement checks before the parser. Every bank's PDF has its own surprises, and the checks are what caught them.