Back to Playbook
Act 4: Payday — Financial Operations

21. Separation Payroll

Story

When an employee leaves the organization, Sarah carefully handles the final settlement process because this stage combines payroll accuracy, company policy, and legal responsibility.

Before closing the employee record, she reviews final salary, leave encashment, deductions, outstanding loans, and recoveries to ensure both the employee and company are settled fairly.

Happy Path

Final settlement is calculated successfully with all salary components, deductions, and recoveries summarized clearly for approval and payout.

  • Trigger final settlement calculation for the employee
  • Include final salary, leave encashment, gratuity, and loan recovery
  • Apply deductions and outstanding recoveries automatically
  • Generate final payable summary for approval and payout

Failure Modes

FailureWhat the user seesWhat happens next
Employee has unapproved leaves existAuto-reject or include based on policyFinalize leave status before settlement
Employee has pending salary advanceRecovery amount added to settlement deductionsDeducted from final settlement payout
Negative leave balanceAdditional deduction added to settlement summaryFinal net pay recalculated automatically

Edge Cases

ScenarioBehaviorWhy
Employee resigns without completing notice periodNotice period deduction applied automaticallySupports company policy and contract enforcement
Employee deceased during active employmentSettlement routed to nominee or legal beneficiarySupports compassionate and legally compliant settlement handling

ZettaHRM

A modern HRM workspace for employee management, attendance tracking, leave approvals and structured day-to-day HR operations.

© 2026 Zettabyte Technology Inc.|All rights reserved.