Skip to main content

Story 4: Payroll Processing System

Overview​

FieldValue
Story IDNGE-15-4
Story Points21
SprintSprint 17
LanguageNode.js + Go

User Story​

As a HR Admin
I want to process monthly payroll
So that staff salaries are calculated accurately

Salary Components​

Earnings​

  • Basic Salary
  • HRA (House Rent Allowance)
  • DA (Dearness Allowance)
  • TA (Transport Allowance)
  • Medical Allowance
  • Special Allowance

Deductions​

  • PF (12% of basic, max ₹15000)
  • ESI (0.75% if gross < ₹21000)
  • Professional Tax
  • TDS
  • Loss of Pay

Go Salary Processor​

  • Batch processing (50 staff at a time)
  • Concurrent calculation using goroutines
  • Pro-rata calculation for absences
  • Automatic tax calculation