XML 125 R116.htm IDEA: XBRL DOCUMENT
v3.24.3

Risk management - Additional Information (Details) $ in Millions | 6 Months Ended |  |  |
--- | --- | --- | --- | ---
Jun. 30, 2024 USD ($) | Jun. 30, 2024 COP ($) | Jun. 30, 2023 COP ($) | Jun. 30, 2024 COP ($) | Dec. 31, 2023 COP ($) | Dec. 31, 2022 COP ($)
Risk management |  |  |  |  |  |
Closing balance exchange rate |  |  |  | 4,148.04 | 3,822.04 |
Net position of assets and liabilities different functional currency | $ 830 |  |  |  |  |
Maximum percentage of cash investment held in portfolio, current | 5.00% | 5.00% |  |  |  |
Debt principal payments |  | $ 8,486,656,000,000 | $ 9,976,744,000,000 |  |  |
Hedging instrument liabilities | $ 16,956 |  |  |  |  |
Colombian Peso |  |  |  |  |  |
Risk management |  |  |  |  |  |
Net liabilities of companies in the group with a different functional currency | 16,590 |  |  |  |  |
Exchange difference valuation of remaining net liabilities | 366 |  |  |  |  |
US Dollar |  |  |  |  |  |
Risk management |  |  |  |  |  |
Exchange difference valuation of remaining net liabilities | $ 16,956 |  |  |  |  |
Maximum percentage of cash investment held in portfolio, current | 5.00% | 5.00% |  |  |  |
Hedge of a net investment in a foreign operation |  |  |  |  |  |
Risk management |  |  |  |  |  |
Hedging instrument at the end of the period | $ 10,695 |  |  | $ 5,329,955,000,000 | $ 3,140,684,000,000 | $ 9,354,071,000,000
Hedging instrument liabilities | 10,695 |  |  |  |  |
Hedge of a net investment in a foreign operation | Ecopetrol Business Group |  |  |  |  |  |
Risk management |  |  |  |  |  |
Debt principal payments | 330 |  |  |  |  |
Hedging instrument at the end of the period | 10,365 |  |  |  |  |
Hedge of a net investment in a foreign operation | ISA Colombia |  |  |  |  |  |
Risk management |  |  |  |  |  |
Hedging instrument at the end of the period | $ 330 |  |  |  |  |
Commodity price risk [member] |  |  |  |  |  |
Risk management |  |  |  |  |  |
Total net asset (liability) position in swaps |  |  |  | $ 222,000,000 | $ 6,350,000,000 |
Currency risk |  |  |  |  |  |
Risk management |  |  |  |  |  |
Increase decrease in foreign exchange rate | 7.86% | 7.86% |  |  |  |

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 percentage of the value of foreign exchange price increased decreased during the period. + References No definition available. + Details
Name: | ec_IncreaseDecreaseInForeignExchangeRate
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of maximum investment in terms of cash provided by entity in portfolio, current. + References No definition available. + Details
Name: | ec_MaximumPercentageOfCashInvestmentHeldInPortfolioCurrent
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount represents net position of assets and liabilities of functional currency. + References No definition available. + Details
Name: | ec_NetPositionOfAssetsAndLiabilitiesOfFunctionalCurrency
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The spot exchange rate at the end of the reporting period. Exchange rate is the ratio of exchange for two currencies. Spot exchange rate is the exchange rate for immediate delivery. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ClosingForeignExchangeRate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of financial assets set off against financial liabilities when an entity: (a) currently has a legally enforceable right to set off the recognised amounts; and (b) intends either to settle on a net basis, or to realise the asset and settle the liability simultaneously. [Refer: Financial assets; Financial liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 13C -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_13C_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_GrossFinancialAssetsSetOffAgainstFinancialLiabilitiesSubjectToOffsettingEnforceableMasterNettingArrangementsOrSimilarAgreements
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The gross amount of recognised financial liabilities that are subject either to offsetting or to an enforceable master netting arrangement or similar agreement. [Refer: Financial liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 13C -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_13C_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_GrossFinancialLiabilitiesSubjectToOffsettingEnforceableMasterNettingArrangementsOrSimilarAgreements
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

X
- Definition The cash outflow to settle borrowings, classified as financing activities. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2023-01-01 -Paragraph 17 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_17_d&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of risk exposure associated with financial instruments with a shared characteristic that identifies a concentration of risks. [Refer: Financial instruments, class [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph B8 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B8_c&doctype=Appendix&subtype=B -URIDate 2023-03-23 + Details
Name: | ifrs-full_RiskExposureAssociatedWithInstrumentsSharingCharacteristic
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | srt_CurrencyAxis=ec_ColombianPesoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CurrencyAxis=ec_UsDollarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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: |

X
- Details
Name: | ifrs-full_TypesOfRisksAxis=ifrs-full_CommodityPriceRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfRisksAxis=ifrs-full_CurrencyRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |