> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Cash Flow

> Generate and view a cash flow statement report for a selected fiscal period, with export and save-as-definition options.

Cash Flow generates a cash flow statement report filtered by fiscal period, with export capabilities and the ability to save the report definition for reuse. Route: `/fa/reports/cash-flow`

## Overview

The page uses `useReportFilters` to manage filter state (period, fund, department) and `useCashFlow` to fetch the statement data. Fiscal periods are loaded via `useFiscalPeriods`. The report displays the `CashFlowReport` component. Users can export via `ReportExportButtons` and save the current filter configuration as a named report definition via `useSaveReportDefinition`. Report type is `cash_flow`.

## Who it's for

Access follows your organization's role and module configuration. ## Before you start

* Fiscal periods must be configured and GL entries posted for the desired period.
* The reports hub at `/fa/reports` provides navigation to this page.

## Steps

<Steps>
  <Step title="Navigate to Cash Flow report">
    Go to `/fa/reports/cash-flow` or click the link from the Reports hub.
  </Step>

  <Step title="Select a fiscal period">
    Use the report filters to choose the period. Additional filters may be available.
  </Step>

  <Step title="Review the report">
    The `CashFlowReport` renders the statement for the selected period.
  </Step>

  <Step title="Export or save (optional)">
    Use export buttons to download. Click Save to open the Save Report dialog and persist the filter configuration as a named report definition.
  </Step>
</Steps>

## Key concepts

* **`useCashFlow`** — Primary data hook; accepts `organizationId` and `periodId`.
* **`useReportFilters`** — Hook managing filter state with `filters` and `updateFilter`.
* **`useSaveReportDefinition`** — Persists a named report definition of type `cash_flow`.
* **`ReportExportButtons`** — Component providing export actions.

## Related

<Columns cols={2}>
  <Card title="Finance & Revenue" icon="building-columns" href="/fa/overview">
    Finance & Revenue core overview.
  </Card>

  <Card title="Governance & parity" icon="scale-balanced" href="/governance/index" />
</Columns>

<Note>
  This page documents shipped product behavior. It is not medical, legal, or
  billing advice. Verify against your organization's policies and applicable
  regulations before using it for clinical, compliance, or billing decisions.
  Protected health information (PHI) shown in the product is governed by your
  tenant's access controls and is never exposed in this documentation.
</Note>

<Accordion title="Documentation sources">
  * src/routes/fa.tsx
  * src/cores/fa/pages/CashFlowPage.tsx
  * src/cores/fa/hooks/useCashFlow\.ts
  * src/cores/fa/hooks/useFiscalPeriods.ts
  * src/cores/fa/hooks/useReportDefinitions.ts
  * src/cores/fa/components/CashFlowReport.tsx
</Accordion>
