senuka.dev

#9axlopayroll.md

AxloPayroll

Monthly payroll and tax for Sri Lankan companies, with an approval flow from draft to locked.

Origin
Tecciance
Role
Software Engineer
Period
2026

overview.md

AxloPayroll runs monthly payroll and tax for Sri Lankan companies, and it was built at Tecciance. An HR admin starts a run. The engine reads salary structures, attendance, leave and allowances, then applies the company's tax configuration of 50+ configurable rules for APIT, EPF and ETF.

A run moves through a state machine: draft, HR review, finance approval, locked. A rejection returns it to draft, and a locked run cannot be edited. A run produces payslips, a bank transfer file, and the APIT, EPF and ETF returns.

what-i-built.md

I built the calculation engine and the tax configuration in NestJS. For reports I added raw PostgreSQL queries alongside Prisma.

what-it-changed.md

  • −25%Processing errors
  • −45%Manual payroll work
  • +30%Salary accuracy
  • −35%Query latency

Processing errors fell by 25%. The raw SQL reports cut query latency by 35%. Manual payroll work dropped by 45%, and salary computation became 30% more accurate.

Stack

stack.diff

  • Next.js
  • NestJS
  • Prisma
  • PostgreSQL