Expense Report displays the full detail view for a single expense report, including a summary card, expense lines, approval history timeline, and action buttons for submitting, approving, posting to GL, or deleting. Route: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.
/fa/expenses/:id.
Overview
The Expense Report detail page is accessible at/fa/expenses/:id and requires permission fa.expenses.view. The component (ExpenseReportDetailPage) fetches the report via useExpenseReport, its lines via useExpenseLinesByReport, pending approvals via usePendingApprovals, and approval history via useExpenseApprovalHistory. It renders:
ExpenseReportSummaryCard— header summary with status badge (ExpenseReportStatusBadge)ExpenseLinesTable— tabular view of expense line itemsApprovalHistoryTimeline— chronological approval events- Action buttons: submit (
useSubmitExpenseReport), approve (ExpenseApprovalDialog), post to GL (PostToGLDialog), edit (navigates to/fa/expenses/:id/edit), delete (useSoftDeleteExpenseReport) - An
AlertDialogconfirms destructive actions
Who it’s for
Requires permissionfa.expenses.view.
Before you start
- You must have
fa.expenses.viewpermission. - To approve or post to GL, additional permissions may be required (SME: confirm).
Steps
- Navigate to the expense report list and click a report, or go to
/fa/expenses/:id. - Review
ExpenseReportSummaryCardfor report totals and current status. - Review individual lines in
ExpenseLinesTable. - Review
ApprovalHistoryTimelinefor prior approval events. - Use available action buttons based on the report’s current status and your permissions.
Key concepts
| Concept | Description |
|---|---|
ExpenseReportSummaryCard | Header card with report metadata and status |
ExpenseLinesTable | Table of individual expense line items |
ApprovalHistoryTimeline | Chronological record of approval events |
PostToGLDialog | Dialog confirming and executing GL posting |
useSoftDeleteExpenseReport | Soft-delete mutation; SME: confirm reversibility |
Related
Finance & Revenue
Finance & Revenue core overview.
Governance & parity
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.
Documentation sources
Documentation sources
- src/routes/fa.tsx
- src/cores/fa/pages/ExpenseReportDetailPage.tsx