/fa/receipts is a legacy redirect to /fa/payables?tab=receipts. The goods receipts list is now part of the Payables & Expenses hub.
Overview
Navigating to/fa/receipts triggers a <Navigate to="/fa/payables?tab=receipts" replace />. The Receipts tab within the hub loads ReceiptsPage lazily, which fetches all PO receipts for the organization via usePOReceiptList and renders them in a ReceiptsTable. The page header shows “Goods Receipts” with a description of tracking received inventory from purchase orders.
Who it’s for
Access follows your organization’s role and module configuration.Before you start
No setup required for viewing. To record a new receipt, identify the purchase order number or ID for the goods being received, and know the quantity received for each relevant line item.Steps
- Navigate to Finance & Revenue → Payables & Expenses → Receipts, or go to
/fa/payables?tab=receipts. - Review the list of goods receipts.
- Select a receipt to view its details at
/fa/receipts/:id. - To record a new receipt, go to the relevant purchase order and use the receipt recording action.
Viewing a receipt
The Receipt Details page at/fa/receipts/:id displays the full record for a goods receipt, including its receipt number, status, date, linked purchase order, vendor, and received line items.
ReceiptDetailPage fetches data via usePOReceipt. The page uses useEntityBreadcrumb to display the receipt_number in the breadcrumb. The layout shows a receipt information card and a notes card, with a ReceiptStatusBadge for status display. Line details are shown via POReceiptLineDetail type fields.
Key concepts:
receipt_number— The system-assigned identifier for the receipt, shown in the breadcrumb.ReceiptStatusBadge— Visual indicator for the receipt’s status.
- Navigate from a purchase order’s receipt history or from Finance & Revenue → Payables & Expenses → Receipts and select a receipt.
- Review the receipt header: receipt number, status, date, and PO reference.
- Review the line items showing quantities received.
- Review any notes attached to the receipt.
Creating a receipt
The New Receipt page at/fa/receipts/new lets users record physical receipt of goods against an existing purchase order, entering quantities received per line item.
ReceiptCreatePage requires a poId query parameter; if the purchase order is not found, an empty state is shown with a back navigation. When a valid PO is loaded, the form shows the PO number, vendor name, and all PO lines available for receipt. On submit, useCreatePOReceipt calls the fa_create_receipt RPC (a SECURITY DEFINER database function that validates PO and line ownership for the organization). On success, the user is redirected to /fa/purchase-orders/:poId.
Key concepts:
fa_create_receiptRPC — A server-side function that validates the PO and all line IDs belong to the current organization before inserting receipt records. This enforces tenant isolation at the database layer.- Partial receipt — Each line may have a quantity received less than the PO line quantity, supporting partial delivery scenarios.
- Navigate to the purchase order detail page and use the Record Receipt action (which should pass
?poId=<id>), or go directly to/fa/receipts/new?poId=<purchase-order-id>. - The form displays the PO number, vendor, and available lines.
- Enter the quantity received for each line.
- Add a receipt date and optional notes.
- Select Submit. The receipt is created and you are returned to the purchase order detail page.
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/ReceiptsPage.tsx
- src/cores/fa/pages/PayablesHubPage.tsx
- src/cores/fa/pages/ReceiptDetailPage.tsx
- src/cores/fa/pages/ReceiptCreatePage.tsx
- src/cores/fa/hooks/usePOReceipts.ts
- src/cores/fa/hooks/usePOReceiptLines.ts