It depends on the company, and I hope you had clarity at the time of joining.
Gratuity Claim Process
To claim gratuity as per The Payment of Gratuity Act, you must complete a minimum of 5 years of service, including leaves and holidays. However, some organizations that prioritize employee welfare allow withdrawals if someone resigns or leaves the job even before completing 5 years. For this, you need to seek clarity from your HR department. (We allow our employees who leave before 5 years to claim gratuity.) If they allow it, you may apply using Form I at
http://pblabour.gov.in.
About Deductions
Many organizations include gratuity as part of the CTC, so terming it as a deduction would be incorrect. Instead, it is a component of the CTC that the organization must accrue as per AS 16 (Accounting Standard 16) and make provisions for. However, the organization is not liable to pay it if the employee has not completed a minimum of 5 years of service.
Regards,