Knowledge Base updated: 2026-11-22
HRMS knowledge base
Orientation
Frappe HRMS is an ERPNext/Frappe application for workforce management, payroll, employee self-service, roster scheduling, and platform integration.
Its server-side business state is primarily stored in Frappe DocTypes under hrms/hr/ and hrms/payroll/; client applications provide employee portal and roster experiences.
The core operational areas are employee and workforce records, attendance and leave, recruiting and development, reimbursements, salary processing, statutory tax and benefits, and regional payroll behavior.
flowchart TD
F[Frappe Framework] --> H[HRMS app]
H --> HR[HR domain]
H --> PR[Payroll domain]
H --> ESS[Employee self-service]
H --> RO[Roster scheduling]
H --> PI[Platform integration]
HR --> EMP[Employee lifecycle]
HR --> TIME[Attendance and shifts]
HR --> LEAVE[Leave management]
HR --> TALENT[Recruitment and development]
HR --> EXP[Expenses and travel]
PR --> PAY[Salary processing]
PR --> TAX[Benefits and tax]
PR --> REG[Regional payroll]
ESS --> PORTAL[Employee portal application]
RO --> ROSTER[Roster web application]
Glossary
- DocType — Frappe's schema, controller, permission, and UI unit for a business record.
- Payroll Entry — a payroll-run record that coordinates salary-slip creation and processing.
- Salary Slip — an employee-level calculated pay record for a payroll period.
- Shift Type — a reusable working-time definition used by shift assignments and attendance processing.
- Employee Advance — an advance-payment record that can be settled through employee expense workflows.
Invariants
- Employee advances and expense claims remain connected reimbursement records; their server-side controllers live under
hrms/hr/doctype/employee_advance/andhrms/hr/doctype/expense_claim/. - Shift behavior is defined by the Shift Type DocType controller in hrms/…/shift_type.py and must remain compatible with its test coverage in hrms/…/test_shift_type.py.
- Payroll-run client behavior is owned by hrms/…/payroll_entry.js, while the payroll domain retains the authoritative persisted records.
- Tax-exemption declaration interactions are implemented by hrms/…/employee_tax_exemption_declaration.js and belong with compensation and tax administration.
- Employee-referral form behavior is implemented in hrms/…/employee_referral.js and remains part of recruitment workflows.
Routing table
hrms/hr/doctype/employee/**-> docs/workforce-management.mdhrms/hr/doctype/employee_advance/**-> docs/workforce-management.mdhrms/hr/doctype/expense_claim/**-> docs/workforce-management.mdhrms/hr/doctype/employee_onboarding/**-> docs/employee-lifecycle.mdhrms/hr/doctype/employee_separation/**-> docs/employee-lifecycle.mdhrms/hr/doctype/employee_transfer/**-> docs/employee-lifecycle.mdhrms/hr/doctype/employee_promotion/**-> docs/employee-lifecycle.mdhrms/hr/doctype/employee_property_history/**-> docs/employee-lifecycle.mdhrms/hr/doctype/employee_health_insurance/**-> docs/employee-lifecycle.mdhrms/hr/doctype/full_and_final_statement/**-> docs/employee-lifecycle.mdhrms/hr/doctype/employee_profile/**-> docs/employee-profile-and-workplace-requests.mdhrms/hr/doctype/employee_grievance/**-> docs/employee-profile-and-workplace-requests.mdhrms/hr/doctype/employee_skill_map/**-> docs/employee-profile-and-workplace-requests.mdhrms/hr/doctype/asset_request/**-> docs/employee-profile-and-workplace-requests.mdhrms/hr/doctype/attendance/**-> docs/attendance-and-shift-management.mdhrms/hr/doctype/employee_checkin/**-> docs/attendance-and-shift-management.mdhrms/hr/doctype/attendance_request/**-> docs/attendance-and-shift-management.mdhrms/hr/doctype/shift_type/**-> docs/attendance-and-shift-management.mdhrms/hr/doctype/shift_assignment/**-> docs/attendance-and-shift-management.mdhrms/hr/doctype/leave_*/**-> docs/leave-management.mdhrms/hr/doctype/holiday_list/**-> docs/leave-management.mdhrms/hr/doctype/staffing_plan/**-> docs/recruitment-and-staffing.mdhrms/hr/doctype/job_*/**-> docs/recruitment-and-staffing.mdhrms/hr/doctype/employee_referral/**-> docs/recruitment-and-staffing.mdhrms/hr/doctype/appraisal*/**-> docs/performance-skills-and-learning.mdhrms/hr/doctype/training*/**-> docs/performance-skills-and-learning.mdhrms/hr/doctype/skill*/**-> docs/performance-skills-and-learning.mdhrms/hr/doctype/employee_advance/**-> docs/employee-expenses-and-travel.mdhrms/hr/doctype/expense_claim/**-> docs/employee-expenses-and-travel.mdhrms/hr/doctype/travel_request/**-> docs/employee-expenses-and-travel.mdhrms/payroll/**-> docs/payroll-management.mdhrms/payroll/doctype/payroll_entry/**-> docs/salary-processing.mdhrms/payroll/doctype/salary_*/**-> docs/salary-processing.mdhrms/payroll/doctype/additional_salary/**-> docs/salary-processing.mdhrms/payroll/doctype/employee_benefit*/**-> docs/compensation-benefits-and-tax.mdhrms/payroll/doctype/employee_tax_exemption*/**-> docs/compensation-benefits-and-tax.mdhrms/payroll/doctype/income_tax_slab/**-> docs/compensation-benefits-and-tax.mdhrms/payroll/doctype/gratuity/**-> docs/compensation-benefits-and-tax.mdhrms/regional/**-> docs/regional-payroll.mdhrms/hr/doctype/*/employee_self_service/**-> docs/employee-self-service.mdfrontend/**-> docs/employee-portal-application.mdroster/**-> docs/roster-scheduling.mdroster/frontend/**-> docs/roster-web-application.mdhrms/api/**-> docs/api-and-external-integration.md- hrms/hooks.py -> docs/frappe-extension-lifecycle.md
hrms/patches/**-> docs/frappe-extension-lifecycle.md- hrms/…/hooks.py -> docs/platform-integration-and-operations.md
hrms/**/patches/**-> docs/platform-integration-and-operations.md