Skip to main content

Single Bill Generation User Story Document

1. Problem Statement

User Role: Billing Manager

  • Unable to generate bills for individual consumers outside of billing cycles
  • Forced to wait until the next billing cycle to address consumer disputes or corrections
  • Difficulty handling mid-cycle activation requiring immediate billing
  • Delays in revenue collection due to inability to generate off-cycle bills
  • Inefficient process for handling meter replacements that require immediate billing

Core Problem

The current utility management platform restricts bill generation to batch processing within billing cycles, but there are numerous scenarios where Billing Managers need to generate bills for individual consumers immediately, leading to delays in dispute resolution, revenue collection issues, and an overall inefficient billing process.

2. Who Are the Users Facing the Problem?

Billing Manager

  • Responsible for generating and managing utility bills
  • Handles consumer billing disputes and corrections
  • Manages billing cycles and ensures timely bill generation
  • Needs to generate individual bills for special cases
  • Should have full access to the Single Bill Generation feature

3. Jobs To Be Done

For [Billing Manager]: When I need to generate a bill for a single consumer outside the regular billing cycle, But I am restricted to generating bills only during scheduled billing cycles, Help me create individual bills on-demand for specific consumers, So that I can resolve disputes promptly, process mid-cycle activation immediately, and improve revenue collection timing.

For [Billing Manager]: When I need to correct an erroneous bill for a consumer, But I have to wait until the next billing cycle to make these corrections, Help me generate a corrected bill immediately after identifying the error, So that I can maintain consumer satisfaction and prevent escalation of complaints.

For [Billing Manager]: When I need to generate a bill after a meter replacement, But I cannot create an immediate bill reflecting the final reading of the old meter and initial reading of the new meter, Help me create special bills that account for meter changes mid-cycle, So that I can ensure accurate consumption tracking and billing during equipment transitions.

4. Solution

The Single Bill Generation feature provides Billing Managers with the ability to create bills for individual consumers on-demand, outside of regular billing cycles. The solution addresses specific pain points by allowing immediate bill generation in the following capability areas:

Consumer Selection

  • Search functionality for quickly finding specific consumers by name or account number
  • Detailed consumer information display with account details and billing history
  • Verification of consumer category and sub-category information

Billing Period Management

  • Flexible selection of custom billing periods with precise start and end dates
  • Ability to set billing periods outside standard cycles
  • Clear visualization of the billing period being used for the individual bill

Meter Reading Processing

  • Input of current meter readings for consumption calculation
  • Automatic retrieval of previous meter readings
  • Consumption calculation based on the difference between readings
  • Support for handling meter replacement scenarios

Additional Charges Management

  • Option to include or exclude outstanding balances
  • Ability to add late fees when applicable
  • Support for adding other miscellaneous charges
  • Real-time calculation of charges summary

Bill Generation and Output

  • Comprehensive bill summary review before final generation
  • Preview functionality to verify bill contents
  • Multiple output options (download, print)
  • Final bill generation with complete charge breakdown

Billing History Integration

  • Automatic update of billing history with newly generated bills
  • Access to historical bills for reference and comparison
  • Tracking of payment status for generated bills

Audit and Compliance

  • Tracking of who generated individual bills and when
  • Proper documentation of reasons for individual bill generation
  • Maintenance of billing audit trail for compliance purposes

5. Major Steps Involved

