I ran a test with a real termination. After terminate his contract, the employee has the information below:
Payments related to this employee:
Social security and parafiscals:
If we make the operation between:
salary + termination_value + other_income - employee_retentions_on_payroll
# employee_retentios_on_payroll = $107.334 (Look the payroll payslip)
We'll get the $2.000.000 received by the employee on the payslip which includes termination and payroll values.
After this review I can conclude that everything around this integration is working correctly.