哥伦比亚

Odoo’s Colombian localization package provides accounting, fiscal, and legal features for databases in Colombia – such as chart of accounts, taxes, and electronic invoicing.

In addition, a series of videos on the subject is also available. These videos cover how to start from scratch, set up configurations, complete common workflows, and provide in-depth looks at some specific use cases as well.

配置

模块安装

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

名称

技术名称

说明

Colombia - Accounting

l10n_co

默认 财务本地化套装。该模块为哥伦比亚本地化添加了基本会计功能:会计科目表、税金、预扣款和身份证明文件类型。

哥伦比亚 - 会计报告

l10n_co_reports

Includes accounting reports for sending certifications to suppliers for withholdings applied.

Electronic invoicing for Colombia with Carvajal

l10n_co_edi

该模块包括与 Carvajal 整合所需的功能,可根据 DIAN 规定生成电子发票和与供应商账单相关的支持文件。

哥伦比亚 - 销售点

l10n_co_pos

Includes Point of Sale receipts for Colombian localization.

注解

When Colombia is selected for a company’s Fiscal Localization, Odoo automatically installs certain modules.

公司配置

To configure your company information, go to the Contacts app, and search for your company.

Alternatively, activate developer mode and navigate to General Setting ‣ Company ‣ Update Info ‣ Contact. Then, edit the contact form and configure the following information:

  • Company Name.

  • Address: Including City, Department and ZIP code.

  • Identification Number: Select the Identification Type (NIT, Cédula de Ciudadanía, Registro Civil, etc.). When the Identification Type is NIT, the Identification Number must have the verification digit at the end of the ID prefixed by a hyphen (-).

Next, configure the Fiscal Information in the Sales & Purchase tab:

  • Obligaciones y Responsabilidades: Select the fiscal responsibility for the company (O-13 Gran Contribuyente, O-15 Autorretenedor, O-23 Agente de retención IVA, O-47 Regimen de tributación simple, R-99-PN No Aplica).

  • Gran Contribuyente: If the company is Gran Contribuyente this option should be selected.

  • Fiscal Regimen: Select the Tribute Name for the company (IVA, INC, IVA e INC, or No Aplica)

  • Commercial Name: If the company uses a specific commercial name, and it needs to be displayed in the invoice.

Carjaval 证书配置

安装模块后,**必须**配置用户凭据,以便与 Carvajal Web 服务连接。要执行此操作,请导航至 会计 ‣ 配置 ‣ 设置 并滚动至 哥伦比亚电子发票 部分。然后,填写 Carvajal 提供的所需配置信息:

  • 用户名密码:公司的用户名和密码(由 Carvajal 提供)。

  • 公司注册号:公司的 NIT 编号,*不包括*验证码。

  • 账户 ID:公司的 NIT 编号,后跟 _01

  • 哥伦比亚模板代码:从两个可用模板(CGEN03CGNE04)中选择一个,用于 PDF 格式的电子发票。

启用 测试模式 复选框,以连接 Carvajal 测试环境。

一旦 Odoo 和 Carvajal 完全配置好并准备投入生产,请停用 测试模式 复选框以使用生产数据库。

Configure credentials for Carvajal web service in Odoo.

重要

Test mode must only be used on duplicated databases, not the production environment.

Report data configuration

Report data can be defined for the fiscal section and bank information of the PDF as part of the configurable information sent in the XML.

Navigate to Accounting ‣ Configuration ‣ Settings, and scroll to the Colombian Electronic Invoicing section, in order to find the Report Configuration fields. Here the header information for each report type can be configured.

  • Gran Contribuyente

  • Tipo de Régimen

  • Retenedores de IVA

  • Autorretenedores

  • Resolución Aplicable

  • Actividad Económica

  • Bank Information

Master data configuration

业务伙伴

Partner contacts can be created in the Contacts app. To do so, navigate to Contacts, and click the Create button.

Then, name the contact, and using the radio buttons, select the contact type, either Individual or Company.

Complete the full Address, including the City, State, and ZIP code. Then, complete the identification and fiscal information.

Identification information

