Overview
The cash flow statement reports cash inflows and outflows over a period, categorized into operating, investing, and financing activities. It uses the indirect method per ASC 230, starting with net income and adjusting for non-cash items.Cash flow statements are generated using
CashFlowStatementService in packages/core/src/reporting/CashFlowStatementService.ts, following ASC 230 standards.Report Structure
Three Main Sections
- Operating Activities
- Investing Activities
- Financing Activities
Indirect Method (starts with net income)
- Net Income (from income statement)
-
Adjustments for non-cash items:
- Depreciation and amortization (+)
- Gains on asset sales (-)
- Losses on asset sales (+)
-
Changes in working capital:
- Accounts receivable decrease (+) / increase (-)
- Inventory decrease (+) / increase (-)
- Prepaid expenses decrease (+) / increase (-)
- Accounts payable increase (+) / decrease (-)
- Accrued liabilities increase (+) / decrease (-)
Cash Reconciliation
Line Item Structure
Cash inflows are shown as positive amounts, while cash outflows are shown as negative amounts, making it easy to see the net impact on cash.
Generating a Cash Flow Statement
Select company and period
Choose the company and the reporting period (start date and end date). The cash flow statement requires a period to show the change in cash.
Gather required data
The service automatically retrieves:
- Income statement data (net income)
- Balance sheet data (beginning and ending balances)
- Journal entries for the period
Calculate operating activities
Starting with net income, the service:
- Adds back non-cash expenses (depreciation, amortization)
- Adjusts for gains/losses on asset disposals
- Calculates working capital changes from balance sheet movements
Calculate investing and financing
Analyzes journal entries to identify:
- Capital expenditures and asset sales (investing)
- Debt and equity transactions (financing)
Service Methods
generateCashFlowStatement
Generates a complete cash flow statement using the indirect method.CashFlowStatementReport with all three activity sections and reconciliation
Errors:
CompanyNotFoundError: Company does not existInvalidPeriodError: Period start date is after period end dateCashFlowReconciliationError: Net cash change doesn’t match balance sheet cash movement
Operating Activities (Indirect Method)
Why Indirect Method?
Per ASC 230, the indirect method is most commonly used because it:- Reconciles net income to cash flow
- Shows the relationship between the income statement and cash
- Highlights non-cash items and working capital changes
Non-Cash Adjustments
These items affected net income but didn’t affect cash:Working Capital Changes
Changes in current assets and current liabilities:Section Types
UI Workflow
- Generate Report
- Analyze Cash Sources
- Quarterly Analysis
- Navigate to Reports → Cash Flow Statement
- Select the company
- Choose Period Start Date (e.g., January 1, 2024)
- Choose Period End Date (e.g., December 31, 2024)
- Click Generate Report
- Review cash flow sections:
- Operating activities (indirect method)
- Investing activities
- Financing activities
- Verify reconciliation:
- Net change in cash
- Beginning cash balance
- Ending cash balance matches balance sheet
- Export to PDF or Excel
Cash Flow Reconciliation
The statement validates that the calculated cash flow matches the actual change in cash accounts:CashFlowReconciliationError is raised, indicating:
- Missing journal entries
- Incorrectly classified transactions
- Cash account balance issues
Supplemental Disclosures
Per ASC 230, the cash flow statement includes supplemental information:- Cash paid for interest: Total interest expense paid in cash
- Cash paid for income taxes: Total income tax paid in cash
- Non-cash transactions: Significant investing/financing activities that didn’t affect cash
Report Features
Line Item Helpers
Section Summaries
Each section provides a net cash total:Key Metrics
The cash flow statement enables calculation of:Operating Cash Flow Metrics
- Cash Flow Margin: Operating Cash Flow / Revenue
- Quality of Earnings: Operating Cash Flow / Net Income
- Cash Return on Assets: Operating Cash Flow / Total Assets
Free Cash Flow
Export Formats
Cash flow statements support:- PDF: Professional formatted statement with company header
- Excel: Workbook with sections, formulas, and supplemental schedules
- CSV: Raw data export for analysis
- JSON: Structured data for API integration
Best Practices
- Monthly Generation: Generate monthly cash flow statements to monitor liquidity
- Compare to Budget: Track actual vs. projected cash flow
- Free Cash Flow: Monitor free cash flow as a key health indicator
- Working Capital: Analyze working capital trends in operating activities
- Cash Runway: Calculate months of cash remaining based on operating burn rate
Common Issues
| Issue | Cause | Resolution |
|---|---|---|
| Reconciliation error | Cash change doesn’t match balance sheet | Verify all cash accounts included, check for unposted entries |
| Negative operating cash flow | Working capital drain or losses | Analyze working capital changes and profitability |
| Large investing outflows | Capital expenditures | Verify CapEx is properly classified, not expensed |
| Missing non-cash adjustments | Depreciation not added back | Ensure all non-cash expenses are identified |
The indirect method is preferred because it shows how net income converts to cash flow, highlighting the difference between accrual accounting and cash accounting.
Understanding Cash vs. Profit
The cash flow statement reveals the crucial difference between profit and cash:- Net Income: Measures profitability (accrual basis)
- Operating Cash Flow: Measures actual cash generated
- Free Cash Flow: Measures cash available for growth, debt repayment, or distributions
A company can be profitable (positive net income) but still have negative cash flow due to working capital increases or capital expenditures. Conversely, a company can have positive cash flow while reporting losses due to non-cash charges.