XML 270 R162.htm IDEA: XBRL DOCUMENT
v3.25.1

Revenue from contracts with customers - Sales by geographic area (Details) $ in Millions, $ in Trillions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2024 COP ($) | Dec. 31, 2024 USD ($) | Dec. 31, 2023 COP ($) | Dec. 31, 2022 COP ($) | Dec. 31, 2021 | Dec. 31, 2024 USD ($)
Revenue from contracts with customers |  |  |  |  |  |
Revenue | $ 133,330,428 |  | $ 143,189,602 | $ 159,611,078 |  |
Percentage of entitys revenue | 100.00% | 100.00% | 100.00% | 100.00% |  |
Percentage Of Progress Obtained For Functional Unit 3 |  |  |  |  | 6.00% |
ISA committed investments | $ 27,300,000 |  |  |  |  |
Capital contributions | 20,430 |  | $ 853 | $ 329,377 |  |
Maintenance and optimization plan |  |  |  |  |  | $ 0.9
Technological developments and headquarters conservation | 1,000,000 |  |  |  |  |
Conexin Kimal Lo Aguirre in Chile and TOCE CEPI Energy Transmission Project |  |  |  |  |  |
Revenue from contracts with customers |  |  |  |  |  |
Capital contributions |  | $ 1.4 |  |  |  |
ISA Brasil and subsidiaries |  |  |  |  |  |
Revenue from contracts with customers |  |  |  |  |  |
Amount of reinforcement and improvements approved | 6,200,000 |  |  |  |  |
Energy transmission |  |  |  |  |  |
Revenue from contracts with customers |  |  |  |  |  |
Amount of projects awarded | $ 22,700,000 |  |  |  |  |
Percentage of projects awarded | 83.30% | 83.30% |  |  |  |
Construction and Improvement Businesses Roads |  |  |  |  |  |
Revenue from contracts with customers |  |  |  |  |  |
Amount of projects awarded | $ 3,600,000 |  |  |  |  |
Percentage of projects awarded | 13.30% | 13.30% |  |  |  |
Telecommunications Business Development |  |  |  |  |  |
Revenue from contracts with customers |  |  |  |  |  |
Amount of projects awarded | $ 900,000 |  |  |  |  |
Percentage of projects awarded | 3.40% | 3.40% |  |  |  |
Colombia |  |  |  |  |  |
Revenue from contracts with customers |  |  |  |  |  |
Revenue | $ 62,655,873 |  | $ 71,745,082 | $ 83,651,506 |  |
Percentage of entitys revenue | 47.00% | 47.00% | 50.10% | 52.40% |  |
Asia |  |  |  |  |  |
Revenue from contracts with customers |  |  |  |  |  |
Revenue | $ 24,295,815 |  | $ 28,841,440 | $ 22,547,997 |  |
Percentage of entitys revenue | 18.20% | 18.20% | 20.10% | 14.10% |  |
United States |  |  |  |  |  |
Revenue from contracts with customers |  |  |  |  |  |
Revenue | $ 27,094,454 |  | $ 24,991,770 | $ 27,120,783 |  |
Percentage of entitys revenue | 20.30% | 20.30% | 17.50% | 17.00% |  |
South America And Others |  |  |  |  |  |
Revenue from contracts with customers |  |  |  |  |  |
Revenue | $ 16,209,032 |  | $ 12,223,922 | $ 13,609,587 |  |
Percentage of entitys revenue | 12.20% | 12.20% | 8.50% | 8.50% |  |
Central America And the Caribbean |  |  |  |  |  |
Revenue from contracts with customers |  |  |  |  |  |
Revenue | $ 412,408 |  | $ 2,637,460 | $ 9,841,202 |  |
Percentage of entitys revenue | 0.30% | 0.30% | 1.90% | 6.20% |  |
Europe |  |  |  |  |  |
Revenue from contracts with customers |  |  |  |  |  |
Revenue | $ 2,662,846 |  | $ 2,749,928 | $ 2,840,003 |  |
Percentage of entitys revenue | 2.00% | 2.00% | 1.90% | 1.80% |  |

X
- Definition The amount of projects awarded. + References No definition available. + Details
Name: | ec_AmountOfProjectsAwarded
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The approved amount for reinforcement and improvements. + References No definition available. + Details
Name: | ec_AmountOfReinforcementAndImprovementsApproved
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of future capital expenditures of ISA that the entity is committed to make. + References No definition available. + Details
Name: | ec_CapitalCommitmentsIncludesIsaCommittedInvestments
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition The amount of increase (decrease) in investments in joint ventures and associates through capitalization. + References No definition available. + Details
Name: | ec_IncreaseDecreaseThroughCapitalizationInvestmentInJointVenturesAndAssociates
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The percentage of progress obtained for functional unit 3. + References No definition available. + Details
Name: | ec_PercentageOfProgressObtainedForFunctionalUnit3
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of projects awarded. + References No definition available. + Details
Name: | ec_PercentageOfProjectsAwarded
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of projection of investments related to maintenance and optimization plan. + References No definition available. + Details
Name: | ec_ProjectionOfInvestmentsRelatedToMaintenanceAndOptimizationPlan
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of projection of investments related to technological developments and headquarters conservation. + References No definition available. + Details
Name: | ec_ProjectionOfInvestmentsRelatedToTechnologicalDevelopmentsAndHeadquartersConservation
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The percentage of the entity's revenue. [Refer: Revenue] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 34 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_34&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PercentageOfEntitysRevenue
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The income arising in the course of an entity's ordinary activities. Income is increases in assets, or decreases in liabilities, that result in increases in equity, other than those relating to contributions from holders of equity claims. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 28 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_28_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 23 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_23_a&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 32 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_32&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 33 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_33_a&doctype=Standard -URIDate 2024-03-27 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 34 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_34&doctype=Standard -URIDate 2024-03-27 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2024-01-01 -Paragraph 33 -Subparagraph b -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2024-en-r&anchor=para_33_b_i&doctype=Standard -URIDate 2024-03-27 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph B12 -Subparagraph b -Clause v -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_B12_b_v&doctype=Appendix&subtype=B -URIDate 2024-03-27 Reference 8: 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 9: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 82 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_82_a&doctype=Standard -URIDate 2024-03-27 Reference 10: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_103&doctype=Standard -URIDate 2024-03-27 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 102 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_102&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_Revenue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_JointVenturesAxis=ec_ConexinKimalLoAguirreInChileAndToceCepiEnergyTransmissionProjectMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_ProductsAndServicesAxis=ec_EnergyPowerTransmissionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ProductsAndServicesAxis=ec_ConstructionAndImprovementBusinessesRoadsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ProductsAndServicesAxis=ec_TelecommunicationsBusinessDevelopmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ec_ColombiaCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ec_AsiaContinentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ec_UnitedStatesOfAmericaCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ec_SouthAmericaAndOthersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ec_CentralAmericaAndCaribbeanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ec_EuropeContinentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |