Key Features
- Modern Pay Run Workflow - Draft → Calculate → Review → Approve → Complete
- Automatic Tax Calculations - NTA 2025 tax law support with date-aware calculations
- Statutory Deductions - Pension, NHF, NHIS, and PAYE tax
- Wage Advances - Employee salary advances with automatic repayment tracking
- NIBSS Export - Generate bank-ready files for salary disbursement
- Year-to-Date Tracking - Automatic YTD calculations for compliance reporting
- Multi-Tenant Isolation - Complete data separation between organizations
Payroll Architecture
Legacy vs Modern System
The system uses PayRunService for all new payroll processing. The legacy
PayrollService is deprecated and will be removed in v2.0.Core Models
PayrollPeriod
Defines the time period for payroll (e.g., “January 2026”). Contains start date, end date, and payment date.
PayRun
The modern payroll calculation workflow. Each period can have multiple pay runs (e.g., for different departments or correction runs).
PayRunItem
Individual employee record within a pay run. Tracks calculation status and stores computed earnings/deductions.
Pay Run Workflow
The modern payroll system uses a structured workflow with clear status transitions:Status Descriptions
Draft
Draft
Initial state. Employees can be added/removed. No calculations performed yet.
Calculating
Calculating
System is computing earnings, deductions, and taxes for all employees. Automatic transition.
Pending Review
Pending Review
Calculations complete. Payroll manager reviews amounts and can recalculate individual items if needed.
Pending Approval
Pending Approval
Submitted for approval. Requires manager/owner authorization before proceeding.
Approved
Approved
Authorized for payment. Ready to generate payslips and export bank files.
Processing
Processing
Generating final payslips and recording all transactions. Automatic transition.
Completed
Completed
Payslips generated. Employees can view their payslips. NIBSS file can be downloaded.
Creating a Pay Run
Calculating Payroll
The calculation process computes all earnings, deductions, and taxes:Calculation Flow
Calculate Earnings
Compute base salary, hourly/daily pay, overtime, commissions, and bonuses using
EarningsService.Calculate Deductions
Apply pension, NHF, NHIS, wage advance repayments, and custom deductions via
DeductionsService.Tax Calculation
The system uses date-aware tax calculations to support multiple tax law versions:Approval & Completion
- Final Payslip records are created for each employee
- Year-to-Date totals are updated
- Wage advance repayments are recorded
- Deduction balances are updated
- Employees receive notifications with payment details
Year-to-Date Tracking
Payslips automatically track cumulative values for the tax year (January 1 - December 31):Statutory Deductions
ShelfWise automatically handles Nigerian statutory deductions:Employee: 8% of gross salary
Employer: 10% of gross salary
Configurable per employee in payroll settings
Employer: 10% of gross salary
Configurable per employee in payroll settings
National Housing Fund: 2.5% of basic salary
Can be disabled per employee
Can be disabled per employee
National Health Insurance Scheme
Fixed amount per employee (configurable)
Fixed amount per employee (configurable)
Pay As You Earn income tax
Calculated using progressive tax bands (NTA 2025)
Calculated using progressive tax bands (NTA 2025)
Next Steps
Pay Runs
Learn about the complete pay run workflow and calculations
Wage Advances
Manage employee salary advances with automatic repayment
Deductions
Configure deduction types and manage employee deductions