How to build a cash flow dashboard
with Claude Code.
Short answer: You can build a working cash flow dashboard with Claude Code without writing code, in seven steps: prepare a four-column CSV, calculate control totals first, write a focused brief, build in small steps, add CSV import, test for double counting and check the usual mistakes. With our sample data the dashboard must show $48,250 in, $32,840 out and $15,410 net.
You can build a working cash flow dashboard from a plain CSV of transactions with Claude Code, without writing code yourself. The build is the easy part. What makes the result trustworthy is knowing the right numbers before you ask, and checking every change against them.
What you will build
A small web app that runs on your computer and shows three summary cards (money in, money out, net cash flow), a monthly chart, a transaction log with a period filter, and a CSV import that adds new rows without counting repeated rows twice. You can see a finished example in the interactive demo.
What you need
- Claude Code. Anthropic includes Claude Code in the Claude Pro plan, which costs $20/month billed monthly or $17/month billed annually (per claude.com/pricing, checked September 24, 2026). Usage limits apply.
- A transactions CSV. Start with fictional data. You can use our free sample CSV: 24 transactions for a coffee shop, January–June 2026.
- A spreadsheet app to calculate control totals before you involve AI.
Step 1. Prepare the CSV
Keep the structure simple: date, description, category, amount. Positive amounts are cash received, negative amounts are payments. If your export from an accounting tool or bank has more columns, remove or rename them first. Fewer columns means fewer places for the AI to guess.
Step 2. Calculate control totals first
Sum positive amounts for receipts, sum negative amounts and take the absolute value for payments, and sum everything for net cash flow. For the sample file the answer is:
These three numbers are your test. If the app cannot reproduce them, nothing else about it matters. It also helps to note one month on its own: in the sample, June is $9,800 in, $6,800 out, $3,000 net.
Step 3. Write a focused brief
A good brief describes the data, the output and how you will check it. It also gives the AI permission to stop and ask. This is the starting prompt we use:
Build a cash flow dashboard for a fictional coffee shop. The CSV columns are date, description, category, and amount. Positive amounts are cash received; negative amounts are payments. Start with three summary cards: money in, money out, and net cash flow. Add a monthly chart, a transaction table, and a period filter. Use USD and make the interface readable on a phone. For the full sample, expected receipts are $48,250, payments are $32,840, and net cash flow is $15,410. For June alone, expected net cash flow is $3,000. Explain your proposed approach before making changes. Use only the fictional sample. Do not connect external accounts. Flag ambiguous data instead of guessing.
Ask Claude Code to explain its approach first and approve the plan before it writes files. Our free first lesson walks through this brief in more detail.
Step 4. Build in small steps
Start with the summary cards only. Check the three totals. Then add the monthly chart and check one month. Then the transaction table and period filter. Each step should end with a result you can verify in under a minute.
Step 5. Add CSV import and test for double counting
Import is where most AI-built finance tools break. Use a small test file with a known effect. Our extra transactions CSV adds three rows: receipts +$450, payments +$150, net +$300, so net cash flow should become $15,710. Then import the same file again. Net cash flow must stay at $15,710. If it moves, duplicate detection is broken.
Step 6. Check the usual mistakes
- Sign errors. Payments stored as negative numbers get "corrected", and net cash flow doubles or flips.
- Date parsing. US-style dates (MM/DD/YYYY) and ISO dates (YYYY-MM-DD) get mixed up, and transactions land in the wrong month.
- Cash vs profit. A cash flow dashboard shows money moving. It does not model accruals, depreciation or unpaid invoices. Say so in the brief.
- Silent guessing. Unknown categories get invented. Ask the AI to flag ambiguous rows instead.
More on this in how to check AI-generated financial calculations.
Step 7. Make it yours, then consider real data
Change categories, filters and the look. Re-check the totals after every change. Before any real company data goes near an AI tool, read is it safe to use Claude Code with financial data and follow your employer's policy.
Frequently asked questions
How long does it take to build a cash flow dashboard with Claude Code?
It depends on your setup and experience. A first working version with summary cards is usually a short session; the checking steps and CSV import take longer. We do not promise a fixed time.
Do I need to know how to code?
No. You describe the result in plain English and Claude Code writes the code. You do need to be comfortable with spreadsheets and to check what the AI produces.
Can I use an export from QuickBooks, Xero or my bank?
Usually yes, after simplifying it to date, description, category and amount. Exports differ, so rename or remove columns first, and start with fictional data.
Is a cash flow dashboard the same as a cash flow statement?
No. The dashboard summarizes cash movements from your transactions. A formal statement of cash flows follows accounting standards and classifies activities as operating, investing and financing.
Turn a CSV into a working cash flow dashboard.
A self-paced Claude Code workshop for bookkeepers, accountants and FP&A: six lessons, one project, sample data with expected totals. Taught by CFO Leo Godnik.
See the six lessons — $69 → Or start with the free lesson ↗