XML 304 R196.htm IDEA: XBRL DOCUMENT
v3.25.1

Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures - Consolidated subsidiary companies (Details) - COP ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Ownership interest |  | 49.00% | 49.00% |
Equity | $ 105,913,439 | $ 100,252,480 | $ 113,903,089 | $ 90,583,772
Profit (loss) | 18,498,875 | 25,383,071 | $ 35,199,480 |
Total assets | 298,242,156 | 280,141,090 |  |
Total liabilities | $ 192,328,717 | $ 179,888,610 |  |
Refineria de Cartagena S.A.S. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Refining of hydrocarbons, commercialization and distribution of products |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 24,523,635 |  |  |
Profit (loss) | (1,133,742) |  |  |
Total assets | 36,605,614 |  |  |
Total liabilities | $ 12,081,979 |  |  |
Cenit Transporte y Logistica S.A.S. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Colombian Peso |  |  |
Ownership interest | 100.00% |  |  |
Activity | Storage and transport by pipelines of hydrocarbons |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 16,883,376 |  |  |
Profit (loss) | 5,211,389 |  |  |
Total assets | 19,875,855 |  |  |
Total liabilities | $ 2,992,479 |  |  |
Ecopetrol Global Energy S.L.U. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Investment Vehicle |  |  |
Country/Domicile | Spain |  |  |
Geographic area of operations | Spain |  |  |
Equity | $ 17,394,898 |  |  |
Profit (loss) | 381,272 |  |  |
Total assets | 17,395,245 |  |  |
Total liabilities | $ 347 |  |  |
Oleoducto Central S. A. - Ocensa |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 72.65% |  |  |
Activity | Transportation by crude oil pipelines |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 3,628,322 |  |  |
Profit (loss) | 3,003,613 |  |  |
Total assets | 7,555,797 |  |  |
Total liabilities | $ 3,927,475 |  |  |
Ocensa Ductos S.A.S. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 72.65% |  |  |
Activity | Investment Vehicle |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 1,090 |  |  |
Profit (loss) | 27,126 |  |  |
Total assets | 2,123 |  |  |
Total liabilities | $ 1,033 |  |  |
Hocol Petroleum Limited. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Investment Vehicle |  |  |
Country/Domicile | Bermuda |  |  |
Geographic area of operations | Bermuda |  |  |
Equity | $ 4,058,521 |  |  |
Profit (loss) | 75,873 |  |  |
Total assets | 4,129,198 |  |  |
Total liabilities | $ 70,677 |  |  |
Ecopetrol America LLC. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Exploration and exploitation of hydrocarbons |  |  |
Country/Domicile | United States |  |  |
Geographic area of operations | United States |  |  |
Equity | $ 1,282,916 |  |  |
Profit (loss) | (517,319) |  |  |
Total assets | 3,221,343 |  |  |
Total liabilities | $ 1,938,427 |  |  |
Hocol S.A. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Exploration and exploitation of hydrocarbons |  |  |
Country/Domicile | Cayman Islands |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 3,527,391 |  |  |
Profit (loss) | 123,881 |  |  |
Total assets | 5,277,795 |  |  |
Total liabilities | $ 1,750,404 |  |  |
Esenttia S.A. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Production and commercialization of polypropylene resin |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 2,786,401 |  |  |
Profit (loss) | 2,684 |  |  |
Total assets | 3,351,597 |  |  |
Total liabilities | $ 565,196 |  |  |
Ecopetrol Capital AG |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Collection of surpluses from, and providing funds to, companies of Ecopetrol Business Group |  |  |
Country/Domicile | Switzerland |  |  |
Geographic area of operations | Switzerland |  |  |
Equity | $ 3,342,023 |  |  |
Profit (loss) | 70,314 |  |  |
Total assets | 10,424,269 |  |  |
Total liabilities | $ 7,082,246 |  |  |
Oleoducto de Colombia S.A. - ODC |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Colombian Peso |  |  |
Ownership interest | 78.19% |  |  |
Activity | Transportation by crude oil pipelines |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 452,073 |  |  |
Profit (loss) | 379,927 |  |  |
Total assets | 790,822 |  |  |
Total liabilities | $ 338,749 |  |  |
Black Gold Re Ltd. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Reinsurer for companies of Ecopetrol Business Group |  |  |
Country/Domicile | Bermuda |  |  |
Geographic area of operations | Bermuda |  |  |
Equity | $ 1,412,560 |  |  |
Profit (loss) | 160,839 |  |  |
Total assets | 1,687,390 |  |  |
Total liabilities | $ 274,830 |  |  |
Andean Chemicals Ltd. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Investment Vehicle |  |  |
Country/Domicile | Bermuda |  |  |
Geographic area of operations | Bermuda |  |  |
Equity | $ 2,069,219 |  |  |
Profit (loss) | (8,618) |  |  |
Total assets | 2,109,831 |  |  |
Total liabilities | $ 40,612 |  |  |
Oleoducto de los Llanos Orientales S. A. - ODL |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Colombian Peso |  |  |
Ownership interest | 65.00% |  |  |
Activity | Transportation by crude oil pipelines |  |  |
Country/Domicile | Panama |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 833,223 |  |  |
Profit (loss) | 626,281 |  |  |
Total assets | 1,392,775 |  |  |
Total liabilities | $ 559,552 |  |  |
Interconexion Electrica S.A. E.S.P. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Colombian Peso |  |  |
Ownership interest | 51.41% |  |  |
Activity | Public transmission service of electric power, the development of infrastructure projects and their commercial exploitation and the development of information technology systems, activities and services and telecommunications. |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Latin-America |  |  |
Equity | $ 28,268,006 |  |  |
Profit (loss) | 2,807,941 |  |  |
Total assets | 76,995,347 |  |  |
Total liabilities | $ 48,727,341 |  |  |
Inversiones de Gases de Colombia S.A. Invercolsa S.A. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Colombian Peso |  |  |
Ownership interest | 51.88% |  |  |
Activity | Holding with investments in natural gas and LPG transportation and distribution companies in Colombia |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 657,506 |  |  |
Profit (loss) | 292,206 |  |  |
Total assets | 663,063 |  |  |
Total liabilities | $ 5,557 |  |  |
Alcanos de Colombia S.A. E.S.P. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Colombian Peso |  |  |
Ownership interest | 29.61% |  |  |
Activity | Residential public fuel gas service, construction and operation of gas pipelines, distribution networks, regulation, measurement, and compression stations. |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 328,233 |  |  |
Profit (loss) | 143,017 |  |  |
Total assets | 902,475 |  |  |
Total liabilities | $ 574,242 |  |  |
Metrogas de Colombia S.A E.S.P. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Colombian Peso |  |  |
Ownership interest | 33.49% |  |  |
Activity | Public service of commercialization and distribution of fuel gas; the exploration, exploitation, storage, use, transportation, refining, purchase, sale and distribution of hydrocarbons and their derivatives. |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 59,813 |  |  |
Profit (loss) | 18,208 |  |  |
Total assets | 168,529 |  |  |
Total liabilities | $ 108,716 |  |  |
Gases del Oriente S.A. E.S.P. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Colombian Peso |  |  |
Ownership interest | 48.50% |  |  |
Activity | Home public service of distribution of fuel gas and the development of all complementary activities to the supplying of said service. |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 95,123 |  |  |
Profit (loss) | 52,629 |  |  |
Total assets | 305,458 |  |  |
Total liabilities | $ 210,335 |  |  |
Promotora de Gases del Sur S.A. E.S.P. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Colombian Peso |  |  |
Ownership interest | 31.44% |  |  |
Activity | Promote the linking of national or foreign capital, public or private, to achieve the gas massification project. |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 56,128 |  |  |
Profit (loss) | 42,502 |  |  |
Total assets | 86,215 |  |  |
Total liabilities | $ 30,087 |  |  |
Combustibles Lquidos de Colombia S.A E.S.P. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Colombian Peso |  |  |
Ownership interest | 41.61% |  |  |
Activity | Wholesale marketing of fuel gas, the supplying of the residential public service of LPG distribution and the development of complementary activities to supply the service. |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 60,706 |  |  |
Profit (loss) | 396 |  |  |
Total assets | 80,612 |  |  |
Total liabilities | $ 19,906 |  |  |
Ecopetrol USA Inc. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Exploration and exploitation of hydrocarbons |  |  |
Country/Domicile | United States |  |  |
Geographic area of operations | United States |  |  |
Equity | $ 15,570,625 |  |  |
Profit (loss) | 737,381 |  |  |
Total assets | 15,588,736 |  |  |
Total liabilities | $ 18,111 |  |  |
Ecopetrol Permian LLC. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Exploration and exploitation of hydrocarbons |  |  |
Country/Domicile | United States |  |  |
Geographic area of operations | United States |  |  |
Equity | $ 11,514,549 |  |  |
Profit (loss) | 726,650 |  |  |
Total assets | 15,493,572 |  |  |
Total liabilities | $ 3,979,023 |  |  |
Ecopetrol Oleo e Gas do Brasil Ltda. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Real |  |  |
Ownership interest | 100.00% |  |  |
Activity | Exploration and exploitation of hydrocarbons |  |  |
Country/Domicile | Brazil |  |  |
Geographic area of operations | Brazil |  |  |
Equity | $ 1,713,380 |  |  |
Profit (loss) | (349,526) |  |  |
Total assets | 1,750,489 |  |  |
Total liabilities | $ 37,109 |  |  |
Esenttia Masterbatch Ltda. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Colombian Peso |  |  |
Ownership interest | 100.00% |  |  |
Activity | Manufacture of polypropylene compounds and masterbatches |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 403,884 |  |  |
Profit (loss) | 249,222 |  |  |
Total assets | 540,388 |  |  |
Total liabilities | $ 136,504 |  |  |
Ecopetrol del Peru S. A. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Exploration and exploitation of hydrocarbons |  |  |
Country/Domicile | Peru |  |  |
Geographic area of operations | Peru |  |  |
Equity | $ 68,292 |  |  |
Profit (loss) | 1,687 |  |  |
Total assets | 70,972 |  |  |
Total liabilities | $ 2,680 |  |  |
ECP Hidrocarburos de Mexico S.A. de C.V. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Offshore exploration |  |  |
Country/Domicile | Mexico |  |  |
Geographic area of operations | Mexico |  |  |
Equity | $ 42,665 |  |  |
Profit (loss) | (6,853) |  |  |
Total assets | 45,541 |  |  |
Total liabilities | $ 2,876 |  |  |
Ecopetrol Costa Afuera S.A.S. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Colombian Peso |  |  |
Ownership interest | 100.00% |  |  |
Activity | Offshore exploration |  |  |
Country/Domicile | Colombia |  |  |
Geographic area of operations | Colombia |  |  |
Equity | $ 13,671 |  |  |
Profit (loss) | 277 |  |  |
Total assets | 13,865 |  |  |
Total liabilities | $ 194 |  |  |
Esenttia Resinas del Peru SAC |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Commercialization polypropylene resins and masterbatches |  |  |
Country/Domicile | Peru |  |  |
Geographic area of operations | Peru |  |  |
Equity | $ 16,016 |  |  |
Profit (loss) | (710) |  |  |
Total assets | 32,130 |  |  |
Total liabilities | $ 16,114 |  |  |
Esenttia Resinas de Mxico |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Mexican Peso |  |  |
Ownership interest | 100.00% |  |  |
Activity | Commercialization polypropylene resins and masterbatches |  |  |
Country/Domicile | Mexico |  |  |
Geographic area of operations | Mexico |  |  |
Equity | $ (268) |  |  |
Profit (loss) | (829) |  |  |
Total assets | 5,825 |  |  |
Total liabilities | $ 6,093 |  |  |
Kalixpan Servicios Tecnicos S de RL de CV. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Mexican Peso |  |  |
Ownership interest | 100.00% |  |  |
Activity | Specialized services related to oil and gas industry |  |  |
Country/Domicile | Mexico |  |  |
Geographic area of operations | Mexico |  |  |
Equity | $ 3 |  |  |
Profit (loss) | (82) |  |  |
Total assets | 4 |  |  |
Total liabilities | $ 1 |  |  |
Ecopetrol US Trading LLC |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | International trading of crude oil and refined products |  |  |
Country/Domicile | United States |  |  |
Geographic area of operations | United States |  |  |
Equity | $ 518,000 |  |  |
Profit (loss) | 418,165 |  |  |
Total assets | 2,619,702 |  |  |
Total liabilities | $ 2,101,702 |  |  |
Econova Technology & innovation S.L. |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | US Dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Execution of activities related to science, technology, and innovation (ST+i) |  |  |
Country/Domicile | Spain |  |  |
Geographic area of operations | Spain |  |  |
Equity | $ 2,083 |  |  |
Profit (loss) | (1,915) |  |  |
Total assets | 3,739 |  |  |
Total liabilities | $ 1,656 |  |  |
Ecopetrol Singapore PTE. LTD |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Singapore dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | Holding company with investment in an international trading company for crude oil and refined products |  |  |
Country/Domicile | Singapore |  |  |
Geographic area of operations | Asia |  |  |
Equity | $ 787,363 |  |  |
Profit (loss) | 489,395 |  |  |
Total assets | 787,536 |  |  |
Total liabilities | $ 173 |  |  |
Ecopetrol Trading Asia PTE. LTD |  |  |  |
Exhibit 1 - Consolidated subsidiaries, associates, and joint ventures |  |  |  |
Functional currency | Singapore dollar |  |  |
Ownership interest | 100.00% |  |  |
Activity | International trading of crude oil and refined products |  |  |
Country/Domicile | Singapore |  |  |
Geographic area of operations | Asia |  |  |
Equity | $ 786,909 |  |  |
Profit (loss) | 489,565 |  |  |
Total assets | 2,850,765 |  |  |
Total liabilities | $ 2,063,856 |  |  |