Identification types, defined by the DIAN, are available on the partner form, as part of the Colombian localization. Colombian partners must have their Identification Number (VAT) and Document Type set.

小技巧

When the Document Type is NIT, the Identification Number needs to be configured in Odoo, including the verification digit at the end of the ID, prefixed by a hyphen (`-`).

Fiscal information

The partner’s responsibility codes (section 53 in the RUT document) are included as part of the electronic invoicing module, as it is required by the DIAN.

The required fields can be found under Partner ‣ Sales & Purchase Tab ‣ Fiscal Information section:

  • Obligaciones y Responsabilidades: Select the fiscal responsibility for the company (O-13 Gran Contribuyente, O-15 Autorretenedor, O-23 Agente de retención IVA, O-47 Regimen de tributación simple, or R-99-PN No Aplica).

  • Gran Contribuyente: If the company is Gran Contribuyente this option should be selected.

  • Fiscal Regimen: Select the tribute name for the company (IVA, INC, IVA e INC, or No Aplica)

  • Commercial Name: If the company uses a specific commercial name, and it needs to be displayed in the invoice.

产品

To manage products, navigate to Accounting ‣ Customers ‣ Products, then click on a product.

When adding general information on the product form, it is required that either the UNSPSC Category (Accounting tab), or Internal Reference (General Information tab) field is configured. Be sure to Save the product once configured.

To create or modify taxes, go to Accounting ‣ Configuration ‣ Taxes, and select the related tax.

If sales transactions include products with taxes, the Value Type field in the Advanced Options tab needs to be configured per tax. Retention tax types (ICA, IVA, Fuente) are also included. This configuration is used to display taxes correctly in the invoice PDF.

The ICA, IVA and Fuente fields in the Advanced Options tab in Odoo.

Sales journals

Once the DIAN has assigned the official sequence and prefix for the electronic invoice resolution, the sales journals related to the invoice documents must be updated in Odoo. To do so, navigate to Accounting ‣ Configuration ‣ Journals, and select an existing sales journal, or create a new one with the Create button.

On the sales journal form, input the Journal Name, Type, and set a unique Short Code in the Journals Entries tab. Then, configure the following data in the Advanced Settings tab:

  • Electronic invoicing: Enable UBL 2.1 (Colombia).

  • Invoicing Resolution: Resolution number issued by DIAN to the company.

  • Resolution Date: Initial effective date of the resolution.

  • Resolution end date: End date of the resolution’s validity.

  • Range of Numbering (minimum): First authorized invoice number.

  • Range of Numbering (maximum): Last authorized invoice number.

注解

The sequence and resolution of the journal must match the one configured in Carvajal and the DIAN.

Invoice sequence

The invoice sequence and prefix must be correctly configured when the first document is created.

注解

Odoo automatically assigns a prefix and sequence to the following invoices.

采购日记账

一旦 DIAN 为与供应商账单相关的*支持文件*指定了正式序列和前缀,就需要在 Odoo 中更新与其支持文件相关的采购日记账。该过程与 销售日记账 的配置类似。

会计科目表

The chart of accounts is installed by default as part of the localization module, the accounts are mapped automatically in taxes, default account payable, and default account receivable. The chart of accounts for Colombia is based on the PUC (Plan Unico de Cuentas).

Main workflows

Electronic invoices

The following is a breakdown of the main workflow for electronic invoices with the Colombian localization:

  1. Sender creates an invoice.

  2. Electronic invoice provider generates the legal XML file.

  3. Electronic invoice provider creates the CUFE (Invoice Electronic Code) with the electronic signature.

  4. Electronic invoice provider sends a notification to DIAN.

  5. DIAN validates the invoice.

  6. DIAN accepts or rejects the invoice.

  7. Electronic invoice provider generates the PDF invoice with a QR code.

  8. Electronic invoice provider sends invoice to the acquirer.

  9. Acquirer sends a receipt of acknowledgement, and accepts or rejects the invoice.

  10. Sender downloads a .zip file with the PDF and XML.

Electronic invoice workflow for Colombian localization.

开票创建

注解

The functional workflow taking place before an invoice validation does not alter the main changes introduced with the electronic invoice.

Electronic invoices are generated and sent to both the DIAN and customer through Carvajal’s web service integration. These documents can be created from your sales order or manually generated. To create a new invoice, go to Accounting ‣ Customers ‣ Invoices, and select Create. On the invoice form configure the following fields:

  • Customer: Customer’s information.

  • Journal: Journal used for electronic invoices.

  • Electronic Invoice Type: Select the type of document. By default, Factura de Venta is selected.

  • Invoice Lines: Specify the products with the correct taxes.

When done, click Confirm.

Invoice validation

After the invoice confirmation, an XML file is created and sent automatically to Carvajal. The invoice is then processed asynchronously by the E-invoicing service UBL 2.1 (Colombia). The file is also displayed in the chatter.

Carvajal XML invoice file in Odoo chatter.

The Electronic Invoice Name field is now displayed in the EDI Documents tab, with the name of the XML file. Additionally, the Electronic Invoice Status field is displayed with the initial value To Send. To process the invoice manually, click on the Process Now button.

贷记单据

The process for credit notes is the same as for invoices. To create a credit note with reference to an invoice, go to Accounting ‣ Customers ‣ Invoices. On the invoice, click Add Credit Note, and complete the following information:

  • Credit Method: Select the type of credit method.

    • Partial Refund: Use this option when it is a partial amount.

    • Full Refund: Use this option if the credit note is for the full amount.

    • Full refund and new draft invoice: Use this option if the credit note is auto-validated and reconciled with the invoice. The original invoice is duplicated as a new draft.

  • Reason: Enter the reason for the credit note.

  • Reversal Date: Select if you want a specific date for the credit note or if it is the journal entry date.

  • Use Specific Journal: Select the journal for your credit note or leave it empty if you want to use the same journal as the original invoice.

  • Refund Date: If you chose a specific date, select the date for the refund.

Once reviewed, click the Reverse button.

借记单

The process for debit notes is similar to credit notes. To create a debit note with reference to an invoice, go to Accounting ‣ Customers ‣ Invoices. On the invoice, click the Add Debit Note button, and enter the following information:

  • Reason: Type the reason for the debit note.

  • Debit note date: Select the specific options.

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

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

When done, click Create Debit Note.

Support document for vendor bills

With master data, credentials, and the purchase journal configured for support documents related to vendor bills, you can start using support documents.

Support documents for vendor bills can be created from your purchase order or manually. Go to Accounting ‣ Vendors ‣ Bills and fill in the following data:

  • Vendor: Enter the vendor’s information.

  • Bill Date: Select the date of the bill.

  • Journal: Select the journal for support documents related to the vendor bills.

  • Invoiced Lines: Specify the products with the correct taxes.

Once reviewed, click the Confirm button. Upon confirmation, an XML file is created and automatically sent to Carvajal.

Common errors

During the XML validation, the most common errors are related to missing master data (Contact Tax ID, Address, Products, Taxes). In such cases, error messages are shown in the chatter after updating the electronic invoice status.

After the master data is corrected, it’s possible to reprocess the XML with the new data and send the updated version, using the Retry button.

XML validation errors shown in the invoice chatter in Odoo.

财务报告

Certificado de Retención en ICA

This report is a certification to vendors for withholdings made for the Colombian Industry and Commerce (ICA) tax. The report can be found under Accounting ‣ Reporting ‣ Colombian Statements ‣ Certificado de Retención en ICA.

Certificado de Retención en ICA report in Odoo Accounting.

Certificado de Retención en IVA

This report issues a certificate on the amount withheld from vendors for VAT withholding. The report can be found under Accounting ‣ Reporting ‣ Colombian Statements ‣ Certificado de Retención en IVA.

Certificado de Retención en IVA report in Odoo Accounting.

Certificado de Retención en la Fuente

This certificate is issued to partners for the withholding tax that they have made. The report can be found under Accounting ‣ Reporting ‣ Colombian Statements ‣ Certificado de Retención en Fuente.

Certificado de Retención en Fuente report in Odoo Accounting.