Cash flow statement by the indirect method: a worked example, today and with an AI agent

Short answer: A cash flow statement by the indirect method starts from profit, adds back non-cash items such as depreciation, adjusts for the change in each working-capital line between two balance sheets, then adds investing and financing cash flows. The total must equal the change in cash on the balance sheet. Under AS 3 and Ind AS 7, Indian companies usually start from profit before tax and show tax paid separately.

The cash flow statement has to tie to a number you can't adjust: the change in cash between two balance sheets. When it doesn't, the cause is nearly always a sign on a working-capital line or a balance-sheet movement nobody put anywhere, and the temptation is to plug the gap.

Here is the method from a recent tutorial by a finance controller, a worked example from two made-up balance sheets that ties to the rupee, the rules that differ between India and US GAAP, and how an AI agent would prepare the same statement from the exports. A cash flow statement looks back over the year; for the next three months, use a 13-week cash flow forecast.

The tutorial this is based on

I Made these Mistakes with the Cash Flow Statement (Learn from my errors) by The Financial Controller, published 16 August 2026. A US controller builds a monthly indirect cash flow in Excel from balance-sheet movements, and goes through the mistakes they made along the way: wrong signs, lines left out, inventory in investing and stock-based compensation pushed to financing. It uses US GAAP and IFRS terms. We add the Indian rules (AS 3 and Ind AS 7) and a worked example in rupees.

How do you prepare a cash flow statement by the indirect method?

  1. Put the two balance sheets side by side with the profit and loss account, and work out the change in every line.
  2. Start from profit: net income under US GAAP; under AS 3 and Ind AS 7, Indian companies usually start from profit before tax and show tax paid as its own line. Add back non-cash items: depreciation, amortisation, stock-based compensation, a loss on sale. Deduct a gain.
  3. Under AS 3 and Ind AS 7, also add back finance costs and deduct interest income, because for a company that isn't a finance company interest paid is financing and interest received is investing.
  4. Set the sign of each working-capital line. A rise in an asset (receivables, inventory, prepaids) is cash out; a fall is cash in. Liabilities work the other way. The tutorial's two tests: is the movement good or bad for cash, and how did the original entry hit profit.
  5. Account for every balance-sheet line, including deferred commission, accruals and deferred revenue. Inventory belongs in operating, not investing.
  6. Investing: cash paid for fixed assets and investments, and the proceeds when they are sold, not the profit on sale.
  7. Financing: loans drawn and repaid, shares issued, dividends paid. Stock-based compensation stays in operating, even when QuickBooks books it through additional paid-in capital and shows it in financing.
  8. Add a check row: closing cash on the statement less cash on the balance sheet should be zero. The tutorial drags it across every month. If it isn't zero, find the line; don't plug it.

Cash flow statement: where items go under AS 3, Ind AS 7 and US GAAP

Cash flow classification under AS 3, Ind AS 7 and US GAAP
ItemAS 3 and Ind AS 7 (not a finance company)US GAAP
Starting lineProfit before tax, in practiceNet income
Income tax paidOperating, shown as its own lineOperating
Interest paidFinancingOperating
Interest receivedInvestingOperating
Dividends receivedInvestingOperating
Dividends paidFinancingFinancing
Depreciation, amortisation, loss on saleAdded back in operatingAdded back in operating
Change in inventory, receivables, payablesOperatingOperating
Buying and selling fixed assetsInvesting, at the cash paid or receivedInvesting, at the cash paid or received

A worked example from two balance sheets

A made-up Coimbatore textile trader that follows AS 3. For FY 2025-26: profit before tax ₹21,20,000, after depreciation ₹6,00,000, finance costs ₹3,60,000, interest income on a bank deposit ₹1,20,000 and a ₹40,000 loss on selling a van for ₹2,10,000. Tax is ₹5,40,000, so profit after tax is ₹15,80,000. It bought machinery for ₹12,50,000, put ₹2,00,000 more into a one-year deposit, issued shares for ₹10,00,000, repaid ₹8,00,000 of its term loan and paid a ₹4,00,000 dividend.

From 31 March 2025 to 31 March 2026: inventories ₹35,00,000 to ₹41,00,000, trade receivables ₹28,00,000 to ₹33,50,000, short-term advances ₹4,00,000 to ₹3,20,000, trade payables ₹22,00,000 to ₹19,50,000, other current liabilities ₹3,00,000 to ₹3,60,000, and the tax provision, net of advance tax, ₹50,000 to ₹80,000. Fixed assets go from ₹60,00,000 to ₹64,00,000: additions, less depreciation, less the van's book value of ₹2,50,000. Cash falls from ₹8,50,000 to ₹4,00,000.

Operating: ₹21,20,000, plus depreciation, the loss on sale and finance costs, less interest income, gives ₹30,00,000 before working capital. Inventories take ₹6,00,000, receivables ₹5,50,000 and the fall in payables ₹2,50,000; advances give back ₹80,000 and other liabilities ₹60,000. That is ₹12,60,000 out, leaving ₹17,40,000. Tax paid is ₹5,10,000 (₹50,000 opening provision plus ₹5,40,000, less ₹80,000 closing), so operating activities bring in ₹12,30,000.

Investing: machinery ₹12,50,000 out, the van ₹2,10,000 in, the deposit ₹2,00,000 out and interest ₹1,20,000 in, a net ₹11,20,000 out. Financing: shares ₹10,00,000 in, the loan ₹8,00,000, interest ₹3,60,000 and the dividend ₹4,00,000 out, a net ₹5,60,000 out. ₹12,30,000 less ₹11,20,000 less ₹5,60,000 is ₹4,50,000 out: exactly the fall in cash. The check row is zero.

Under US GAAP the same company starts from net income of ₹15,80,000 and keeps interest in operating: operating ₹9,90,000, investing ₹12,40,000 out, financing ₹2,00,000 out. The net change is the same ₹4,50,000; only the split moves.

Where it usually goes wrong

How an AI agent does it

An AI agent here is an assistant each person on the team gets, used from Slack, WhatsApp or a web app. It has its own files, spreadsheets and a browser. It reads exports from Tally (Excel or XML), QuickBooks Online, Xero or Zoho Books, and writes working files in Excel. This section describes how it would prepare the year's statement. It asks before it changes, posts or sends anything, and every step is logged.

What you give it

What it does

  1. Maps every balance-sheet line to operating, investing, financing or cash, using last year's statement and the mapping kept for this client in the firm's shared memory.
  2. Splits the movement in fixed assets into additions, disposals at book value and depreciation from the asset register, and checks they explain the change.
  3. Works out tax paid from the provision, advance tax and TDS, and interest paid from the finance costs and any interest accrued.
  4. Takes out non-cash items: assets bought on credit or on a loan, dividends declared but unpaid.
  5. Sets the sign of each working-capital line and builds the statement in the layout you ask for: AS 3 or Ind AS 7 from profit before tax, or US GAAP from net income.
  6. Adds a check row against balance-sheet cash, and lists the lines that could explain any gap instead of plugging it. It also reconciles the statement's cash to the balance sheet's cash and bank line.

What it hands back

What it leaves to you

Today vs with an AI agent

Cash flow statement: today vs with an AI agent
StepTodayWith an AI agent
Gathering the inputsCopy two balance sheets and the P&L into Excel, then ask for the asset register and loan statements.You give it the exports, the asset register and loan statements. It lists anything it still needs.
The workingSet each line's sign by hand and build the statement in a template.Maps each balance-sheet line, sets the signs and builds the statement with formulas.
The cross-checksA check row against balance-sheet cash, with differences traced by hand.The same check row, plus fixed assets, tax and interest each reconciled to their own records.
ExceptionsNon-cash purchases and capex creditors are easy to miss, and a small gap gets plugged.Lists non-cash items and any gap it can't explain. It doesn't plug a difference.
The outputA statement in Excel, often with pasted values.A workbook with formulas, a mapping sheet and a cash reconciliation note.
The reviewThe reviewer re-traces the lines that look odd.The reviewer reads the exceptions and the mapping, then checks the classification calls.
Who signs offThe board approves the financial statements and the auditor reports.The same. The agent drafts and signs nothing.

What you still check

Questions accountants ask

What is the indirect method of preparing a cash flow statement?

It starts from profit and adjusts for non-cash items and working-capital changes to reach operating cash flow. The direct method lists cash received from customers and paid to suppliers and staff instead. Investing and financing are the same in both.

Is a cash flow statement required for private companies?

Usually yes: section 2(40) of the Companies Act 2013 makes it part of the financial statements. One person companies, small companies, dormant companies and private companies that are start-ups need not prepare one.

Where does interest paid go in a cash flow statement?

Under AS 3 and Ind AS 7, in financing for a company that isn't a finance company, with interest and dividends received in investing. Under US GAAP, interest paid and received are both operating.

What is the difference between a cash flow statement and an income statement?

The income statement shows profit on the accrual basis. The cash flow statement shows the cash that came in and went out, so a profitable company can still see its cash fall, as in the example above.

How do you make a cash flow statement format in Excel with formulas?

Put both balance sheets in columns, work out each line's change with a formula, and link the statement's lines to those changes. End with a check cell, closing cash per the statement less balance-sheet cash, which should show 0.

Does IFRS 18 change the cash flow statement?

For companies reporting under IFRS, yes, for periods from 1 January 2027. The indirect method then starts from operating profit, and the classification of interest and dividends is fixed for most companies.

Hand this job to an agent

Bring one of your own files to a 30-minute call and watch an agent do this job.

Book a 30-min demo