XML 190 R82.htm IDEA: XBRL DOCUMENT
v3.25.1

Basis for preparation (Details) - COP ($) $ in Millions |  |  | 1 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
Oct. 02, 2024 | Mar. 17, 2023 | Jul. 31, 2024 | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Basis for presentation |  |  |  |  |  |
Percentage of direct ownership of capital shares |  |  |  |  | 49.00% | 49.00%
Percentage of interest acquired |  |  |  | 45.00% |  |
Net cash paid |  |  |  | $ 157,705 | $ 0 | $ 0
Oleoducto de Colombia S.A. | Repsol Ductos de Colombia |  |  |  |  |  |
Basis for presentation |  |  |  |  |  |
Percentage of ownership interest held | 7.14% |  | 7.14% |  |  |
Econova Technology & Innovation, S.L. |  |  |  |  |  |
Basis for presentation |  |  |  |  |  |
Percentage of direct ownership of capital shares |  | 100.00% |  |  |  |
Repsol Ductos de Colombia |  |  |  |  |  |
Basis for presentation |  |  |  |  |  |
Percentage of interest acquired |  |  | 100.00% |  |  |

X
- Definition The proportion of the voting rights held by the entity. + References No definition available. + Details
Name: | ec_ProportionOfOwnershipInterestsHeld
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate cash flows used in obtaining control of subsidiaries or other businesses, classified as investing activities. [Refer: Total for all subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2024-01-01 -Paragraph 39 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2024-en-r&anchor=para_39&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfBusinessCombinationsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of voting equity interests acquired in a business combination. [Refer: Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_c&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_PercentageOfVotingEquityInterestsAcquired
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | instant

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: | ec_IfrsOwnershipAxis=ec_OleoductoDeColombiaS.a.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ec_IfrsLegalEntityAxis=ec_RepsolDuctosDeColombiaRdcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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