Rental Manager
3× faster transaction processing after full stack rewrite and UX overhaul.
| CLIENT SwiftMile Logistics Pvt. Ltd. Jaipur, Rajasthan | PRODUCT PayRoll365 — HR & Payroll Platform Attendance integration, payroll engine, PF/ESI/TDS compliance, Razorpay payouts, employee self-service app | TIMELINE 10 Weeks On time, on budget |
SwiftMile Logistics Pvt. Ltd. is a last-mile logistics company based in Jaipur, operating 5 distribution depots across Rajasthan with a workforce of 380 employees spanning full-time delivery staff, depot supervisors, warehouse workers, and office personnel. The company was growing rapidly — headcount had doubled in 18 months — but its HR and payroll processes had not scaled with it.
Payroll was being calculated manually in Excel by a 3-person HR team every month, a process that took 4 full working days and still produced an average of 14 payslip errors per cycle. Statutory compliance — PF, ESI, and TDS filings — were handled by an external CA with a 3-week lag, creating the risk of late-filing penalties. Employees had no self-service access to payslips, leave balances, or attendance records, generating a constant stream of HR queries.
Key Brains Tech built PayRoll365 — a custom HR and payroll automation platform covering biometric attendance integration, an automated payroll calculation engine (handling all salary components, deductions, and statutory contributions), direct salary disbursement via Razorpay, statutory compliance report generation, and an employee self-service mobile app. Delivered in 10 weeks, PayRoll365 reduced monthly payroll processing from 4 days to 6 hours, eliminated payroll errors, and achieved same-month statutory filing compliance.
| Key Outcomes at a Glance |
| Payroll processing time: 4 days → 6 hours (87% reduction) |
| Payroll errors per cycle: 14 → 0 (three consecutive error-free months post-launch) |
| Statutory compliance: same-month PF/ESI/TDS filing achieved for the first time |
| Employee self-service app: 94% adoption, HR query volume down 68% |
| 10-week end-to-end delivery — within scope and budget |
02 Client & Context
About SwiftMile Logistics Pvt. Ltd.
SwiftMile Logistics was founded in 2019 as a last-mile delivery partner for e-commerce companies and FMCG distributors. By 2025, the company operated 5 depot locations (Jaipur Main, Mansarovar, Ajmer Road, Sikar Road, and Tonk Road), a fleet of 210 delivery vehicles, and a workforce of 380 employees with widely varying salary structures: delivery executives on CTC + incentive models, depot supervisors on fixed monthly salaries, warehouse staff on daily wage or monthly arrangements, and 45 office/management staff on structured pay bands.
The heterogeneous workforce created significant payroll complexity. Delivery executive pay varied month to month based on delivery counts and incentive slabs. Daily-wage staff had to be calculated from the biometric attendance system. Overtime for warehouse staff was manually calculated from supervisor-submitted paper sheets. The combination of these variables made Excel-based payroll not just slow but error-prone.
| Pain Points Before PayRoll365 |
| 4 working days per month spent on payroll calculation by a 3-person HR team |
| Average 14 payslip errors per cycle — employee complaints, manual corrections, morale impact |
| Statutory filings (PF/ESI/TDS) handled externally with a 3-week lag — late filing penalty risk |
| Biometric attendance system had no integration — HR manually copied attendance data into Excel |
| No employee self-service: every payslip, leave balance, or attendance query required an HR call or visit |
| No offer letter or onboarding workflow: new joiners documented on paper, filed in physical folders |
03 Technology Stack
PayRoll365 is built on a React.js frontend, Node.js backend, and MongoDB database. The payroll calculation engine and statutory compliance modules are the most complex components — they encode India’s PF, ESI, and TDS rules in software, eliminating manual computation and the risk of regulatory non-compliance. The employee mobile app is a React Native PWA for Android, covering the majority of SwiftMile’s non-desk workforce.
| Layer | Technology | Purpose |
| Admin Frontend | React.js 18 | HR admin dashboard — employee records, payroll runs, compliance, reports |
| Employee App | React Native (Android PWA) | Employee self-service — payslips, leave requests, attendance, tax documents |
| Backend API | Node.js 20 + Express | Payroll engine, attendance processing, compliance calculations, notifications |
| Database | MongoDB Atlas | Employee records, salary structures, attendance, payroll runs, documents |
| Biometric Integration | ZKTeco API + custom parser | Pull daily attendance from existing ZKTeco biometric devices at all 5 depots |
| Salary Disbursement | Razorpay Payouts API | Direct bank transfer to employee accounts on payroll approval — supports UPI and IMPS |
| Compliance Engine | Custom Node.js module | PF, ESI, TDS, and professional tax calculations with monthly report generation |
| Document Generation | PDFKit (Node.js) | Payslip PDFs, offer letters, Form 16, PF challans auto-generated |
| SMS | MSG91 | Payslip delivery alerts, leave approval notifications, salary credit alerts |
| Storage | AWS S3 | Payslip PDFs, employee documents, Form 16, compliance reports — secure per-employee access |
| Hosting | AWS EC2 + MongoDB Atlas | Reliable, auto-backed-up infrastructure with nightly payroll data snapshots |
04 Solution Architecture
Module 1: Biometric Attendance Integration
SwiftMile already had ZKTeco biometric devices installed at all 5 depot locations. Rather than replacing this hardware, PayRoll365 integrates with it directly:
Module 2: Payroll Calculation Engine
The payroll engine is the core of PayRoll365. It handles SwiftMile’s four distinct employee categories and their respective salary structures:
On the 25th of each month, the HR manager triggers a payroll run from the dashboard. The engine pulls attendance data, calculates gross pay for all 380 employees, applies all deductions (PF employee contribution, ESI, professional tax, TDS, loan EMI deductions where applicable), and produces a payroll register for review. The entire calculation completes in under 4 minutes.
Module 3: Statutory Compliance Engine
The compliance module is what finally brought SwiftMile’s statutory filings in-house and on time:
All compliance documents are generated on payroll run date and available for download from the HR dashboard. The HR team’s role in compliance reduced from 3 days of manual calculation and formatting to a 20-minute download and upload to the relevant government portals.
Module 4: Salary Disbursement via Razorpay Payouts
Module 5: Employee Self-Service Mobile App
The employee app is a React Native Android PWA, installable from a QR code — no app store required, critical for SwiftMile’s delivery executives who use entry-level Android devices.
Module 6: HR Admin & Employee Lifecycle
05 Project Delivery Timeline
| Phase 1 Weeks 1–2 | Discovery, Salary Structure Audit & Architecture Deep dive into all 4 employee category salary structures. PF/ESI/TDS compliance requirements documented. ZKTeco API tested at one depot. MongoDB schema and system architecture signed off by SwiftMile HR and IT leads. |
| Phase 2 Weeks 3–6 | Backend Payroll Engine, Compliance Module & Biometric Integration Node.js payroll calculation engine built and unit-tested against 6 months of historical payroll data. PF, ESI, TDS, and PT compliance modules built. ZKTeco attendance sync deployed across all 5 depots and verified. Razorpay Payouts API integrated. |
| Phase 3 Weeks 7–9 | HR Dashboard, Employee App & Document Generation React.js HR admin dashboard built. React Native employee PWA built and tested. PDFKit payslip and compliance document generation built. SMS alerts configured. All modules integrated end-to-end on staging. |
| Phase 4 Week 10 | Data Migration, UAT, Training & Go-Live 380 employee records migrated from Excel. 6 months of historical payslip data imported. HR team training (1 day). Employee app onboarding (QR code rollout via WhatsApp to all staff). First live payroll run processed and disbursed successfully in week 10. |
06 Results & Business Impact
SwiftMile’s HR director conducted a formal review at 30, 60, and 90 days post-launch. The following figures are drawn from SwiftMile’s own HR records and payroll run logs within PayRoll365.
| 87% Faster payroll processing | 0 Payroll errors (3 months) | 68% Fewer HR queries | 94% Employee app adoption |
Detailed Impact Breakdown
Payroll Processing
Statutory Compliance
Employee Experience & HR Efficiency
| Cost Impact Summary |
| External CA payroll + compliance fees: estimated ₹3.6 lakh/year savings (partially brought in-house) |
| Late filing penalty risk eliminated: prior year late filing penalties totalled ₹1.1 lakh |
| HR overtime eliminated: 3 HR staff working 4 extra days/month on payroll = 144 person-days/year recovered |
| Employee morale: exit interviews post-launch cited payslip accuracy and timely salary as positive improvements |
07 Client Testimonial
| “Payroll used to be a nightmare every month. My HR team dreaded the last week of the month. We would make mistakes, employees would complain, and we were always filing PF late. Now we run payroll in a morning, salaries are in accounts by the afternoon, and my team has time to actually do HR work instead of just number-crunching. The delivery boys love being able to check their payslip on their phone without having to come to the depot office.” Neha Choudhary HR Director, SwiftMile Logistics Pvt. Ltd. |
08 Challenges & How We Solved Them
Challenge 1: Heterogeneous Salary Structure Complexity
SwiftMile’s four employee categories had fundamentally different salary structures, and the incentive slab logic for delivery executives had 11 separate tiers based on monthly delivery count thresholds. Encoding this correctly took significant discovery effort and multiple validation rounds.
Challenge 2: ZKTeco Device Connectivity at Remote Depots
Two of SwiftMile’s depots (Sikar Road and Tonk Road) had intermittent internet connectivity, causing the biometric sync service to fail periodically during testing.
Challenge 3: Employee Bank Account Data Quality
When migrating 380 employee records from Excel, we found that 47 employees had incomplete or incorrect bank account details (wrong IFSC codes, outdated account numbers), which would have caused salary disbursement failures.
09 Future Roadmap
10 About Key Brains Tech
Key Brains Tech Pvt. Ltd. is a Jaipur-based software development company specialising in custom web applications, mobile apps, AI/ML integration, and enterprise software solutions. Founded in 2021, we serve clients across healthcare, retail, education, real estate, and fintech sectors across India and internationally.
| Service Area | Technologies |
| Full-Stack Web Development | React.js, Node.js, Next.js, PHP (Laravel), MongoDB, PostgreSQL, MySQL |
| Mobile Applications | React Native, Android (Kotlin), iOS (Swift), PWA |
| AI & Machine Learning | Python, scikit-learn, TensorFlow, OpenAI API, FastAPI |
| Cloud & DevOps | AWS, GCP, Docker, GitHub Actions, CI/CD pipelines |
| Integrations & APIs | Razorpay, Twilio, WhatsApp Business API, Salesforce, SAP, Zoho |
End of Case Study