Collect Payment

→ {base url}/mgramseva/household/details/collectPayment

After the demand is generated for Metered and non-metered connections or if any arrears are present, the Revenue collector uses this screen to collect payments.

Collect Payment card is available on the home screen to the user role having COLLECTION_OPERATOR permission.

User Interaction on Screen

  • Users can pay the total due amount by selecting the Full Amount option below Payment Amount.

  • Or, Users can also pay a partial amount by selecting Partial Amount from the Payment Amount options. If Partial Amount is selected, users have to provide the amount that he wants to pay.

  • Clicking on Collect Payment navigates the user to the Payment Success screen. The user can download the receipt or share the receipt for the collected amount.

  • Users can also print mini receipts with the help of Bluetooth thermal printers by selecting the Print mini receipt option.

Logic Implemented for Arrears Breakup

The Arrears is broken into 'BL_(TaxHeadCode)' which we get from Bill details-->Bill Account details ---> Tax Head Code and the amount of particular arrears is similar to the Bill details--> amount from the Fetch Bill API.

(Eg. if there are two bills with tax head codes is 10101 and 10102, then Arrears break up is represented as BL_10101(Water Charges) with the corresponding amount and BL_10102(Water Charges-Arrears) with the corresponding amount)

Files Path

Field Validations

Fields

Validations

Payment Amount : Full Amount or Partial Amount

None

Partial Amount (If Partial Amount is selected)

r'^[0-9]+$' , Can not be 0 or greater than Full Amount

Payment Method

None

API Details

API EndPoint

Input Params (Modules)

Description

egov-mdms-service/v1/_search

[{"moduleName":"BillingService","masterDetails":[{"name":"BusinessService","filter":"[?(@.code=='WS')]"}]}]

To get the billGeneiURL, Calculation of Water services and collectionModesNotAllowed

billing-service/bill/v2/_fetchbill

consumerCode : {}

businessService : WS

tenantId : {}

To fetch the bills of the connection/Consumer

Stack

1 → Home Screen. + Search Connection Screen + Household Results + Household Details Screen + Collect Payment Screen

Pop → Household Details Screen

Widgets Utilised from Library

Widgets

File Path

Description

BuildTextField

Text Field

BottomButtonBar

Button

RadioButtonField

Radio Buttons for options

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.