Daily updates from Odoo
Tuesday, September 16, 2025
1 change
Enhancements to existing features
Mexican CFDI electronic invoices are now generated using the same line-based total calculation method used by the SAT tax authority for validation. This reduces invoice rejection risk by automatically reconciling rounding or total differences through discounts where possible, or an adjustment line when needed.
Original PR description
Simplify the CFDI generation. Now the totals are always computed from the lines. That way, it's impossible for the SAT to refuse a CFDI since it's built in the way the SAT checks the validity of the file. The difference between the CFDI total and the original documents is put using the discount if available. If not, we add a fake line in the CFDI. task-id: 4926200 Forward-Port-Of: odoo/enterprise#94312 Forward-Port-Of: odoo/enterprise#90434