> ## 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.

# Aging Reports

> Tabbed hub combining AR Aging and AP Aging reports in a single URL-synced view.

Tabbed hub combining AR Aging and AP Aging reports at the in-app route `/fa/reports/aging`.

## Overview

This screen is a tabbed hub page that presents AR Aging and AP Aging reports side by side using URL-synced tab state (via `useTabUrlState`). The active tab is controlled by the `?tab=` query parameter — valid values are `ar-aging` and `ap-aging`. The default tab on first load is `ar-aging`. Each tab lazily loads its respective report component (`ARAgingReportPage` and `APAgingReportPage`). A loading skeleton is shown during tab content hydration.

## Who it's for

Required permission: `fa.reports.aging.view` (enforced at the route via `RequirePermission`).

## Before you start

* Invoices (for AR) and bills (for AP) must exist with open balances.
* An organization must be selected.

## Steps

<Steps>
  <Step title="Navigate to Aging Reports">Go to `/fa/reports/aging` or use the Finance & Revenue Reports menu.</Step>
  <Step title="Select the aging type">Click the "AR Aging" or "AP Aging" tab. The URL updates to reflect the active tab.</Step>
  <Step title="Review aging buckets">Each tab shows aging buckets, summary cards, and a detail table. See AR Aging and AP Aging individual screens for full step documentation.</Step>
</Steps>

## Key concepts

* `ar-aging` tab — loads `ARAgingReportPage` (accounts receivable aging by invoice due date)
* `ap-aging` tab — loads `APAgingReportPage` (accounts payable aging by bill due date)
* URL tab state — the `?tab=` query parameter persists the active tab across page refreshes

## 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">
    Documentation coverage and governance.
  </Card>
</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/AgingReportsHubPage.tsx
</Accordion>
