Now some companies require employees to sign relevant training contracts before conducting some special training. The agreement is as follows: you voluntarily accept this training, and you are not allowed to resign within three years after the training. If you resign, the compensation is as follows: Resignation in the first year of training will compensate the company for 80% of the training fee, resignation in the second year will compensate the company for 50% of the training fee, and resignation in the third year will compensate the company for 30%.
So how much training fee you need to pay to resign depends entirely on how you agreed in the contract at that time. According to you, there is no agreed training time, only the amount of compensation. This seems no problem to me (from the information you gave, you have to pay this training fee whenever you resign).
So, when you go back, take a good look at the contract and see if there is a deadline. If not, I'll give you two suggestions. 1: Your company must have a lawyer. Talk to them and they will give you reasonable advice (don't worry too much that lawyers will take it out on your company, they will still give you more pertinent advice, so listen to them). 2. Talk to your supervisor or relevant personnel in the human resources department. There was something wrong with the contract at that time. Enterprises train you to create value for enterprises (or extract your value), which is not public welfare. Since it is a commercial activity, it is necessary to set a time, not take effect for life, depending on how the HR department or your supervisor answers you.
I hope I can help you. If I don't explain clearly enough, please leave me a message and I will try my best to help you!