Tuesday, January 31, 2023
1 change
New functionality added to Odoo
Adds Ecuador-specific electronic document exchange with the national tax authority, including invoice XML generation, digital signing, submission, and status tracking. It also adds local tax withholding workflows, legally required invoice report formats, and company settings needed for Ecuadorian compliance.
Original PR description
# Ecuadorian localisation: EDI (Servicio de Rentas Internas) Developped in collaboration with 3Cloud's @pepetreshere @JuanDanielAlvarez @stevTresCloud ## Modified models - Partners now have a…
# Ecuadorian localisation: EDI (Servicio de Rentas Internas) Developped in collaboration with 3Cloud's @pepetreshere @JuanDanielAlvarez @stevTresCloud ## Modified models - Partners now have a **Taxpayer Type**, mapping them to certain Withhold taxes - Products now have a **Profit Withhold** tax - Journals can now be configured as **Purchase Liquidation** - Countries now have an **ATS code** and **Tax Haven Code** ## Electronic Data Interchange - Automatic generation of XMLs for relevant documents - Management of user's digital certificates - Digital signature of XMLs with XAdES - Sending of documents to government and retrieving status information from them: sales invoices, credit and debit notes, purchase liquidations, purchase withholds ## Invoicing - Customization of PDF reports according to legal requirements, including barcode - Support for multi-currency ## Withholds - Wizard for withhold creation, automatic computation of base amount - Withholds are created as `account.move` of type `entry`, related to their invoice of origin - Two types, purchase (`in_withhold` related to `in_invoice`) and sale (`out_withhold` related to `out_invoice`) - Purchase withholds: automatic suggestion of withhold lines (taxes and amounts) based on payment method, products and services ## Company settings - **Test** and **production** environments, test environment usable without digital certificates - Ecuadorian localization settings: legal name, agent number, forced to keep accounting, certificate selection - Tax defaults for products, services, credit/debit/gift card payments