Colombia¶
The following documentation covers the Colombian localization modules and their basic concepts to understand, implement, and use Colombian localization in Odoo.
Configure Master Data for Colombia
Use and configure Electronic Invoicing in Odoo for Colombia.
Configuration¶
Modules installation¶
Install the following modules to get all the features of the Colombian localization:
Name |
Technical name |
Description |
---|---|---|
Colombia - Accounting |
|
Default fiscal localization package |
Electronic invoicing for Colombia with Carvajal |
|
Carvajal e-invoicing integration |
Colombian - Point of Sale |
|
Point of Sale |
Colombian - Accounting Reports |
|
Colombian reports |
Configure credentials for Carvajal web service¶
Once the modules are installed, the user credentials need to be configured in order to connect with Carvajal Web Service. First, navigate to Colombian Electronic Invoice section. Then, fill in the required configuration information provided by Carvajal.
and look for the
Check the Test mode checkbox to connect with the Carvajal testing environment. This allows users to test the complete workflow and integration with the CEN Financiero portal, which is accessible here:
CSC is the default for new databases.
Once Odoo and Carvajal are fully configured and ready for production, the testing environment can be disabled by unchecking the Test mode checkbox.
Configure report data¶
Report data can be defined for the fiscal section and the bank information in the PDF as part of the configurable information that is sent in the XML.
Navigate to Colombian Electronic Invoice section.
and look for the
Configure data required in the XML¶
Partner¶
Configure the identification number and fiscal structure.
Identification¶
As part of the Colombian Localization, the document types defined by the DIAN are now available on the Partner form. Colombian partners have to have their identification number (VAT) and Document Type set:

Tip
When the Document Type is RUT
, the identification number needs to be configured in
Odoo, including the verification digit, Odoo will split this number when the data to the
third-party vendor is sent.
Fiscal structure (RUT)¶
The partner’s responsibility codes (section 53 in the RUT document) are included as part of the electronic invoice module, given it is part of the information required by the DIAN.
The required fields can be found in
.
Additionally, two boolean fields were added in order to specify the fiscal regimen of the partner.
Taxes¶
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 in the options to configure taxes. This configuration is used in order to display taxes in the invoice PDF correctly.

Users¶
The default template that is used by Odoo on the invoice PDF includes the job position of the salesperson, so the Job Position field should be configured.
Main workflows¶

Invoice creation¶
The functional workflow that takes place before an invoice validation doesn’t change. The main changes that are introduced with the electronic invoice are the next fields.
There are three types of documents:
Factura Electronica: This is the regular document type applicable for Invoices, Credit Notes and Debit Notes.
Factura de Importación: This should be selected for importation transactions.
Factura de contingencia: This is an exceptional type that is used as a manual backup if the company is not able to use the ERP and if it is necessary to generate the invoice manually when this invoice is added to the ERP.
Invoice validation¶
After the invoice is validated, an XML file is created and sent automatically to Carvajal. This file is also displayed in the chatter.

The Electronic Invoice Name field is now displayed in the Other Info tab with the name of the XML file. Additionally, the Electronic Invoice Status field is displayed with the initial value In progress.
Reception of legal XML and PDF¶
The electronic invoice vendor receives the XML file and proceeds to validate the structure and the information in it. In the Action drop-down menu, select the Check Carvajal Status button. If everything is correct, the Electronic Invoice Status field value changes to Validated. Then, proceed to generate a legal XML, which includes a digital signature and a unique code (CUFE), a PDF invoice that includes a QR code, and the CUFE is also generated.
After this:
A ZIP containing the legal XML and the PDF is downloaded and displayed in the invoice chatter:
The electronic invoice status changes to Accepted.
Common errors¶
During the XML validation, the most common errors are usually related to missing master data. 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 following button in the Action drop-down menu.

Additional use cases¶
The process for credit and debit notes is exactly the same as the invoice. The functional workflow remains the same as well.
Financial reports¶
This information is a quick reference to the accounting reports included in the Colombian Localization Accounting Reports module.
Certificado de Retención en ICA¶
This report is a certification to vendors for withholdings made for the Colombian Industry and Commerce tax (ICA).
Go to
.
Certificado de Retención en IVA¶
This report issues a certificate on the amount withheld from vendors for VAT withholding.
Go to
.
Certificado de Retención en la Fuente¶
This certificate is issued to partners for the withholding tax that they have made.
Go to
.