MOD FIN 003 BIL
Domain specifications / D05-FIN / 5. Detailed Functional Requirements / 5.3 Module Specification: Patient Account, Billing and Invoicing
5.3 Module Specification: Patient Account, Billing and Invoicing¶
5.3.1 Module Overview¶
Module ID: MOD-FIN-003 (code BIL)
Purpose:
Maintain the patient account and the patient and payer receivable ledgers, produce invoices and credit notes, and correct posted entries only through reversal and adjustment.
Business Capabilities: - CAP-FIN-003 Patient accounting and billing
Primary Actors: - Billing officer (ACT-FIN-001), finance supervisor (ACT-FIN-005), auditor (ACT-FIN-018)
Dependencies: - MOD-FIN-001, MOD-FIN-002, MOD-FIN-005, MOD-FIN-006, MOD-FIN-007 - Domain 1 patient and encounter; Domain 7 as consumer of the statement read model
5.3.2 Functional Areas¶
Functional Area ID: FA-FIN-005 Patient account and receivables
Description:
The account as the aggregate of charges, payments and adjustments, with separate patient and payer receivables.
Scope: - Included: account lifecycle, balances, deposits held, collections status, guarantor billing and payment plans, statement read model. - Excluded: portal presentation (Domain 7); hand-over to an external collections agency (not in the first release).
Functional Area ID: FA-FIN-006 Invoicing and adjustments
Description:
Invoice generation and all corrections to posted financial entries.
Scope: - Included: invoices, interim and supplementary invoices, credit notes, reversals, adjustments, billing estimates. - Excluded: general ledger accounting (external).
5.3.3 Detailed Requirements¶
Requirement FR-FIN-BIL-001: Patient account and accounts receivable ledgers¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-FIN-BIL-001 |
| Requirement Name | Patient account and accounts receivable ledgers |
| Requirement Type | Functional |
| Module | Patient Account, Billing and Invoicing |
| Functional Area | FA-FIN-005 Patient account and receivables |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | RCM-011, FIN-003; contributes to PAT-011, ADM-007 |
| Related Business Rule | BR-FIN-007 |
| Related Workflow | WF-FIN-003 |
1. Requirement Statement
The system shall maintain patient and payer accounts receivable ledgers that record charges, deposits, co-payments, payments, adjustments, refunds and collections status, such that each account balance reconciles across charges, payments and adjustments at all times.
2. Business Rationale
RCM-011 requires patient and payer receivable ledgers whose balance reconciles; FIN-003 requires auditable, balanced postings.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Billing officer | Read accounts; request transfer to collections (with any write-off of the account) | Assigned facility |
| Cashier | Read account balance | For payment taking |
| Finance supervisor | Read; approve status changes such as transfer to collections or write-off, as an approval request on UI-FIN-006 (OV-89, OV-129) | Per configured policy; not the requester |
| Patient (through Domain 7) | Read own statement and payment status | Verified portal identity or authorized representative |
4. Preconditions - The patient and encounter exist in Domain 1.
5. Trigger - First financial posting for an encounter; any subsequent posting; a status change request.
6. Functional Behaviour
- The system opens an account linked to the patient and to one or more encounters on the first financial posting or on encounter opening, as configured.
- The system records every posting to the account as an append-only ledger entry with type, amount, currency, references and timestamps.
- The system maintains patient receivable and payer receivable separately, by coverage layer for payer amounts.
- The system holds deposits as credit on the account until allocated or refunded.
- The system computes the balance from ledger entries and exposes it by encounter, by payer and in total.
- The system records an account status and a collections status and their changes with reason.
- The system provides a statement read model containing invoices, payments and outstanding amounts for Domain 7 to present where the portal billing view is enabled.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Patient identifier | Identifier | Yes | Resolves in Domain 1 | Account holder |
| Encounter / CIN | Identifier | Yes | Exists | Links account to care |
| Ledger entry type | Code | Yes | Charge, payment, deposit, adjustment, refund, reversal | Posting type |
| Amount and currency | Decimal, code | Yes | Sign consistent with type | Value |
| Reference to originating record | Reference | Yes | Resolves | Charge item, receipt, invoice, credit note or claim response |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-BIL-001-01 | Balance is derived from ledger entries, not stored as an independently editable value | Balance always reconciles |
| PR-BIL-001-02 | An account with a non-zero balance or open claim cannot be closed | No orphan receivable |
| PR-BIL-001-03 | Ledger entries are never updated or deleted | Complete history |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Account view | Screen / API | Billing, cashier | Entries, balances, statuses |
| Statement read model | API | Domain 7 | Patient-facing statement and payment status |
| Receivables ageing data | Events / extract | Domain 8 | For AR reporting |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Close account with open balance | Balance check | Reject | "Account has an outstanding balance" |
| Posting with unresolved reference | Reference check | Reject posting; raise exception | "Originating record not found" |
11. State and Lifecycle Behaviour
Account states: Open, Billed, Settled, In collections (section 4.3), shown as "Open", "Billed", "Settled" and "In collections · [date]" (glossary 10). "Active" and "Closed" are not used for accounts, because they keep other meanings (CUX-18, PH-19). A transfer to collections is an approval request ("Transfer to collections") and takes effect only when Approved. Status changes do not alter ledger entries.
12. Audit Requirements
The system shall audit account opening, status changes with reason, and every view of an account by a user, in addition to the ledger entries themselves.
13. Security and Privacy Requirements
Account data is Confidential personal data. Access is by role, facility and purpose. The statement read model exposes only the patient's own authorized information (PAT-011) and applies privacy labels to service descriptions.
14. Acceptance Criteria
- AC-01: Given an account with charges, a deposit, a payment and an adjustment, when the balance is displayed, then it equals charges less payments and deposit applied, plus or minus adjustments, and matches an independent sum of ledger entries.
- AC-02: Given a patient with primary and secondary coverage, when charges are split, then payer receivable is shown per coverage layer and patient receivable separately.
- AC-03: Given an account with an open balance, when closure is attempted, then it is rejected.
- AC-04: Given the portal billing view is enabled, when the patient requests a statement, then only that patient's invoices and payment status are returned.
15. Dependencies and Integration
- Upstream dependencies: MOD-FIN-001, MOD-FIN-006, MOD-FIN-004; Domain 1.
- Downstream dependencies: MOD-FIN-007; Domain 7; Domain 8.
- Required events or APIs: IF-FIN-006 statement read API.
16. Open Questions / Assumptions
- Whether an account spans one encounter or several (episode or guarantor level) is an open design decision (DEC-FIN-006).
Requirement FR-FIN-BIL-002: Invoice generation and credit notes¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-FIN-BIL-002 |
| Requirement Name | Invoice generation and credit notes |
| Requirement Type | Functional |
| Module | Patient Account, Billing and Invoicing |
| Functional Area | FA-FIN-006 Invoicing and adjustments |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | FIN-003, FIN-002; contributes to NFR-012 |
| Related Business Rule | BR-FIN-006, BR-FIN-008 |
| Related Workflow | WF-FIN-003 |
1. Requirement Statement
The system shall generate invoices for patient and payer liability from posted charge items, applying coverage, co-payment, discount and tax rules, and shall correct an issued invoice only by credit note and re-invoicing.
2. Business Rationale
FIN-003 requires billing, invoice and credit notes with balanced, auditable postings. An issued invoice is a financial document and must not be edited.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Billing officer | Create, issue invoices; request credit note | Assigned facility |
| Finance supervisor | Approve credit notes above threshold | Different user from requester |
| Cashier | Read invoice; issue an invoice at point of payment where permitted | Outpatient cash workflows |
4. Preconditions - The account has posted, uninvoiced charge items.
5. Trigger - Discharge or visit completion; interim billing schedule (CFG-FIN-026); user request.
6. Functional Behaviour
- The system selects uninvoiced posted charges for the account and period and groups them into invoices by liable party.
- The system applies liability split, co-payment, discount and tax through FR-FIN-TAR-002 and shows the calculation per line.
- The system assigns each issued invoice a unique, never-reused number from a configured sequence per facility or legal entity.
- The system supports interim invoices during an encounter and supplementary invoices for charges posted after issue. On the interim billing schedule of CFG-FIN-026 it prepares a draft interim invoice to the cut-off and raises an interim billing task for the billing officer, who reviews and issues it.
- The system issues a credit note that references the invoice and the lines credited, for full or partial value, with reason. A credit note within the threshold of CFG-FIN-006 is issued on request; above it, it is Awaiting approval with no ledger effect until a finance supervisor other than the requester approves it on UI-FIN-006, or Rejected with reason.
- The system renders invoices and credit notes in the configured language, currency, date and number formats, with content required by the jurisdiction profile. Invoices and credit notes do not carry the certified electronic signature; in a claim package the signed documents are the clinical documents, such as the discharge summary from Domain 3 (DEC-CLI-009; EXT-FIN-003).
- The system publishes InvoiceIssued and records the receivable on the account.
- The system shows outstanding charge exceptions for the encounter before issue so that the officer can decide whether to proceed.
- The system reports the number sequences of invoices, credit notes and receipts per facility or legal entity, listing every gap and every number not issued with its reason (REP-FIN-021); the report is run from the invoice and credit note workspace (UI-FIN-004).
- Numbering (settled 17 Nov 2026, GAP-FIN-003). Invoices, credit notes and receipts each have one sequence per facility per calendar year, restarting at 1 on 1 January, in the format [type]/[facility code]/[YYYY]/[7-digit number], for example INV/RSU01/2027/0000123, with CN for credit notes and RCP for receipts (CFG-FIN-007). A number is taken only at issue, never at draft.
- Mandatory content (Indonesia profile). Every invoice shows: the legal entity's name, address and NPWP; the facility; the document title, number and issue date; the patient's name, medical record number and NIK where recorded; the encounter, admission and discharge dates and room class for an inpatient; the liable party and, for a payer, the guarantee or policy reference; one line per service or item with service date, quantity, unit price, discount and amount; the tax per line where tax applies; the total, deposits and payments applied and the balance due; the payment instructions; and the name of the issuing officer. Documents are in Bahasa Indonesia, with English as the second language on request. Amounts are in rupiah, rounded to whole rupiah. A credit note also shows the number and date of the invoice it corrects and the reason.
- Tax. Tax treatment is set per charge item class (CFG-FIN-019). Medical and health services are exempt from VAT (PP 49/2022), including medicines and supplies given as part of care. Goods sold separately, such as outpatient pharmacy sales and retail items, are VAT-able at the general rate on the tax base the law sets (in 2026, 12% on a base of 11/12 of the price, PMK 131/2024). An invoice with VAT-able lines shows the base and the VAT apart from the exempt lines.
- e-Faktur. Only where the legal entity is a VAT-registered business (PKP) and an invoice has VAT-able lines, the system lists the invoice for a tax invoice (faktur pajak) and exports the day's list in the import file of the tax authority's Coretax system (XML), for upload by the tax officer of the finance team. The tax invoice number returned by Coretax is recorded on the invoice. No other invoice is sent to Coretax, and the HIS has no direct connection to it in the first release.
- Stamp duty. A receipt for money received above Rp 5,000,000 carries the stamp duty mark (bea meterai, Rp 10,000, UU 10/2020), printed or applied electronically (e-meterai); the threshold and amount are configured in CFG-FIN-019.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Account / encounter | Identifier | Yes | Active account | Scope |
| Billing period or cut-off | Date-time | No | Not in the future | For interim billing |
| Liable party | Reference | Yes | Patient or a coverage on the encounter | Addressee |
| Credit note reason | Code / text | Yes for credit notes | From configured list | Accountability |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-BIL-002-01 | A charge item appears on at most one un-credited invoice per liable share | No double billing |
| PR-BIL-002-02 | Invoice total equals the sum of its lines including tax and rounding under the configured rule | Arithmetic integrity |
| PR-BIL-002-03 | Credit note value cannot exceed the un-credited value of the referenced invoice | No over-crediting |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Invoice | Document (print and electronic) and record | Patient, payer | Itemised bill |
| Credit note | Document and record | Patient, payer | Correction of an invoice |
| InvoiceIssued event | Domain event | MOD-FIN-004, MOD-FIN-007, Domains 7 and 8 | Invoice issued |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| No uninvoiced charges | Selection check | No invoice created | "No charges to invoice" |
| Edit of an issued invoice attempted | State check | Reject | "Issued invoices are corrected by credit note" |
| Credit exceeds remaining value | Value check | Reject | "Credit exceeds invoice value" |
| Credit note above the threshold | Threshold check | Approval request; not issued | "Awaiting approval" |
| Requester approves own credit note | Segregation check | Reject | "Approval requires a different user" |
11. State and Lifecycle Behaviour
Invoice: Draft, Issued, Partially paid, Settled, Credited in full (shown "Credited in full · [credit note number]"; section 4.3). An issued invoice is never "Cancelled", because it took effect. Credit note: Awaiting approval, Issued, Rejected. Charge items move to Invoiced on issue and return to Posted (uninvoiced) when credited for re-invoicing.
12. Audit Requirements
The system shall audit invoice issue, printing and reprinting, export, and credit note request, approval and issue, with user, time and reason.
13. Security and Privacy Requirements
Invoices contain personal and care-related data and are Confidential. Printing and export are audited (SEC-006). Itemisation of sensitive services follows configured privacy rules.
14. Acceptance Criteria
- AC-01: Given posted charges on an insured encounter, when an invoice run is executed, then a payer invoice and a patient invoice are produced whose totals together equal the priced charges including tax.
- AC-02: Given an issued invoice with an error, when the officer corrects it, then a credit note referencing the invoice is issued and a new invoice is generated; the original remains retrievable and unchanged.
- AC-03: Given a charge posted after invoice issue, when billing is run again, then the charge appears on a supplementary invoice and on no other.
- AC-04: Given two invoices issued concurrently, when numbers are assigned, then both are unique and sequential gaps are listed on the number sequence report (REP-FIN-021).
- AC-05: Given a credit note above the threshold, when it is requested, then it is Awaiting approval with no ledger effect; when a different user approves it, it is Issued; when it credits the full remaining value, the invoice is Credited in full.
- AC-06: Given an inpatient stay longer than the interim billing interval, when the schedule runs, then a draft interim invoice to the cut-off and an interim billing task exist.
15. Dependencies and Integration
- Upstream dependencies: MOD-FIN-001, MOD-FIN-002, MOD-FIN-005; Domain 1 discharge events.
- Downstream dependencies: MOD-FIN-004, MOD-FIN-006, MOD-FIN-007; Domain 7; Domain 8; Domain 10 document service for stored invoice documents.
- Required events or APIs: EVT-FIN-002 InvoiceIssued.
16. Open Questions / Assumptions
- Mandatory invoice content, numbering and tax for the Indonesia profile are set in parts 6.10 to 6.14 (settled 17 Nov 2026, GAP-FIN-003). Another jurisdiction replaces them through its country profile.
Requirement FR-FIN-BIL-003: Corrections by reversal and adjustment¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-FIN-BIL-003 |
| Requirement Name | Corrections by reversal and adjustment |
| Requirement Type | Functional |
| Module | Patient Account, Billing and Invoicing |
| Functional Area | FA-FIN-006 Invoicing and adjustments |
| Priority | Must |
| Criticality | Critical |
| Requirement Status | Draft |
| Source | FIN-007, RCM-005; contributes to NFR-014, SEC-006 |
| Related Business Rule | BR-FIN-006, BR-FIN-013 |
| Related Workflow | WF-FIN-005 |
1. Requirement Statement
The system shall represent every correction to a posted charge, payment or other financial ledger entry as a reversing or adjusting transaction linked to the original, and shall not permit a posted financial ledger entry to be destructively overwritten or deleted by any user or service.
2. Business Rationale
FIN-007 and RCM-005 require reversal and adjustment entries so that the audit trail reconciles original, reversal and adjustment. PRS section 7.2 requires append-only financial ledgers.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Billing officer | Create reversal or adjustment | Within role limit; reason mandatory |
| Finance supervisor | Approve reversal, adjustment or write-off | Different user from requester; above threshold or for configured types |
| Any user or administrator | No update or delete of posted entries | Not available through any interface |
4. Preconditions - The entry to be corrected is posted and not already fully reversed.
5. Trigger - A user correction request; a source cancellation or correction event; a payer adjudication adjustment.
6. Functional Behaviour
- The system creates a reversing entry equal and opposite to the original, referencing it.
- Where a corrected value applies, the system creates a new entry referencing both the original and the reversal.
- The system requires a reason code and free-text reason for every correction.
- The system routes corrections that meet the approval condition (CFG-FIN-006) for approval before posting, as an approval request decided on UI-FIN-006: Awaiting approval, then Approved (posted) or Rejected (nothing posted). An approver can approve only within the limit of CFG-FIN-025; above it the request goes to a finance supervisor whose limit covers it.
- The system propagates the effect to dependent records: invoices (by credit note), claims (flag for correction or resubmission) and finance postings (correcting posting in the open period).
- The system provides a view and report that show the original, its reversal and its adjustment together.
- The persistence layer exposes no operation that updates the amount, account, type or references of a posted entry.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Original entry reference | Identifier | Yes | Posted; not already reversed | Target |
| Correction type | Code | Yes | Reversal, adjustment, write-off | Kind |
| Corrected amount or quantity | Decimal | For adjustment | Valid for type | New value |
| Reason code and text | Code, text | Yes | From configured list; text not empty | Accountability |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-BIL-003-01 | An entry can be reversed once | No double reversal |
| PR-BIL-003-02 | Reversal and adjustment post with the current posting time and retain the original service date | Correct period and pricing |
| PR-BIL-003-03 | Requester and approver must differ where approval applies | Segregation of duties |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Reversal and adjustment entries | Ledger records | Account, finance posting | Correction |
| Correction trail | Screen / report | Finance, auditor | Original, reversal, adjustment linked |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Entry already reversed | State check | Reject | "Entry has already been reversed" |
| Missing reason | Mandatory check | Reject | "A reason is required" |
| Self-approval | Segregation check | Reject | "Approval requires a different user" |
11. State and Lifecycle Behaviour
The original entry's state becomes Reversed; its content is unchanged. The reversal and adjustment are themselves posted entries subject to the same rule. A correction that needs approval is an approval request: Awaiting approval, Approved, Rejected (section 4.3).
12. Audit Requirements
The system shall audit request, approval, rejection and posting of each correction with user, time, reason and the linked entry identifiers. The ledger itself is the before-and-after record.
13. Security and Privacy Requirements
Correction permissions are granted by role with amount limits (CFG-FIN-025). Approval is confirmed with a confirmation summary of patient, item, amount and resulting state; no re-authentication or sign step is asked for (section 9.1). Administrative database access to financial stores is restricted, monitored and audited (NFR-014; section 9).
14. Acceptance Criteria
- AC-01: Given a posted charge with the wrong quantity, when it is corrected, then the ledger contains the original, a reversing entry and a new entry, all linked, and the account balance reflects only the corrected value.
- AC-02: Given any posted ledger entry, when an update or delete is attempted through the user interface or API, then it is refused and the attempt is audited.
- AC-03: Given a correction above the approval threshold, when it is submitted, then it has no ledger effect until approved by a different user.
- AC-04: Given a sample of corrected entries, when the audit trail report is run, then original, reversal and adjustment reconcile.
15. Dependencies and Integration
- Upstream dependencies: MOD-FIN-001 (automatic reversals), MOD-FIN-004 (adjudication adjustments), Domain 1 (encounter correction events).
- Downstream dependencies: MOD-FIN-007, Domain 8.
- Required events or APIs: ChargeReversed / AdjustmentPosted event (EVT-FIN-010, proposed).
16. Open Questions / Assumptions
- Approval thresholds and the list of correction types that always require approval are proposed configuration (CFG-FIN-006, ASM-FIN-004).
Requirement FR-FIN-BIL-004: Billing estimates¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-FIN-BIL-004 |
| Requirement Name | Billing estimates |
| Requirement Type | Functional |
| Module | Patient Account, Billing and Invoicing |
| Functional Area | FA-FIN-006 Invoicing and adjustments |
| Priority | Should |
| Criticality | Medium |
| Requirement Status | Draft |
| Source | REF-004 section 5.9; common hospital practice (GAP-FIN-011, closed 17 Nov 2026); contributes to FIN-002 |
| Related Business Rule | — |
| Related Workflow | WF-FIN-003 |
1. Requirement Statement
The system shall produce a billing estimate for a planned admission, procedure or package, priced with the tariff and rules that would apply, split between the patient and the payer, and shall keep it as a record that is not a charge, an invoice or a receivable.
2. Business Rationale
Patients and guarantors in Indonesian private hospitals commonly ask for a cost estimate before an elective admission or procedure, and the deposit asked at admission is based on it.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Billing officer, cashier | Create, update and print estimates | Facility assignment |
| Insurance verification officer | Add the payer share from the guarantee or coverage | Assigned payers |
4. Preconditions - The patient is registered; the planned services, room class and expected length of stay are known.
5. Trigger - A request from the patient, the guarantor or the admitting unit.
6. Functional Behaviour
- The system prices the planned services, room class and length of stay through the pricing API (IF-FIN-002), with the tariff version and rule versions of the planned service date.
- The system splits the estimate between payer and patient from the coverage on record, and shows the guaranteed amount where a guarantee letter is recorded (FR-FIN-PAY-003).
- The system shows a low and a high value where the length of stay or services vary, and proposes a deposit equal to the patient share of the high value, which the cashier may change within role limits.
- The system prints the estimate with the number EST/[facility code]/[YYYY]/[7-digit number], the date, a validity of 30 days and the statement "This is an estimate, not an invoice. The final bill is based on the services given."
- On admission or encounter opening, the system links the estimate to the encounter; at discharge it shows the estimate against the actual charges on the account.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Patient | Identifier | Yes | Registered | Addressee |
| Planned services or package | Reference list | Yes | Active in the charge master | What is estimated |
| Room class and expected length of stay | Code, integer | For an admission | Class exists; days 1 to 60 | Accommodation |
| Coverage | Reference | No | Valid on the planned date | Payer share |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-BIL-004-01 | An estimate creates no charge, invoice, receivable or ledger entry | No financial effect |
| PR-BIL-004-02 | The tariff and rule versions used are recorded on the estimate | Reproducible estimate |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Billing estimate | Document and record | Patient, guarantor | Estimated cost, payer and patient shares, proposed deposit |
| Estimate against actual | Screen | Billing officer | Comparison at discharge |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Service with no price for the class | Pricing | Line shown without price; estimate marked incomplete | "No price for [service] in class [class]" |
| Estimate past validity | Date check | Shown as expired; re-pricing offered | "Estimate expired · re-price" |
11. State and Lifecycle Behaviour
Estimate: Draft, Issued, Linked (to an encounter), Expired.
12. Audit Requirements
The system shall audit creation, printing, re-pricing and linking of an estimate.
13. Security and Privacy Requirements
Estimates hold planned services and are Confidential; access follows the billing roles.
14. Acceptance Criteria
- AC-01: Given a planned admission with a package and a coverage, when an estimate is made, then payer and patient shares and a deposit proposal are shown, and no ledger entry exists.
- AC-02: Given an estimate linked to an encounter, when the patient is discharged, then the estimate and the actual charges are shown side by side.
15. Dependencies and Integration
- Upstream dependencies: MOD-FIN-002, MOD-FIN-005.
- Downstream dependencies: MOD-FIN-006 (deposit).
- Required events or APIs: IF-FIN-002.
16. Open Questions / Assumptions
- None. Added 17 Nov 2026 from common practice (GAP-FIN-011).
Requirement FR-FIN-BIL-005: Guarantor billing and payment plans¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-FIN-BIL-005 |
| Requirement Name | Guarantor billing and payment plans |
| Requirement Type | Functional |
| Module | Patient Account, Billing and Invoicing |
| Functional Area | FA-FIN-005 Patient account and receivables |
| Priority | Should |
| Criticality | Medium |
| Requirement Status | Draft |
| Source | Common hospital practice (GAP-FIN-011, closed 17 Nov 2026); contributes to RCM-011, FIN-003 |
| Related Business Rule | BR-FIN-006 |
| Related Workflow | WF-FIN-003 |
1. Requirement Statement
The system shall let the patient share of an account be billed to a responsible person other than the patient (guarantor), and shall let an outstanding patient balance be settled by an approved payment plan of instalments.
2. Business Rationale
A minor, a dependent adult or an unconscious patient is billed through a family member or other responsible person, and patients who cannot pay a large balance at discharge commonly agree a repayment schedule with the hospital.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Billing officer | Record the guarantor; propose a payment plan | Facility assignment |
| Finance supervisor | Approve a payment plan | Different user from the proposer |
| Cashier | Take instalment payments | Open cashier session |
4. Preconditions - The account has a patient share; for a plan, an issued invoice with an outstanding patient balance.
5. Trigger - Registration or admission (guarantor); a request at or after discharge (plan).
6. Functional Behaviour
- The system records the guarantor on the account: name, NIK, relationship to the patient, address and telephone, with the signed statement of responsibility (surat pernyataan penanggung jawab) as a document. Domain 1 holds the person as a related person where one exists.
- The system addresses the patient invoices and statements of that account to the guarantor, showing the patient as the person treated.
- The billing officer proposes a payment plan for an outstanding patient balance: down payment, number of instalments (at most 12), amount and due date of each, and no interest. The plan is an approval request on UI-FIN-006 and takes effect only when a finance supervisor approves it.
- An approved plan does not change the receivable; the cashier takes each instalment as a normal payment against the invoice (FR-FIN-CSH-001), and the account shows "Payment plan · [n] of [m] paid".
- An instalment unpaid 7 days after its due date creates a task for the billing officer and sets the plan to "Overdue". After 30 days overdue, the officer may cancel the plan; the full balance is then due and follows the hospital's internal reminder process.
- The system does not hand debts to an external collections agency. Collections agency processes are out of scope for the first release.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Guarantor name, NIK, relationship, contact | Text, identifier, code | Yes for a guarantor | NIK 16 digits | Responsible person |
| Statement of responsibility | Document | Yes for a guarantor | Stored in the Domain 10 document service | Evidence |
| Plan: down payment, instalments, amounts, due dates | Structured | Yes for a plan | Sum equals the outstanding balance; at most 12 instalments | Schedule |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-BIL-005-01 | The sum of the down payment and instalments equals the patient balance at approval | Plan covers the balance |
| PR-BIL-005-02 | A credit note or adjustment on the invoice reduces the last instalments first | Plan stays consistent |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Payment plan agreement | Document | Patient or guarantor | Schedule to sign |
| Plan status | Screen, statement | Billing officer, cashier, portal | Paid and due instalments |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Instalments do not sum to the balance | Sum check | Reject | "Instalments do not equal the balance" |
| Proposer approves own plan | Segregation check | Reject | "Approval requires a different user" |
11. State and Lifecycle Behaviour
Payment plan: Awaiting approval, Active, Overdue, Completed, Cancelled, or Rejected at approval. Screens show the glossary words: Active as "Payment plan · [n] of [m] paid" and Cancelled as "Ended by [name] · [reason] · full balance due" (design glossary section 10).
12. Audit Requirements
The system shall audit guarantor recording and change, plan proposal, approval, each instalment, overdue and cancellation.
13. Security and Privacy Requirements
The guarantor sees the bill of the account they are responsible for, not the clinical record. Guarantor data is personal data under UU 27/2022 (PDP).
14. Acceptance Criteria
- AC-01: Given an account with a guarantor, when the patient invoice is issued, then it is addressed to the guarantor and shows the patient as the person treated.
- AC-02: Given an approved plan of 6 instalments, when 2 are paid, then the account shows "Payment plan · 2 of 6 paid" and the receivable equals the unpaid instalments.
- AC-03: Given an instalment unpaid 7 days after its due date, when the check runs, then the plan is Overdue and the billing officer has a task.
15. Dependencies and Integration
- Upstream dependencies: FR-FIN-BIL-001, FR-FIN-BIL-002; Domain 1 related persons.
- Downstream dependencies: MOD-FIN-006; Domain 7 statement read model (IF-FIN-006).
- Required events or APIs: EVT-FIN-005 PaymentPosted.
16. Open Questions / Assumptions
- None. Added 17 Nov 2026 from common practice (GAP-FIN-011).
← 5.2 Module Specification: Tariff, Price List and Package Management | Contents | Identifier index | 5.4 Module Specification: Claims Preparation, Submission and Status Tracking →