This sequence diagram outlines the key steps in a payroll management system. The process begins with the Employee submitting attendance and work hours to the HR department. The HR updates this information in the Payroll System and initiates the payroll calculation. The system computes salaries, factoring in work hours, taxes, and bonuses, and sends the calculated data to the HR for confirmation. Once approved, the payroll is finalized, and the system generates salary slips for the employees. Finally, the Payroll System sends payment details to the Bank, which credits the salaries to employees’ accounts, completing the process.