I agree (21 days) salary for every year worked for the company is stipulated as per Qatar Labour Law.  For the additional months most companies pay the gratuity in pro rata.