Form CP22A should be submitted to LHDN for certain employees leaving your company not less than 30 days before the end of their employment. You can download the CP22A form in PayrollPanda under Employees > select employee > Forms > Other Forms after you have archived the employee.
Please note that the amounts in category B will be taken from the YTD table found under the employee’s Payroll tab, so the employee’s last month payroll should be approved if you want to include the amounts in the CP22A. The net pay withheld in D1 is taken from the employee’s final payroll.