No, it is not mandatory to pay a 20% bonus. There are a variety of factors that can contribute to whether or not an employer chooses to give out bonuses, and the amount of the bonus varies depending on the company's policy. If you're curious about whether or not your employer offers bonuses, you can ask your HR representative or check your company's employee handbook.