Skip to content

Invoices

The invoices page (/invoices) is the hub for patient billing, payment tracking, sample status, and report delivery. Nearly every lab workflow starts or returns here.

First-time setup

Configure Invoice settings and Patient fields before high-volume billing. See also Create your first invoice.

List filters

Open the Filters card at the top of the page.

FilterControlBehavior
Date rangeDate range pickerDefault: last 15 days; filters invoice date
SearchText inputMatches invoice number, patient name, phone, access code, etc. Press Enter or click Apply
TestSearchable selectShow invoices containing a specific lab test
Collection centerSearchable selectFilter by branch; clearable (all centers)
ReferralSearchable selectFilter by referring doctor/agent
Due onlyCheckboxOnly invoices with outstanding balance
ButtonAction
ApplyRuns search with current filter values
Clear filtersResets date range, search, due-only, center, referral, and test

Results are paginated (50 per page) with server-side sort.

Invoice table columns

Default visible columns (toggle via column picker / export menu):

ColumnSortableDescription
Invoice detailsYes (invoicenumber)Invoice # and online access code; offline sync badges if applicable
Reference numberExternal reference
Name / phoneYes (patientname)Patient identity
Father / husband name
Age / gender
Invoice dateYes (invoicedate)Date and time
Refer byReferral or free-text referrer
Sample statusCollection/processing state
Sub total / Total / ReceivedYesAmounts in Rs
Marital status, DOB, blood group, city, CNIC, email, etc.Optional demographic columns
Printing detailLast report print timestamp
DuesHighlighted red when > 0
ReportStatus icon (printed vs pending)
SamplePipette icon → patient samples dialog
TestsColor chips: green = results entered, red = pending
ActionsActions dropdown menu

Export: Use the table export menu to download CSV/Excel with visible columns.

Create and edit invoice

Open via New invoice button, toolbar pen icon, or Actions → Edit invoice.

Health card section

FieldDescription
Patient has health cardCheckbox — enables card number and linked-patient lookup
Card #Health card number; searches existing patients on card
Patients on this cardQuick-select chips to load a family member

Patient section

FieldRequiredNotes
PhoneAuto-searches existing patients by phone (400 ms debounce)
NameYes
Father / husband name
Date of birthAuto-calculates age
AgeEditable; recalculates from DOB
Age unitYears, Months, Days
GenderYes
Marital status
Collection centerDefault “Self” if empty
Country / province / cityLocation picker

Invoice detail section

FieldDescription
DateInvoice date/time; changing it recalculates line result times
Referred byReferral dropdown from admin catalog
Sample collectionTaken in lab · Home collection
Referred by nameFree-text when referral not in list

Test lines table

Each row:

ColumnEditableNotes
TestSearch selectSelecting a test loads price, sample type, processing days, suggested result time, health-card discount
PriceYes
SampleYesSample type label
ProcessingYesDays until result; updates result time
Result timeDate/time picker
DiscountValue + % or RsPer-line discount
  • Add test — appends a row and focuses test search on the new line.
  • At least one test line is required to save.
FieldOptions
PriorityRegular · Urgent

Totals and payment

FieldDescription
Discount on invoiceAmount with % or Rs type
LessAdditional deduction
Received paymentAmount collected at save time
Payment methodCash · Credit card · Online
Payment viaJazzCash · EasyPaisa · Bank transfer (when not cash)
Transaction / reference #Optional reference for digital payments
NotesRich-text optional notes

Live totals panel: Sub-total, Discount, Grand total, Due.

ButtonAction
CancelClose without saving
Save & PrintSave then open invoice print preview
SaveSave only

Home sampling

Invoices created from Home sampling open in preview mode with patient and tests prefilled. Saving marks the request Invoiced.

Record payment (list page)

Actions → Dues / payments or the dedicated payment flow opens a dialog:

FieldBehavior
AmountPre-filled with current dues; numeric input
Record paymentPosts payment; refreshes list and dashboard

Actions menu

Every invoice row has an Actions dropdown:

ActionRead-only blocked?Description
Enter resultNoOpens result entry for this invoice — see Result entry
Print reportNoPrint preview for pathology report
Send reportNoSMS/WhatsApp/email delivery dialog
Send notificationNoQuick patient notification
Print invoiceNoPrint preview for invoice receipt
Dues / paymentsYesRecord additional payment
Edit invoiceYesReopen form dialog
Delete invoiceYesConfirm dialog; soft-delete (recoverable in Deleted invoices)
HistoryNoAudit log of changes
Lab orderNoPrintable lab order / worklist
View patientNoPatient detail card

Patient samples

Click the pipette icon in the Sample column to open Patient samples — lists samples linked to the invoice with export options.

Keyboard shortcuts

KeyContextAction
EnterSearch filter inputApply filters

There are no global hotkeys for create/save in the invoice dialog; use toolbar Create invoice or New invoice button.

Offline behavior

When offline, invoices may queue locally with Pending sync or Sync failed badges. Queued saves show a success toast and sync when connectivity returns.

Ease Lab — Cloud Pathology Lab Management