This compensation is a right of all employees that work within the country and are paid a wage. For employees who have spent more than a year working in a company, it is up to 15 days of salary. In case of not having this age, you should learn how to calculate the year-end bonus proportional.
To do this, you need to look at how much you earn a collaborator by half and divide it by 365 days of the year. Then, multiply by the number of days worked of the employee.