Billing Manager Flow:

  1. Access Single Bill Generation Feature
    • Navigate to the Single Bill Generation section from the sidebar menu
    • System displays the Single Bill Generation interface with billing period selection
  2. Select Billing Period
    • Set the "From Date" using the date picker (e.g., March 28th, 2025)
    • Set the "To Date" using the date picker (e.g., April 28th, 2025)
    • System validates the selected billing period
  3. Search for Consumer
    • Enter at least 3 characters of the consumer name or account number in the search field
    • System displays matching results as the user types
    • Select the specific consumer from the search results (e.g., John Smith)
  4. Review Consumer Information
    • System displays consumer details including:
      • Account name (e.g., John Smith)
      • Account number (e.g., WTR-1001245)
      • Category (e.g., Residential)
      • Sub-category (e.g., House)
    • Review billing history including last bill date, amount, payments, and fees
    • Check meter information including meter number, location, and previous readings
  5. Initiate Bill Generation
    • Click "Generate Bill" button to start the bill generation process
    • System transitions to the step-by-step bill generation workflow
  6. Verify Consumer Details
    • Review the displayed consumer information in step 1 of the bill generation workflow
    • Verify account name, number, category, sub-category, and premise information
    • Click "Next Step" to proceed to meter reading entry
  7. Enter Meter Reading
    • System displays meter information including number, type, location, and previous reading
    • Enter the current meter reading in the designated field (e.g., 10)
    • System automatically calculates consumption (current reading - previous reading)
    • Review the consumption calculation
    • Click "Next Step" to proceed to additional charges
  8. Configure Additional Charges
    • Select whether to include or exclude outstanding balance
    • System displays the outstanding balance amount if included
    • Select whether to include or exclude late fees
    • System shows auto-fetched late fees amount if included
    • Select whether to include or exclude other charges
    • Enter the amount for other charges if included
    • Review the charges summary showing individual charges and total amount
    • Click "Next Step" to proceed to bill summary
  9. Review Bill Summary
    • System displays comprehensive bill summary with all consumer information, meter readings, and charges
    • Review the complete breakdown of charges
    • Use optional actions if needed:
      • Click "Preview" to see how the bill will look
      • Click "Download" to save the bill as a file
      • Click "Print" to print the bill
  10. Generate Final Bill
    • Click "Generate Bill" button to finalize and create the bill
    • System processes the bill and adds it to the billing history
    • System provides confirmation of successful bill generation

6. Flow Diagram

flowchart TD
    A[Start: Access Single Bill Generation] --> B[Select Billing Period]
    B --> C[Search for Consumer]
    C --> D[Review Consumer Information]
    D --> E[Initiate Bill Generation]
    E --> F[Step 1: Verify Consumer Details]
    F --> G[Step 2: Enter Meter Reading]
    G --> H[Step 3: Configure Additional Charges]
    H --> I[Step 4: Review Bill Summary]
    I --> J{Actions?}
    J -->|Preview| K[View Bill Preview]
    J -->|Download| L[Download Bill]
    J -->|Print| M[Print Bill]
    K --> I
    L --> I
    M --> I
    J -->|Generate| N[Generate Final Bill]
    N --> O[Confirmation]
    O --> P[End: Bill Added to History]

7. Business Rules

General Rules

  1. Single bills can only be generated for registered consumers in the system.
  2. The billing period must have a valid start and end date with the end date after the start date.
  3. The billing period should not overlap with already generated bills for the same consumer.
  4. Current meter reading must be greater than or equal to the previous reading.
  5. The system must calculate consumption correctly based on current and previous readings.
  6. Outstanding balances must be accurate and reflect all unpaid amounts.
  7. Late fees must be calculated according to the defined fee structure.
  8. Bills must include all mandatory information as per regulatory requirements.

Billing Manager Rules

  1. Billing Managers must have proper authorization to generate individual bills.
  2. An explanation or reason must be provided when generating off-cycle bills.
  3. All manual adjustments to charges must be documented with appropriate notes.
  4. Billing Managers must verify consumer information before generating bills.

Meter Reading Rules

  1. The system must validate that meter readings are within expected ranges.
  2. For new meters, the initial reading should be set correctly.
  3. If a meter reading is less than the previous reading, a meter reset or replacement must be indicated.
  4. Smart meter readings should be auto-fetched when available but can be manually overridden.

Charges and Calculation Rules

  1. The system must use the correct tariff rate based on consumer category and sub-category.
  2. Outstanding balances must include all unpaid amounts from previous bills.
  3. Late fees must be calculated based on the outstanding balance and days overdue.
  4. Additional charges must be itemized and categorized appropriately.
  5. The total bill amount must be the accurate sum of all individual charge components.

