Reimbursement Overview
Feature Detail
Description
The Reimbursement Overview provides organization administrators with an aggregate dashboard of all expense activity across their organization. Key metrics include total claims submitted, total approved amount, average processing time, claims pending review, and rejection rate - displayed over configurable time periods (month, quarter, year). Drill-down views allow administrators to filter by individual peer mentor, expense type, or time range, and to export the filtered dataset as a CSV or structured report for accounting system reconciliation. The overview surfaces anomalies such as unusually high claim volumes from a single submitter or expense type concentrations that may warrant closer review. The dashboard is read-only and aggregation-focused, complementing the transactional approval queue with the longitudinal visibility needed for budget planning and Bufdir reporting.
Analysis
Organizations receiving Bufdir funding are required to account for all reimbursed expenses and demonstrate that claims meet program eligibility criteria. Without an aggregate view, administrators must manually compile data from individual claim records - a time-intensive process prone to omission and error that creates risk during audits. The overview also supports internal budget management: organizations need to track whether reimbursement costs are within expected ranges throughout the fiscal year and identify trends that may indicate process issues (e.g. a spike in rejected claims signaling unclear submission guidance). For HLF specifically, integration with Dynamics and Xledger makes accurate aggregate data a prerequisite for automated accounting exports. Providing this visibility at the administrator level without requiring database access or custom reports reduces dependence on technical staff for routine financial oversight and empowers administrators to act on data independently.
Aggregate metrics are computed via SQL aggregation queries on the expense_claims and expense_items tables, grouped by organization_id and parameterized by date range. To avoid slow ad-hoc aggregation on large datasets, summary figures are materialized on a scheduled job (e.g. nightly) and supplemented by a real-time delta for the current day. Drill-down queries are executed on demand with appropriate indexes on submitter_id, expense_type, and created_at. The dashboard is a Next.js server component with chart rendering via a lightweight client-side library (e.g. Recharts). CSV export streams the query result directly to the response without buffering the full dataset in memory. The anomaly detection layer uses simple statistical thresholds (e.g. claim count more than two standard deviations above the organization's rolling average) computed in the nightly job and surfaced as warning banners. Role guard restricts access to Org Admin and Global Admin. No mobile surface is provided for this feature.
Components (44)
Shared Components
These components are reused across multiple features
User Interface (9)
Service Layer (15)
Data Layer (8)
Infrastructure (7)
User Stories
No user stories have been generated for this feature yet.