In case of termination, the company needs to be extra cautious as one wrong decision may land the company in trouble. Yes, in case of termination, the employee is entitled to all the exit formalities. But you failed to mention why the employee has been terminated.
There will be a separate procedure for an employee who has been terminated because of any misconduct and the employee who has been terminated without conducting misconduct. I am replying assuming both conditions.
1st Condition - Termination Due to Misconduct:
After conducting a proper inquiry of the misconduct in a domestic enquiry, the punishment of dismissal may be awarded. In such a case, the company need not give him any retrenchment compensation. On the contrary, the company may forfeit his Gratuity to the extent the monetary loss is caused to the company due to his misconduct. But if after adjusting that amount some money is left, the same has to be paid to the employee. His PF must be cleared, and no deduction from it can be made. All other dues have to be cleared.
2nd Condition - Termination Not Due to Misconduct:
If the employee has been terminated for any reason other than punishment resulting from misconduct, the company will have to pay him the retrenchment compensation as per the statutory norms. His leave encashment, gratuity, notice pay, any other dues, and PF MUST be cleared forthwith. Keep in mind that any failure may land the company in the loop of labor laws.
In case of any other clarification, please feel free to call me.
Regards.