Overview
Trade License Calculator service is used to calculate the Trade license fees / renewal fees based on the defined billing slabs. This service enables the TL admins to create billing slab with different combination of license type, trade type, structure type and accessory type.
The service is designed in such way that it can be used to serve different type of licenses.
...
Code Block |
---|
[ { "rolecode": "TL_ADMIN", "actionid": "{{PLACEHOLDER1}}", "actioncode": "", "tenantId": "pb" }, { "rolecode": "TL_ADMIN", "actionid": "{{PLACEHOLDER2}}", "actioncode": "", "tenantId": "pb" }, { "rolecode": "TL_CREATOR", "actionid": "{{PLACEHOLDER3}}", "actioncode": "", "tenantId": "pb" }, { "rolecode": "TL_CEMP", "actionid": "{{PLACEHOLDER3}}", "actioncode": "", "tenantId": "pb" }, { "rolecode": "TL_CEMP", "actionid": "{{PLACEHOLDER4}}", "actioncode": "", "tenantId": "pb" } ] |
Integration
Integration Scope
tl-calculator will be integrated with tl-services. tl-services internally invoke the tl-calculator service to calculate and generate demand for the charges.
Integration Benefits
Tl calculator application is used to calculate the Trade license Fees based on the different billing slabs in the DB that's why the calculation and demand generation logic will be separate out from TL services.
So in future, if calculation logic need to modify then changes can be carry out for each implementation without modifying the TL services.
Steps to Integration
TL application to call
/tl-calculator/v1/_calculate
to calculate and generate the demand for the TL applicationULB Employee can create billing slab calling
/tl-calculator/billingslab/_create
ULB Employee can update billing slab calling
/tl-calculator/billingslab/_update
ULB Employee can search billing slab calling
/tl-calculator/billingslab/_search
...
Reference Docs
Doc Links
Title | Link |
API Swagger Contract | |
Trade License Document |
API List
Title | Link |
| |
| |
| |
|
(Note: All the API’s are in the same postman collection therefore same link is added in each row)