Ecuador

With the Ecuadorian localization, it is possible to generate electronic documents using XML, fiscal folio, electronic signature, and direct connection to tax authority SRI.

The supported documents are invoices, credit notes, debit notes, purchase liquidations, and withholdings.

The localization also includes automation to easily predict the withholding tax to be applied to each purchase invoice.

Glossary

Here are some terms that are essential to the Ecuadorian localization:

  • SRI: Stands for Servicio de Rentas Internas, which is the government organization that enforces the payment of taxes in Ecuador.

  • SRI certificate: Document or digital credential issued by the SRI that is crucial for compliance with Ecuadorian tax laws.

  • EDI: Stands for Electronic Data Interchange, which refers to the electronic transmission of documents.

  • RIMPE: Stands for Regimen Simplificado para Emprendedores y Negocios, which is the type of taxpayer qualified for SRI.

Configuration

Modules installation

Install the following modules to get all the features of the Ecuadorian localization:

Name

Technical name

Description

Ecuadorian - Accounting

l10n_ec

The default fiscal localization package, adds accounting characteristics for the Ecuadorian localization, which represent the minimum configuration required for a company to operate in Ecuador according to the guidelines set by the SRI. The module’s installation automatically loads: Chart of Accounts, taxes, documents types, tax support types. Additionally, the generation of forms 103 and 104 are automatic.

Ecuadorian Accounting EDI

l10n_ec_edi

Includes all the technical and functional requirements to generate and validate Electronics Documents, based on the technical documentation published by the SRI. The authorized documents are: Invoices, Credit Notes, Debit Notes, Withholdings and Purchase liquidations.

Ecuadorian Accounting Reports

l10n_ec_reports

Includes all the technical and functional requirements to generate forms 103 and 104.

Ecuador - ATS Report

l10n_ec_reports_ats

Includes all the technical and functional requirements to generate the ATS report XML file ready to be uploaded to the DIMM Formularios.

Ecuadorian Website

l10n_ec_website_sale

Includes all the technical and functional requirements to generate automatic electronic invoices from a Website sale.

Ecuadorian Point of Sale

l10n_ec_edi_pos

Includes all the technical and functional requirements to generate automatic electronic invoices from a POS sale.

Note

In some cases, such as when upgrading to a version with additional modules, it is possible that those modules may not be installed automatically. Any missing modules can be manually installed.

Configure a company or individual contact

The following fields should be completed for localization purposes on the contact form:

  • Name: Enter the company or individual’s name.

  • Address: The Street sub-field is required to confirm electronic invoices.

  • Identification Number: For a company, enter the Ruc. For individuals, enter the Cedula or Passport number.

  • SRI Taxpayer Type: Select the contact’s SRI taxpayer type.

  • Phone: Enter the company or individual’s phone number.

  • Email: Enter the company or individual’s email. This email is used to send electronic documents, such as invoices.

Note

The SRI Taxpayer Type indicated on the contact form determines which VAT and profit withholding taxes apply when using this contact on a vendor bill.

Electronic documents

To upload information for electronic documents, go to Accounting ‣ Configuration ‣ Settings, and scroll to the Ecuadorian Localization section.

Configure the following information, starting with the Electronic Invoicing section:

  • Company legal name

  • Regime: Select whether the company is in the Regular Regime (without additional messages in the RIDE) or is qualified as in the RIMPE Regime.

  • Special Taxpayer Number: If the company is qualified as a special taxpayer, complete this field with the company’s corresponding tax contributor number.

  • Forced to Keep Accounting Books: Enable this option if needed.

Withholding section:

  • Consumables: Enter the code of the default withholding tax used when purchasing goods.

  • Services: Enter the code of the default withholding tax used when purchasing services.

  • Credit Card: Enter the code of the default withholding tax used when purchasing with credit cards.

  • Withhold Agent Number: Enter the company’s withholding agent resolution number, if applicable.

SRI Connection section:

  • Certificate file for SRI: Select the company’s SRI certificate. Click SRI Certificates to upload one, if necessary.

  • Use production servers: Enable this option if electronic documents are used in the production environment; leave it disabled if the testing environment is used instead.

Withholding accounts section:

  • Sales Tax Base Account: Enter the company’s sales tax base account.

  • Purchase Tax Base Account: Enter the company’s sales tax purchase account.

Important

When using the testing environment, EDI data is sent to test servers.

Note

  • The values entered in the Consumables and Services withholding fields are used as default values for domestic only when no withholdings are set up on the SRI Taxpayer Type.

  • The entered Credit Card withholding value is always applied when a credit or debit card SRI payment method is used.

VAT withholding

Note

This configuration applies only if the SRI recognizes the company as a withholding agent. If not, skip this step.

To configure a VAT withholding, go to Accounting ‣ Configuration ‣ Taxpayer Type SRI.

Configure the Name of the taxpayer type, the Goods VAT Withholding, and the Services VAT Withholding.

Tip

If the Taxpayer Type is Rimpe, configure the Profit Withhold percentage.

Printer points

Printer points need to be configured for each type of electronic document used, such as customer invoices, credit notes, and debit notes.

To configure printer points, navigate to Accounting ‣ Configuration ‣ Journals.

For each electronic document, click New, and enter the following information on the journal form:

  • Journal Name: Enter in this format: [Emission Entity]-[Emission Point] [Document Type], e.g., 001-001 Sales Documents.

  • Type: Refers to the journal type; select Sales.

Once the Type is selected, complete the following fields:

  • Use Documents?: Enable this option if legal invoicing (invoices, debit/credit notes) is used, as this is the standard configuration. If not, select the option to record accounting entries unrelated to legal invoicing documents, such as receipts, tax payments, or journal entries.

  • Emission Entity: Enter the facility number.

  • Emission Point: Enter the printer point.

  • Emission address: Enter the address of the facility.

In the Journal Entries tab, under the Accounting information section, fill in the following fields:

  • Default Income Account: Enter the default income account.

  • Dedicated Credit Note Sequence: Enable this option if credit notes should be generated from this printer point (i.e., the journal).

  • Dedicated Debit Note Sequence: Enable this option if debit notes should be generated from this printer point (i.e., the journal).

  • Short Code: Enter a unique 5-digit code for the accounting entry sequence (e.g., VT001).

Customer invoices, credit notes, and debit notes need to use the same journal as the Emission Point, whereas the Entity Point should be unique per journal.

Finally, in the Advanced Settings tab, check the Electronic invoicing checkbox to enable sending XML/EDI invoices.

Withholding

To define a withholding journal, go to Accounting ‣ Configuration ‣ Journals. For each withholding journal, click New, and enter the following information:

  • Journal Name: Enter this format: [Emission Entity]-[Emission Point] [Document Type], e.g.,`001-001 Withholding`.

  • Type: Refers to the journal type. Select Miscellaneous.

  • Withhold Type: Select Purchase Withhold.

Once the Type and Withhold Type are selected, complete the following fields:

  • Emission Entity: Enter the facility number.

  • Emission Point: Enter the printer point.

  • Emission address: Enter the address of the facility.

In the Journal Entries tab, under the Accounting information section, fill in the following fields:

  • Default Account: Configure the default income account.

  • Short Code: Enter a unique 5-digit code for the accounting entry sequence (e.g., WT001).

Finally, in the Advanced Settings tab, check the Electronic invoicing checkbox to enable sending XML/EDI invoices.

Purchase liquidations

A specific journal must be created for purchase liquidations. Go to Accounting ‣ Configuration ‣ Journals. Click New, and enter the following information:

  • Journal Name: Enter this format: [Emission Entity]-[Emission Point] [Document Type], e.g., 001-001 Purchase Liquidations.

  • Type: Refers to the journal type. Select Purchase.

Once the Type is selected, complete the following fields:

  • Purchase Liquidations: Tick this checkbox to enable purchase liquidations.

  • Use Documents?: Enable this option if legal invoicing (invoices, debit/credit notes) is used, as this is the standard configuration. If not, select the option to record accounting entries unrelated to legal invoicing documents, such as receipts, tax payments, or journal entries.

  • Emission Entity: Enter the facility number.

  • Emission Point: Enter the printer point.

  • Emission address: Enter the address of the facility.

  • Short Code: Enter a unique 5-digit code for the accounting entry sequence (e.g., PT001).

Finally, in the Advanced Settings tab, check the Electronic invoicing checkbox to enable sending XML/EDI invoices.

Configure master data

Chart of accounts

The chart of accounts is installed by default as part of the set of data included in the localization module. The accounts are mapped automatically in Taxes, Default Account Payable, Default Account Receivable.

Ecuador’s chart of accounts is based on the most updated version of the Superintendency of Companies, which is grouped into several categories and is compatible with NIIF accounting.

Accounts can be added or deleted according to the company’s needs.

Products

If products have any withholding taxes, they must be configured on the product form.

Go to Accounting ‣ Vendors ‣ Products. On the General Information tab, specify both Purchase Taxes and Profit Withhold.

