I presume that Gratuity was shown as part of your Cost To Company (CTC). This is done by the employer to make provision for the payment of Gratuity and to arrive at an actuarial valuation each year on the Gratuity liability.
Some employers contribute to Group Gratuity Scheme around 5% of your Basic salary and Dearness Allowance. This is a cash outflow done by the Company to manage their Gratuity Fund.
So as a practice, the Company shows this as part of CTC.
This does not mean that they are recovering Gratuity from your salary.
You will appreciate that the employer also shows the Employer's share of PF contribution as part of CTC. Here again, the employer's share of PF contribution is not deducted from your salary.
Some Companies show the premium paid for you or your family, as the case may be, towards Mediclaim coverage. This is also shown as part of CTC. As aforementioned, this cash outflow from the Company done for you is shown as part of CTC.
Trust the matter is clarified.
Regards,
MVK