the receding of the contract, usually the company will charge you proportionally of the expenses they incurred in recruiting you. If your contract says two years, then they will charge you 50 % since you past your first year.

But check the details of your contract about resigning or termination clause of your contract and check if it complies with provisions of the labor code of Qatar!!