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

# Task Reports

> Generate and export completion and overdue task reports with configurable date ranges and CSV download.

The Task Reports page provides tabbed reports for task completion history and currently overdue tasks, with CSV export for each. It is reached at `/tasks/reports`.

## Overview

The page renders two tabs:

* **Completion Report** — tasks completed within a configurable date range (default: last 30 days). Shows task title, priority, due date, completed date, and assigned user. Includes a **Download CSV** button.
* **Overdue Report** — tasks currently past their due date. Also includes a **Download CSV** button.

Both reports are scoped to the current organization. CSV files are generated client-side via a blob download.

## Who it's for

Requires `pf.task_analytics.view` (component-level `PermissionGate`). No explicit route-level permission gate at `/tasks/reports`.

## Before you start

* Tasks must exist with completion or overdue status for data to appear.
* Your account must have `pf.task_analytics.view`.

## Steps

1. Navigate to **Tasks → Reports** (`/tasks/reports`).
2. Select the **Completion Report** tab.
3. Adjust the **From** and **To** date pickers if needed (default: last 30 days).
4. Review the table and click **Download CSV** to export.
5. Switch to the **Overdue Report** tab to see currently overdue tasks.
6. Click **Download CSV** on the Overdue tab to export that list.

## Related

<Columns cols={2}>
  <Card title="Platform Foundation" icon="layer-group" href="/pf/overview">
    Platform Foundation 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/platform.tsx
  * src/platform/tasks/pages/TaskReportsPage.tsx
  * src/platform/tasks/hooks/useTaskCompletionReport.ts
</Accordion>