Error Handling Rules

  1. If consumption appears abnormally high, the system should display a warning.
  2. If required information is missing, the bill generation process cannot proceed.
  3. If there are connectivity issues, the system must save the draft bill information.
  4. If a duplicate bill is being generated for the same period, the system must warn the user.

8. Acceptance Criteria

  1. The system must allow Billing Managers to select a custom billing period with specific start and end dates.
  2. The system must enable search functionality for consumers by name or account number with a minimum of 3 characters.
  3. The system must display comprehensive consumer information including account details, billing history, and meter information.
  4. The system must allow users to navigate between account details, billing history, and meter information tabs.
  5. The system must initiate the bill generation workflow when the "Generate Bill" button is clicked.
  6. The system must display and allow verification of consumer details in step 1 of the bill generation process.
  7. The system must show meter information and allow entry of current meter reading in step 2.
  8. The system must automatically calculate consumption based on the difference between current and previous readings.
  9. The system must allow configuration of outstanding balance, late fees, and other charges in step 3.
  10. The system must calculate and display real-time charge summaries when changes are made to included charges.
  11. The system must present a comprehensive bill summary showing all consumer information, readings, and charges in step 4.
  12. The system must provide preview, download, and print options for bills before final generation.
  13. The system must successfully generate and store the bill when the final "Generate Bill" button is clicked.
  14. The system must update the billing history with newly generated bills immediately after creation.
  15. The system must validate that meter readings are logical (current reading ≥ previous reading).
  16. The system must handle different consumer categories and sub-categories with appropriate tariff rates.
  17. The system must accurately calculate charges for consumption, outstanding balances, late fees, and other charges.
  18. The system must support navigation between bill generation steps using "Previous Step" and "Next Step" buttons.
  19. The system must maintain data integrity throughout the bill generation process.
  20. The system must ensure that generated bills meet all regulatory and compliance requirements.

9. Process Changes

Current ProcessNew ProcessImpactFrom: Bills can only be generated in bulk during billing cyclesTo: Bills can be generated for individual consumers on-demandImproves response time for consumer inquiries and dispute resolution by approximately 80% by eliminating wait time for next billing cycleFrom: Billing Managers must wait for the next billing cycle to address disputesTo: Billing Managers can immediately generate corrected billsIncreases consumer satisfaction by addressing billing issues without delayFrom: Mid-cycle activations require manual tracking until next billing cycleTo: Mid-cycle activations can be billed immediatelyImproves revenue collection timing and reduces the lag between service provision and billingFrom: Meter replacements cause billing complicationsTo: Special bills can be generated to handle meter changesEnsures accurate consumption tracking and billing during equipment transitionsFrom: Limited visibility into individual consumer billing detailsTo: Comprehensive access to consumer billing information during bill generationEnables more informed decision-making and improved consumer supportFrom: No ability to customize charges for individual billsTo: Flexible inclusion/exclusion of various charge typesAllows for more personalized billing that reflects the specific situation of each consumerFrom: Limited output options for generated billsTo: Multiple output options including preview, download, and printIncreases flexibility in how bills are delivered and stored

10. System Design Details

New Components Needed

  • Single Bill Generation module: Provides the core functionality for generating individual bills
  • Consumer Search component: Enables quick and efficient searching of consumers
  • Bill Preview renderer: Creates visual previews of bills before generation
  • Bill Output processor: Handles different output formats (PDF, print, etc.)
  • Charge Calculator: Dynamically calculates and updates charges based on inputs

Existing Components Affected

  • Billing Cycle Management: Must be updated to recognize individually generated bills
  • Consumer Database: Needs additional fields to track individually generated bills
  • Billing History: Must incorporate individually generated bills alongside cycle bills
  • Reporting System: Needs to include individually generated bills in all reports
  • Payment Processing: Must handle payments for individually generated bills

