Expense Calculator

The expense calculator is an implementation-specific service that works in tandem with the expense service. This service holds all the specific business logic in computing expenses and calls the billing service with the correct payload to create a bill. Once the bill is generated Excel and Pdf are generated by the calculator service.

There are three types of bills in HCM:

  • Wage bill - generated from an approved muster roll and to be paid to wage seekers on completion of work

API Specifications

Base path: /health-expense-calculator/v1/

The API specification is available here. To view it in the Swagger editor, click below.

Swagger Editor

Dependency

  • DIGIT backbone services

  • Persister

  • MDMS

  • Attendance

  • Muster roll

  • Project

  • Individual

  • Expense

  • Localization

  • PdfService

  • Filestore

Master Data

  • Worker rates

Sequence Diagrams

Bill generation
Excel/PDF generation

DB diagram

MDMS data

Last updated

Was this helpful?