Daily updates from Odoo
Wednesday, July 15, 2026
1 change · saas-18.3
Enhancements to existing features
This update ensures Peruvian e-invoices can include the product codes required by SUNAT's new 2026 validation rules. It adds missing shared product classification codes and activates Peru-specific codes only for databases using the Peru localization, reducing the risk of invoice rejection for affected goods.
Original PR description
SUNAT is updating its validation rules 2026-08-01, adding three mandatory annexes (25.1, 25.2, 25.3) to Product Catalog N25. E-invoices for these goods are rejected when the required UNSPSC code is not available in the database. Most of the required codes already exist and are active. The rest are handled here: two missing UNSPSC codes were added to the shared catalog, while the fourteen codes that exist but are inactive and the SUNAT-only code 11111111 (which is not part of the UNSPSC standard) are activated from the Peru localization instead. Doing the Peru-specific part in the l10n_pe_edi install hook and upgrade script, the way l10n_mx_edi and l10n_ke_edi_oscu do for their own codes, keeps these activations out of databases that do not use the Peruvian localization. Task-6366907 Forward-Port-Of: odoo/enterprise#124001 Forward-Port-Of: odoo/enterprise#123577