X
- Definition The description of nature of activity of subsidiary. + References No definition available. + Details
Name: | ec_DescriptionOfNatureOfActivityOfSubsidiary
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | ec_DisclosureOfConsolidatedSubsidiariesAssociatesAndJointVenturesLineItems
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of a present economic resource controlled by the entity as a result of past events. Economic resource is a right that has the potential to produce economic benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_a&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 28 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_28_c&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_e&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 23 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_23&doctype=Standard -URIDate 2024-03-27 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_b&doctype=Standard -URIDate 2024-03-27 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_55&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_Assets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The country in which a subsidiary of the entity is incorporated. [Refer: Total for all subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2024-01-01 -Paragraph 16 -Subparagraph b -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2024-en-r&anchor=para_16_b_ii&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2024-01-01 -Paragraph 17 -Subparagraph b -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2024-en-r&anchor=para_17_b_ii&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph 12 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_12_b&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph 19B -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_19B_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CountryOfIncorporationOrResidenceOfSubsidiary
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The description of the currency of the primary economic environment in which the entity operates. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 21 -IssueDate 2024-01-01 -Paragraph 53 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=21&code=ifrs-tx-2024-en-r&anchor=para_53&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 21 -IssueDate 2024-01-01 -Paragraph 57 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=21&code=ifrs-tx-2024-en-r&anchor=para_57_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_DescriptionOfFunctionalCurrency
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of residual interest in the assets of the entity after deducting all its liabilities. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2024-01-01 -Paragraph 24 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2024-en-r&anchor=para_24_a&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2024-01-01 -Paragraph 32 -Subparagraph a -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2024-en-r&anchor=para_32_a_i&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_a&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_e&doctype=Standard -URIDate 2024-03-27 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_b&doctype=Standard -URIDate 2024-03-27 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_55&doctype=Standard -URIDate 2024-03-27 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 78 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_78_e&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_Equity
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of a present obligation of the entity to transfer an economic resource as a result of past events. Economic resource is a right that has the potential to produce economic benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_a&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_e&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 28 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_28_d&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 23 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_23&doctype=Standard -URIDate 2024-03-27 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_b&doctype=Standard -URIDate 2024-03-27 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_55&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_Liabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The principal place of business of a subsidiary. [Refer: Principal place of business; Total for all subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2024-01-01 -Paragraph 16 -Subparagraph b -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2024-en-r&anchor=para_16_b_ii&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2024-01-01 -Paragraph 17 -Subparagraph b -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2024-en-r&anchor=para_17_b_ii&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph 12 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_12_b&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph 19B -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_19B_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PrincipalPlaceOfBusinessOfSubsidiary
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total of income less expenses from continuing and discontinued operations, excluding the components of other comprehensive income. [Refer: Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2024-01-01 -Paragraph 18 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2024-en-r&anchor=para_18_b&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2024-01-01 -Paragraph 32 -Subparagraph a -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2024-en-r&anchor=para_32_a_ii&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2024-01-01 -Paragraph 24 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2024-en-r&anchor=para_24_b&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 28 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_28_b&doctype=Standard -URIDate 2024-03-27 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 23 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_23&doctype=Standard -URIDate 2024-03-27 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph B10 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_B10_b&doctype=Appendix&subtype=B -URIDate 2024-03-27 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 17 -IssueDate 2024-01-01 -Paragraph 113 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2024-en-r&anchor=para_113_b&doctype=Standard -URIDate 2024-03-27 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 81A -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_81A_a&doctype=Standard -URIDate 2024-03-27 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 106 -Subparagraph d -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_106_d_i&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ProfitLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The proportion of ownership interest in a subsidiary attributable to the entity. [Refer: Total for all subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2024-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2024-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2024-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2024-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph 19B -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_19B_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInSubsidiary
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_RefineriaDeCartagenaSASMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_CenitTransporteYLogsticaSASMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolGlobalEnergySluMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_OleoductoCentralSAUnitedOcensaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_OcensaDuctosSasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_HocolPetroleumLimitedHplMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolAmericaLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_HocolSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EsenttiaS.aMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolCapitalAgMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_OleoductoDeColombiaSaOdcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_BlackGoldReLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_AndeanChemicalsLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_OleoductoDeLosLlanosOrientalesSAUnitedODLMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_InterconexinElctricaS.a.EspMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_InversionesDeGasesDeColombiaS.a.InvercolsaS.a.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_AlcanosDeColombiaS.a.E.s.p.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_MetrogasDeColombiaS.aE.s.p.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_GasesDelOrienteS.a.E.s.p.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_PromotoraDeGasesDelSurS.a.E.s.p.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_CombustiblesLquidosDeColombiaS.aE.s.p.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolAmericaIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolPermianLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolOleoEGasDoBrasilLtdaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EsenttiaMasterbatchLtdaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolDelPerSAUnitedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcpHidrocarburosDeMexicoSaDeCvMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolCostaAfueraSasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EsenttiaResinasDelPeruSacMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EsenttiaResinasDeMexicoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_KalixpanServiciosTecnicosSDeRlDeCvMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolUsTradingLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EconovaTechnologyAndInnovationS.l.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolSingaporePte.LtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolTradingAsiaPte.LtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |