Back to Playbook
Act 4: Payday — Financial Operations

22. 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.

  • Set the employee's last working day on their profile, then use Initiate Settlement under Payroll → Separation Settlements. The amounts are worked out from the employee record, not typed
  • Include final salary, leave encashment, gratuity, and loan recovery
  • Apply deductions and outstanding recoveries automatically
  • Generate final payable summary for approval and payout. A Draft settlement can be edited, approved or voided; Mark Paid comes after Approve
  • Before you press Approve, the screen lists everything that will block approval, so you can fix it first
  • Substitute days off still owed are paid in the settlement at the day rate, and half days count as half

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 employmentNot in the app yet: there is no nominee or beneficiary routing, so HR settles outside the app and records the paymentSettlement stays traceable until the app supports this