Taxes

The localization module automatically creates and configures taxes. If new taxes need to be created, it is recommended to base them on the configuration of the existing ones.

To manage taxes, navigate to Accounting ‣ Configuration ‣ Taxes. Depending on the tax type, the following options may be required for additional configuration:

  • Tax Name: Follows a specific format depending on the tax type:

    • For IVA (Value-Added Tax):
      IVA [percent] (104, [form code] [tax support code] [tax support short name])
      Example: IVA 12% (104, RUC [tax support code] IVA)
    • For Income Tax Withholding codes:
      Code ATS [percent of withhold] [withhold name]
      Example: Code ATS 10% Retención a la Fuente
  • Tax Support: Configure only for the IVA tax. This option is used to register purchase withholdings.

  • Code ATS: Configure only for income tax withholding codes, as it is necessary to register a withholding.

In the Definition tab:

  • Tax Grids: Configure the code of a 104 form if it is an IVA tax, and the code of a 103 form if it is an income tax withholding code.

Document types

Some accounting transactions like customer invoices and vendor bills are classified by document types. These are defined by the government fiscal authorities, which in this case is the SRI.

To access or configure document types, go to Accounting ‣ Configuration ‣ Document Types.

Each document type can have a unique sequence per journal where it is assigned. As part of the localization, the document type includes the country in which the document is applicable; also the data is created automatically when the localization module is installed.

The information required for the document types is included by default and doesn’t need to be changed.

Workflows

Once a company’s database is configured, documents can be registered to enable workflows across Odoo’s applications, such as Accounting, Inventory, and Sales.

Sales documents

Customer invoices

Customer invoices are electronic documents that, when validated, are sent to SRI. These documents can be created from your sales order or manually.

They must contain the following data:

  • Journal: Select the option matching the customer invoice’s printer point.

  • Document Type: Type the document type in this format: (01) Invoice.

  • Payment Method (SRI): Select how the invoice will be paid.

Customer credit note

The customer credit note is an electronic document that, when validated, is sent to SRI. A validated (posted) invoice is necessary to register a credit note.

On the invoice, click Credit note and complete the following information in the Credit note window:

  • Reason: Type the reason for the credit note.

  • Journal: Select the journal for the reversal.

  • Document Type: By default, (04) Credit Note is selected.

  • Reversal date: Set the date for the reversal.

Then, click Reverse to first review the invoice or click Reverse and Create Invoice.

Note

When creating the first credit note, select Reverse and assign the first credit note number or by default Odoo assigns NotCr 001-001-000000001 as the first credit note number.

Once the credit note is created, modify Product and Quantity if needed. Make sure the correct Customer, Journal, and Document Type are specified, and the products listed on the Invoice Lines tab are configured with the correct taxes.

To validate, click Confirm.

Customer debit note

The customer debit note is an electronic document that, when validated, is sent to SRI.

A validated (posted) invoice is necessary to register a debit note. Select the related invoice to issue a debit note in the Invoices list view, click Actions and select Create Debit Note. Then, complete the following information in the Create Debit Note window.

  • Reason: Enter the reason for the debit note.

  • Debit note date: Set the debit note date.

  • Copy lines: Select this option to register a debit note with the same lines of invoice.

  • Use Specific Journal: Select the printer point for your credit note, or leave it empty to use the same journal as the original invoice.

Then, click Create Debit Note.

The debit note amount can be changed, if desired.

Customer withholding

The Customer withholding is a non-electronic document issued by the client in order to apply a withholding to a sale.

A validated (posted) invoice is necessary to register a customer withholding. On the invoice, click Add Withhold and complete the following information in the Customer withholding window:

  • Document Number: Enter the withholding number.

  • Withhold Lines: Select the taxes that the customer is withholding.

Before validating the withholding, review that the amounts for each tax are the same as the original document.

Purchase Documents

Vendor bill

Vendor bills are non-electronic documents issued by vendors when a company generates a purchase. Vendor bills can be created from purchase orders or manually.

Important

A vendor bill journal must be created to create vendor bill documents.

Create a vendor bill journal

To create a new journal, go to Accounting ‣ Configuration ‣ Journals, and click New.

Then, configure the following:

  • Select Purchase as the Type.

  • Do not tick the Purchase Liquidations checkbox.

  • Add a Default Expense Account.

Configure a vendor bill

To configure a vendor bill, make sure also to complete the following Ecuador specific fields:

  • Document Type: Enter this document type: (01) Invoice.

  • Document number: Enter the document number.

  • Payment Method (SRI): Select how the vendor bill will be paid.