Integration Points

  • Meter Reading System: To retrieve current and historical meter readings
  • Payment System: To fetch outstanding balances and process payments for individual bills
  • Consumer Management System: To access consumer details and account information
  • Document Management System: For storing generated bills
  • Notification System: To inform consumers of newly generated bills

Data Flows

  1. Consumer data flows from the Consumer Management System to the Single Bill Generation module
  2. Meter reading data flows from the Meter Reading System to the Consumption Calculator
  3. Billing period settings flow to the Charge Calculator
  4. Generated bill data flows to the Billing History and Document Management System
  5. Bill notifications flow to the Notification System for delivery to consumers

11. Impact from Solving This Problem

Impact AreaImprovementJustification✅ Consumer SatisfactionSignificant improvement in dispute resolution timeImmediate bill generation allows for faster resolution of billing issues, reducing consumer frustration and increasing satisfaction✅ Revenue CollectionReduction in revenue collection lagIndividual bills can be generated and sent immediately instead of waiting for next billing cycle, improving cash flow✅ Operational EfficiencyDecreased time spent on manual workaroundsElimination of manual tracking and workarounds previously needed for individual billing situations✅ Billing AccuracyImproved accuracy in special billing scenariosMore precise handling of meter replacements, mid-cycle activations, and other special cases✅ Staff ProductivityIncreased Billing Manager productivityLess time spent explaining delays to consumers and manually tracking special billing cases✅ System FlexibilityEnhanced system capability to handle exceptionsThe ability to address non-standard billing scenarios strengthens overall system flexibility✅ Data IntegrityImproved billing data completenessAll billing events are properly captured in the system, regardless of timing relative to billing cycles

12. User Behavior Tracking

Billing Manager Tracking Plan

MetricEventsPropertiesInsights ProvidedIndividual Bill Generation FrequencyBill_Generation_Started, Bill_Generation_Completedtimestamp, user_id, consumer_id, reason_codeHow often are individual bills being generated? Are there patterns in when they are needed?Bill Generation TimeBill_Generation_Started, Bill_Generation_Completedtimestamp, user_id, steps_completedHow long does it take to complete the bill generation process? Are there bottlenecks?Bill Generation Success RateBill_Generation_Completed, Bill_Generation_Failedtimestamp, user_id, error_code, step_failedWhat percentage of bill generation attempts are successful? What errors occur?Bill Correction FrequencyBill_Generation_Completedtimestamp, user_id, consumer_id, is_correction, previous_bill_idHow often are bills being corrected? Are there patterns that indicate systemic issues?Charge Inclusion PatternsAdditional_Charges_Configuredtimestamp, user_id, included_outstanding, included_late_fees, included_otherWhat charges are typically included in individual bills? Is there consistency in practice?Navigation PatternsPage_Viewed, Tab_Changedtimestamp, user_id, page_name, time_on_pageHow do Billing Managers navigate through the interface? Can the flow be optimized?Search EfficiencyConsumer_Search_Started, Consumer_Search_Completedtimestamp, user_id, search_term, results_count, time_to_selectHow efficiently can Billing Managers find the consumers they need?Output PreferencesBill_Previewed, Bill_Downloaded, Bill_Printedtimestamp, user_id, action_typeWhat are the preferred methods for outputting generated bills?

Key Questions Answered by Tracking

  1. What are the most common reasons for generating individual bills?
  2. Are there specific consumers or consumer categories that require individual bills more frequently?
  3. Which steps in the bill generation process take the longest to complete?
  4. What is the distribution of individual bill generation throughout the month? Is there a pattern relative to billing cycles?
  5. Are there consistent errors or challenges in the bill generation process that could be addressed?
  6. How do Billing Managers use the search functionality, and can it be improved?
  7. What percentage of individual bills are corrections of previous bills, and what does this indicate about billing accuracy?
  8. Do Billing Managers consistently include or exclude certain types of charges in individual bills?
  9. What is the average time spent on each step of the bill generation process?
  10. How often do Billing Managers utilize the preview functionality before generating final bills?