-
Notifications
You must be signed in to change notification settings - Fork 134
Finance Creating OPD Bill
Dr M H B Ariyaratne edited this page May 22, 2026
·
1 revision
An OPD bill is created at the billing counter when a patient receives outpatient services and payment is collected immediately. The bill records the patient, services rendered, fees, discount (if applicable), payment method, and generates a receipt.
Main Menu → OPD → OPD Billing (privilege: OpdBilling) → opd/opd_bill.xhtml
- Search for the patient using the patient autocomplete (by name, ID, or phone number).
- Select the doctor/consultant if applicable (auto-populates from appointment if linked).
- Select the department (defaults to your assigned department).
-
Add services or items:
- Use the item autocomplete to search by name or code.
- The system auto-fills the fee from the configured fee table (based on department, site, and payment scheme).
- Enter the quantity (defaults to 1).
- Repeat for each service.
- Review the fee breakdown — each line shows unit fee, quantity, line total, and applicable discount.
- Apply a discount if the payment scheme allows it — enter percentage or fixed amount.
-
Select the payment method:
- For a single method (e.g. Cash), select from the dropdown.
- For split payment, select MultiplePaymentMethods — a panel opens to enter amounts per method.
- Enter the amount paid (for cash, verify the amount tendered and change due).
- Click Save / Pay. The bill is saved, a payment record is created, and the receipt print page opens.
| Field | Description |
|---|---|
| Patient | Autocomplete — search by name, ID, phone |
| Visit Date | Defaults to today; editable |
| Doctor / Consultant | Optional; auto-populated from appointment |
| Department | Service department |
| Item / Service | Autocomplete — searches available services |
| Quantity | Number of units |
| Unit Fee | Auto-populated from fee table; may be editable if permitted |
| Discount % | Percentage discount if scheme allows |
| Total | Calculated: quantity × fee × (1 − discount) |
| Payment Method | Single or multiple |
| Amount Paid | For cash: amount tendered |
| Change | Cash change due to patient |
| Reference Number | Card/cheque reference if applicable |
The system looks up the fee in this priority order:
- Department-level fee for this item
- Site-level fee
- Base fee from the item master
The applicable fee is further modified by the cashier's payment scheme (see Payment Schemes).
After saving, the bill receipt is printed automatically. Paper format (A4 or POS) is determined by configuration. Reprint is available from OPD Bill Search and Reprint.
| Item | Detail |
|---|---|
| Controller |
BillController, BillBeanController, BillItemController
|
| Page |
opd/opd_bill.xhtml, opd/opd_bill_ac.xhtml (autocomplete variant) |
| Privilege | OpdBilling |
| Bill entity |
Bill (BillType.OpdBill) |
| Payment entity | Payment |