How to make a cash flow statement with Claude
Short answer: Yes. Claude can prepare a cash flow statement two ways. From bank transactions it builds the direct method: receipts and payments grouped into operating, investing and financing. From a P&L and two balance sheets it builds the indirect method, starting from net income. Either way, beginning cash plus the net change must equal ending cash.
A statement of cash flows shows where cash came from and where it went in a period, in three sections: operating, investing and financing. You can ask Claude for one in a chat, in Excel, or in a small app built with Claude Code. This guide shows which method fits your data, the prompts, the checks, and a free Excel template with both methods.
Which method fits your data
| Data you have | Method | What Claude does |
|---|---|---|
| Bank or card transactions, exported as CSV | Direct method | Groups receipts and payments by category, puts each category in operating, investing or financing, and totals each section |
| A P&L for the period and balance sheets at the start and end | Indirect method | Starts from net income, adds back depreciation, adjusts for changes in receivables, inventory and payables, then adds equipment purchases, loans and owner distributions |
| Only a P&L | Not enough yet | Profit is not cash. Add the two balance sheets or the bank data; see cash flow vs profit |
In the SEC’s small-business guide, the direct method shows actual cash receipts and payments, and the indirect method starts with net income and adjusts for changes that did not affect cash. Most US companies use accrual accounting, which aligns with the indirect method, so generally only smaller companies use the direct method. Both reach the same net change in cash; only the operating section is presented differently.
Method 1: direct method from bank transactions
- Export every account for the same period. Checking, savings and cards, as CSV, with a date, description and amount. With more than one account, include both sides of transfers between them.
- Agree the categories. Give Claude your category list, or ask it to propose one and review it before it totals anything.
- Map each category to a section. Customer receipts, supplies, rent, payroll and taxes are operating. Equipment and other long-term assets are investing. Loan proceeds and principal repayments, owner contributions and owner draws are financing. Transfers between your own accounts are excluded.
- Run the prompt below with your beginning cash and the ending balance on your statements.
- Tie it out. Beginning cash plus the net change must equal the ending balance on your bank statements.
I'm attaching business bank and card transactions for [period] as CSV (date, description, category, amount; payments are negative). Prepare a statement of cash flows using the direct method: 1. Exclude transfers between my own accounts. List every row you excluded. 2. Put each category in Operating, Investing or Financing using this map: [paste your map]. If a category is not in the map, stop and ask me. Do not guess. 3. Inside each section, show cash received and cash paid by category, then a subtotal. 4. Show the net change in cash. Beginning cash was [amount]. Show ending cash and compare it with [ending balance from my statements]. If they differ, list the likely reasons. 5. Do not round. Give me the result as a table I can paste into Excel, and as an .xlsx file with formulas.
Loan interest and some owner payments can be classified differently under US GAAP and IFRS. If a category is not obvious, ask your accountant rather than letting Claude decide.
Method 2: indirect method from a P&L and balance sheets
Export the P&L for the period and the balance sheet at its start and end from QuickBooks, Xero or your accounting system. Claude then works line by line:
- Operating: net income, plus depreciation and amortization, minus increases in receivables, inventory and prepaid expenses, plus increases in payables, accrued liabilities and deferred revenue.
- Investing: purchases of property and equipment from the change in gross fixed assets, plus or minus any sales of assets.
- Financing: new loans minus repayments, owner contributions or stock issued, minus distributions or dividends.
I'm attaching our P&L for [period] and the balance sheets at [start date] and [end date]. Prepare a statement of cash flows using the indirect method: 1. Start from net income. Add back depreciation and amortization. 2. For each current asset and current liability, show the change and its effect on cash (an increase in receivables reduces cash; an increase in payables adds to it). 3. Investing: purchases of property and equipment from the change in gross fixed assets. Ask me if any assets were sold. 4. Financing: loans received and repaid, owner contributions, distributions or dividends. 5. Checks: (a) ending cash must equal cash on the end balance sheet; (b) retained earnings at the end must equal the start plus net income minus distributions. Show both checks. If either fails, stop and explain the difference. Show every number you used and which report it came from.
Worked example: Monday Coffee, January to June 2026
The free template uses one fictional coffee shop for both methods, so you can see that they agree.
| Line | Amount |
|---|---|
| Cash received from customers | $48,250 |
| Cash paid for supplies, rent and payroll | ($32,840) |
| Net cash from operating activities | $15,410 |
| Espresso machine | ($4,800) |
| Net cash from investing activities | ($4,800) |
| Bank loan proceeds | $10,000 |
| Owner distribution | ($2,000) |
| Net cash from financing activities | $8,000 |
| Net change in cash | $18,610 |
| Beginning cash | $12,000 |
| Ending cash (matches the bank statements) | $30,610 |
The indirect tab reaches the same $15,410 from the other side: net income of $14,500, plus $320 of depreciation, minus a $400 increase in receivables and a $610 increase in inventory, plus a $1,200 increase in payables and a $400 increase in accrued liabilities.
Download the cash flow statement template (Excel) ↓
The workbook has a tab for each method, a category map and checks that should all read zero: ending cash against the bank or balance sheet, unmapped categories, the retained earnings roll-forward and depreciation. Blue cells are inputs; replace the sample with your own numbers. The template page shows every tab and the checks.
Checks before you send it to anyone
- Cash ties out: beginning cash plus the net change equals ending cash on the bank statements or the balance sheet. If it does not, nothing else matters yet.
- The balance sheet balances at both dates, and retained earnings at the end equal the start plus net income minus distributions.
- No transfers counted as cash flow: moving money between your own accounts is neither a receipt nor a payment.
- Signs are right: an increase in receivables reduces cash; an increase in payables adds to it.
- Depreciation matches: if accumulated depreciation changed by more or less than the expense, assets were sold or written off and need their own line.
- Each section makes sense to someone who knows the business: the equipment purchase in investing, the loan in financing.
Chat, Excel or Claude Code?
- Claude chat. Attach the CSV or the reports and use the prompts above. Claude can return an Excel file; Anthropic lists file creation on all plans, with files up to 30 MB.
- Claude for Excel. Work inside the template or your own model; see Claude for Excel for finance.
- Claude Code. When you need the same statement every month from new exports, build it once as a small app with the checks built in. Start with how to build a cash flow dashboard with Claude Code.
- Without AI. For monthly cash in and out from a CSV, use the free browser tool; nothing is uploaded.
Before you attach client data, read what to check before using client financial data with Claude.
Sources: SEC Office of the Advocate for Small Business Capital Formation, What is a statement of cash flows?; IFRS Foundation, IAS 7 Statement of Cash Flows; Anthropic, create and edit files with Claude. Checked November 4, 2026. General information, not accounting advice. The Experts AI is independent and not affiliated with Anthropic.
Frequently asked questions
Can Claude AI do a cash flow statement?
Yes. From bank transactions it can prepare a direct-method statement, and from a P&L and two balance sheets an indirect-method statement. Check that beginning cash plus the net change equals ending cash before you use it.
Which is better, the direct or the indirect method?
Use the data you have: bank transactions give you the direct method, a P&L and balance sheets the indirect method. The SEC notes that most companies use the indirect method because it aligns with accrual accounting.
Can Claude make a cash flow statement in Excel?
Yes. Claude can create an Excel file from a chat, and Claude for Excel works inside an open workbook. Our free template has both methods with formulas and checks.
Can I make a personal cash flow statement with Claude?
Yes. Export your bank and card transactions, group them into income and spending categories, and ask Claude for money in, money out and net by month. Exclude transfers between your own accounts.
Is a statement Claude prepares ready for a lender or auditor?
Treat it as a draft. Tie it to the bank statements and balance sheet, check the classifications with your accountant and keep the source files. It is not an audited statement.
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 ↗