Dear Swati,
Some companies require trainees, such as Graduate Engineer Trainees (GETs) and Diploma Engineer Trainees (DETs) or Management Trainees, to serve a minimum of 2-3 years with the company, or a specified amount will be recovered from them. A few years ago, an advocate advised me that such bonds do not hold up legally in court. It's merely psychological pressure.
However, if a company invests money in specific training, whether in India or abroad, and both employees and employers agree to it beforehand, such bonds are legally valid. Employees must then serve the company for a specified period, or they will have to compensate the amount invested in their training.
I would appreciate guidance from my seniors if they hold a different opinion.
Regards,
Lakshya