# MAYA OS ENTERPRISE — HR, PAYROLL & PROJECT LABOUR COSTING LOGIC

## 1. Employment Models & Dual-Calendar Periods

`apps.hr` supports Monthly Salaried Staff, Construction Site Daily-Wage Workers, Contract Staff, and Overtime eligibility anchored to Nepal Bikram Sambat payroll months (`Baisakh` through `Chaitra` mapped transparently to AD start/end dates via `apps.localization.bs_calendar`).

## 2. Salary Components, Statutory Benefits & Tax (Nepal)

- **Earnings**: Basic Salary, Dearness/Site Allowance, Overtime (`OT`), Dashain/Festival Bonus, Reimbursements.
- **SSF / EPF / Gratuity**: Configurable employer/employee percentages (`SSF 11% employee + 20% employer`, or `EPF 10% + 10%` + `8.33% Gratuity`) separated into Salary Payable, SSF/EPF Contribution Payable, and Expense accounts.
- **Nepal Progressive Income Tax (PIT)**: Supports Single (`INDIVIDUAL`) vs Couple (`MARRIED`) assessment slabs with annualized projected taxable income, statutory retirement deduction caps, and monthly TDS withheld posting directly to `2120 TDS Payable`.
- **Staff Advances & Loans**: Automated installment recovery per payroll run (`advance_deduction`) reducing Employee Advance Receivables (`Dr Payroll Expense / Cr Salaries Payable + Advance Receivable + SSF Payable + TDS Payable`).

## 3. Project & Worksite Labour Costing

Timesheet allocations distribute each employee's gross payroll cost + employer SSF/gratuity burden proportionally by site-worked days/hours onto `Project` and `CostCenter` ledger dimensions, feeding NFRS 15 cost-to-cost project recognition without double counting.

