Section 4: Integrate Billing & Payment

Overview

What is a calculator?

In governments, each region, city or state has custom rates and charges for the same domain. For example, birth certificate registration rates may differ from city to city and the way it is computed can also vary. This cannot be generalised into a platform service. However, billing is a generic platform service.

The way DIGIT solves for this is to "unbundle" the problem and separate out billing from calculations. A customisable service called a "calculator" is used for custom calculation. The calculator then calls the billing service to generate the bill. Each service/module ships with a "default" calculator which can then be customised for that city.

Resources

Postman collection of btr-calculator is available here.

Last updated

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