Skip to main content

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.

The New Bill page creates a vendor bill in the accounts payable module. It is accessible at route /fa/bills/new.

Overview

The page renders BillForm with data loaded for vendors (active only), accounts (active, ordered by account_number), funds (active, ordered by fund_number), departments (type cost_center or both, active), and programs (active). On submit, useCreateBill is called with:
  • bill: bill header fields including organization_id and created_by (current user ID)
  • lines: array of BillLine items
On success, navigates to /fa/bills/:id (the created bill’s detail page). Permission gate: None at route level. Page checks for organization context. Primary mutation: useCreateBill(organizationId) Form component: BillForm

Who it’s for

No explicit permission gate on this route. The route /fa/bills redirects to the Payables Hub tab.

Before you start

  • At least one active vendor must exist.
  • GL accounts should be configured.
  • Optionally: funds, departments, and programs for line-item coding.

Steps

  1. Navigate to /fa/bills/new.
  2. Complete the Bill Details card using BillForm:
    • Vendor, bill date, due date, bill number (or reference), notes
  3. Add line items with description, account, quantity, amount, and optional fund/department/program coding.
  4. Submit. On success, you are redirected to the new bill’s detail page.
SME: The exact bill header fields and their validation rules are encapsulated in BillForm. Confirm required fields with the implementation team.

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.
  • src/routes/fa.tsx
  • src/cores/fa/pages/BillCreatePage.tsx
  • src/cores/fa/hooks/useVendorBills.ts
  • src/cores/fa/hooks/useVendors.ts
  • src/cores/fa/components/BillForm.tsx
  • src/cores/fa/components/BillLineEditor.tsx