Important

When creating the purchase withholding, verify that the bases (base amounts) are correct. If you need to edit the amount of the tax in the Vendor bill, click Edit. Or, from the Journal Items tab, click Edit and set the adjustment as desired.

Purchase liquidation

The purchase liquidation is an electronic document that, when validated, is sent to SRI.

Companies issue them when they make a purchase but the vendor does not provide an invoice, due to one or more of the following reasons:

  • Non-residents of Ecuador provided services.

  • Foreign companies provided services without residency or facility in Ecuador.

  • Purchase of goods or services from natural persons not registered with a RUC, who cannot issue sales receipts or customer invoices.

  • Reimbursement for purchasing goods or services must be given to employees in a dependency relationship (full-time employee).

  • Members of collegiate bodies have provided services in the exercise of their function.

In these cases, a purchase liquidation journal must be created.

Create a purchase liquidation journal

To create a new journal, go to Accounting ‣ Configuration ‣ Journals, and click New.

Then, configure the following:

  • Select Purchase as the Type.

  • Tick the Purchase Liquidations checkbox.

  • Add a Default Expense Account.

Create a purchase liquidation

These types of electronic documents can be created from the purchase order or manually from the vendor bills form. Purchase liquidations must contain the following data:

  • Vendor: Enter the vendor’s information.

  • Journal: Select the Purchase Liquidation journal with the correct printer point.

  • Document Type: Enter this document type: (03) Purchase Liquidation

  • Document number: Enter the document number (sequence). This must only be entered once, and the sequence will automatically be assigned to the subsequent documents.

  • Payment Method (SRI): Select how the invoice is going to be paid.

  • Products: Specify the product with the correct taxes.

Once the information has been reviewed, validate the Purchase Liquidation.

Purchase withholding

The Purchase withholding is an electronic document that, when validated, is sent to SRI.

An invoice in a validated state is necessary before registering a Purchase withholding. On the invoice, click Add Withhold and complete the following fields in the Withholding window:

  • Document number: Enter the document number (sequence). This must only be entered once, and the sequence will automatically be assigned for the next documents.

  • Withhold lines: The taxes appear automatically according to the configuration of products and vendors. Review if the taxes and tax support are correct. If not, edit and select the correct taxes and tax support.

Then, validate the Withholding.

Note

Tax support types must be configured on the Vendor Bill. To do so, go to the tax applied on the Vendor Bill and change the Tax Support there.

A withholding tax can be divided into two or more lines, depending on whether two or more withholdings percentages apply.

Example

The system suggests a VAT withholding of 30% with tax support 01. VAT withholding of 70% can be added in a new line with the same tax support. Odoo allows it if the base total matches the Vendor Bill’s total.

Expense reimbursement

Expense reimbursements apply to the following cases:

  • Individual: reimbursement to an employee for miscellaneous expenses (e.g. purchase liquidations)

  • Legal Entity: reimbursement for incurred expenses, such as representation expenses (e.g. hiring a lawyer)

To enable an expense reimbursement, make sure a purchase liquidation journal has been created for an individual or a vendor bills journal for a legal entity.

Note

In the vendor bills journal, be sure the following necessary configurations are set for a legal entity:

  • Select Purchase as the Type.

  • Do not tick the Purchase Liquidations checkbox.

  • Add a Default Expense Account.

Next, to create a reimbursement, create a vendor bill using the purchase liquidation or vendor bills journal. On the vendor bill, configure the following fields:

  • Vendor: This field should be an employee.

  • Document Type: Verify that this field is accurately populated from the journal.

  • Payment Method (SRI): Select a payment method.

  • Reimbursement Lines tab: Click Auto Fill Invoice Lines to automatically populate the invoice lines or add the expenses line by line, and provide the following details for each expense:

    • Partner or authorization number

    • Date

    • Document Type

    • Document Number

    • Tax Base

    • Tax

Then, click Confirm Vendor Bill and Process Now. The XML and authorization number for the purchase liquidation are recorded, and the purchase withholding created from this vendor bill includes the reimbursement information.

Expense Reimbursement.

eCommerce

The ATS Report module enables the following:

  • Choose the SRI Payment Method for each payment method’s configuration.

  • Customers can manually input their identification type and number during eCommerce checkout.

  • Automatically generate a valid electronic invoice for Ecuador at the end of the checkout process.

Online payments

To enable online payments, add the relevant payment provider(s) and configure the necessary payment methods. It is mandatory to set the SRI Payment Method for each method.

Note

