XML 280 R172.htm IDEA: XBRL DOCUMENT
v3.25.1

Risk management - Hedge of a net investment in a foreign operation (Details) - Hedge of a net investment in a foreign operation $ in Millions, $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 USD ($) | Dec. 31, 2024 COP ($) | Dec. 31, 2023 COP ($) | Dec. 31, 2022 COP ($)
Risk management |  |  |  |
Opening balance |  | $ 3,140,684 | $ 9,354,071 | $ 4,366,336
Exchange difference |  | 6,305,555 | (8,973,471) | 7,526,124
Deferred income tax (Note 10) |  | (2,979,130) | 2,760,084 | (2,538,389)
Closing balance | $ 10,269 | $ 6,467,109 | 3,140,684 | 9,354,071
Hedging instrument assets | 10,269 |  | $ 3,140,684 | $ 9,354,071
Ecopetrol Business Group |  |  |  |
Risk management |  |  |  |
Closing balance | 9,939 |  |  |
Hedging instrument assets | 9,939 |  |  |
ISA Colombia |  |  |  |
Risk management |  |  |  |
Closing balance | 330 |  |  |
Hedging instrument assets | $ 330 |  |  |

X
- Definition Disclosure of detailed information about financial risk management + References No definition available. + Details
Name: | ec_DisclosureOfDetailedInformationAboutFinancialRiskManagementLineItems
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of a hedging instrument, recognised as an asset. [Refer: Hedging instruments [domain]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 24A -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_24A_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_HedgingInstrumentAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of income tax relating to amounts recognised in other comprehensive income in relation to hedges of net investments in foreign operations. [Refer: Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 90 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_90&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2024-01-01 -Paragraph 81 -Subparagraph ab -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2024-en-r&anchor=para_81_ab&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_IncomeTaxRelatingToHedgesOfNetInvestmentsInForeignOperationsOfOtherComprehensiveIncome
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of other comprehensive income, before tax, after reclassification adjustments, related to exchange differences on translation of financial statements of foreign operations. [Refer: Other comprehensive income, before tax] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_91_b&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_7&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_OtherComprehensiveIncomeBeforeTaxExchangeDifferencesOnTranslation
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_TypesOfHedgesAxis=ifrs-full_HedgesOfNetInvestmentInForeignOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=ec_EcopetrolBusinessGroupMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=ec_IsaColombiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |