Given that the agreed amounts are discounted from salaries directly, you need to create the flexible remuneration descriptions in the payroll system so that these amounts are not included in the calculations for Personal Income Tax (IRPF) but are considered for social security purposes.