Adding the SRI Payment Method is necessary to correctly generate the electronic invoice from an eCommerce sale. Select a payment method to access its configuration menu and field.

Automatic invoice

To generate an invoice after the checkout process, navigate to Website ‣ Configuration ‣ Settings and activate the Automatic Invoice option found under the Invoicing section.

Tip

The invoice’s email template can be modified from the Invoice Email Template field under the Automatic Invoice option.

Important

The sales journal used for invoicing is the first in the sequence of priority in the Journal menu.

eCommerce workflow

Identification type and number

The client who is making a purchase will have the option to indicate their identification type and number during the checkout process. This information is required to correctly generate the electronic invoice after the checkout is completed.

Note

Verification is done to ensure the Identification Number field is completed and has the correct number of digits. For RUC identification, 13 digits are required. For Cédula, 9 digits are required.

After finishing the checkout process, a confirmed invoice is generated, ready to be sent manually or asynchronously to the SRI.

Point of sale electronic invoicing

Make sure the Ecuadorian module for Point of Sale (l10n_ec_edi_pos) is installed to enable the following features and configurations:

  • Choose the SRI payment method in each payment method configuration.

  • Manually input the customer’s identification type and identification number when creating a new contact on POS.

  • Automatically generate a valid electronic invoice for Ecuador at the end of the checkout process.

Payment method configuration

To create a payment method for a point of sale, go to Point of Sale ‣ Configuration ‣ Payment Methods. Then, set the SRI Payment Method in the payment method form.

Invoicing flows

Identification type and number

The P0S cashier can create a new contact for a customer who requests an invoice from an open POS session.

The Ecuadorian Module for Point of Sale adds two new fields to the contact creation form: Identification Type and Tax ID.

Note

As the identification number length differs depending on the identification type, Odoo automatically checks the Tax ID field upon saving the contact form. To manually ensure the length is correct, know that the RUC and Citizenship types require 13 and 10 digits, respectively.

Electronic invoice: anonymous end consumer

When clients do not request an electronic invoice for their purchase, Odoo automatically sets the customer as Consumidor Final and generates an electronic invoice anyway.

Note

If the client requests a credit note due to a return of this type of purchase, the credit note should be made using the client’s real contact information. Credit notes cannot be created to Consumidor Final and can be managed directly from the POS session.

Electronic invoice: specific customer

If a customer requests an invoice for their purchase, it is possible to select or create a contact with their fiscal information. This ensures the invoice is generated with accurate customer details.

Note

If the client requests a credit note due to a return of this type of purchase, the credit note and return process can be managed directly from the POS session.

Financial reports

In Ecuador, there are fiscal reports that the company presents to SRI. Odoo supports two of the main financial reports used by companies: reports 103 and 104.

To get these reports, go to Accounting ‣ Reporting ‣ Tax Return. Click the Report: icon and select 103 (EC) or 104 (EC).

Report 103

This report provides details on income tax withholdings in a given period and can be reported monthly or semi-annually. It includes information about base, tax amounts, and tax codes, and can be used for SRI reporting.

Report 104

This report provides details on VAT tax and VAT withholding for a given period and can be generated monthly or semi-annually. It includes information about base, tax amounts, and tax codes, and can be used for SRI reporting.

ATS report

Install the ATS Report (l10n_ec_reports_ats) module to enable downloading the ATS report in XML format.

Note

The Ecuadorian ATS Report module depends on the previous installation of the Accounting app and the Ecuadorian EDI module.

Configuration

To issue electronic documents, ensure the company is configured as explained in the electronic invoice section.

In the ATS, every document generated in Odoo (invoices, vendor bills, sales and purchases withholdings, credit notes, and debit notes) will be included.

Vendor bills

When generating a vendor bill, it is necessary to register the authorization number from the vendor’s invoice. To do so, go to Accounting ‣ Vendors ‣ Bills and select the bill. Then, enter the number from the vendor’s invoice in the Authorization Number field.

Credit and debit notes

When generating a credit note or debit note manually or through an import, it is necessary to link this note to the sales invoice that is being modified by it.

Note

Remember to add all required information to the documents before downloading the ATS file. For example, add the Authorization Number and the SRI Payment Method on documents, when needed.

XML generation

To generate the ATS report, go to Accounting ‣ Reporting ‣ Tax Return. Choose a time period for the desired ATS report, then click ATS.

The downloaded XML file is ready to be uploaded to DIMM Formularios.

Note

When downloading the ATS report, Odoo generates a warning pop-up alerting the user if a document(s) has missing or incorrect data. Nevertheless, the XML file can still be downloaded.