Friday, November 10, 2023
1 change · 17.0
Resolved issues and error corrections
This fix corrects how withholding taxes (RteIVA) are calculated in Colombian electronic invoices. Previously, the system was incorrectly using the invoice base amount to calculate these taxes. Now it properly uses the tax amount itself as the base, ensuring accurate tax reporting in the TIM_2 format required by Colombian tax authorities.
Original PR description
With the last changes on the TIM_2 the base for the RteIVA (Code '05') Tax is being computed with Invoice base_mount, but for the case of this particular Tax, the base needs to be comouted using the Tax amout it self. Here is an example of the output as it should be: https://drive.google.com/file/d/153lbY51GyrTJaSDfea2OQVD4aE3Tx1ya/view?usp=sharing Forward-Port-Of: odoo/enterprise#50488 Forward-Port-Of: odoo/enterprise#50339