Story 4: Payroll Processing System
Overview​
| Field | Value |
|---|---|
| Story ID | NGE-15-4 |
| Story Points | 21 |
| Sprint | Sprint 17 |
| Language | Node.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