Sunday, July 26, 2026
1 change · saas-19.4
Resolved issues and error corrections
This fixes Uruguay electronic credit notes created from zero-value e-tickets so they include a required reference amount, even when it is 0.00. It helps prevent tax authority rejections and avoids an error for document types that do not use that field.
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