Sunday, July 26, 2026
1 change · saas-19.3
Resolved issues and error corrections
This fixes Uruguay electronic credit notes for cases where the original e-Ticket total is 0.00. The required reference amount is now kept in the submitted XML, preventing DGI rejections and avoiding invoice processing errors for affected customers.
Original PR description
Problem: When generating an e-Ticket Credit Note for an original e-Ticket with a total amount of 0.00, the XML cleanup mechanism removes reference fields whose value is 0.00. As a result, the credit note is rejected by DGI with: "CODE 31: En línea de Referencia 1 si NO IndGlobal = 1 deben existir TpoDocRef, Serie, NroCFERef, MntCFERef, TpoMonedaRef." Solution: Ensure that MntCFERef is sent even if the value is 0.00. opw-6378783 Forward-Port-Of: odoo/enterprise#124595 Forward-Port-Of: odoo/enterprise#124354