XML 119 R110.htm IDEA: XBRL DOCUMENT
v3.24.3

Risk management - Financial assets and liabilities denominated in foreign currency (Details) $ in Millions | 6 Months Ended
--- | ---
Jun. 30, 2024 COP ($)
Risk management |
Scenario / variation in the exchange rate | 1.00%
variation in the exchange rate | 5.00%
Credit risk in U.S. dollar portfolio |
Risk management |
Scenario / variation in the exchange rate | 1.00%
USD$ Million |
Risk management |
variation in the exchange rate | 5.00%
Currency risk |
Risk management |
One Percent variations in exchange rate, Effect on income before income taxes | $ 19,255
One percent variations in exchange rate, effect on other comprehensive income | 703,334
Five Percent variations in exchange rate, Effect on income before income taxes | 96,273
Five Percent variations in exchange rate, effect on other comprehensive income | $ 3,516,669

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 Amount of change in comprehensive income due to 5% change in exchange rate. + References No definition available. + Details
Name: | ec_FivePercentVariationInExchangeRateOtherComprehensiveIncome
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of change in income before income taxes due to 5% change in exchange rate. + References No definition available. + Details
Name: | ec_FivePercentVariationsInExchangeRateEffectOnIncomeBeforeIncomeTaxes
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 percentage of maximum investment in terms of cash provided by entity in portfolio, non current. + References No definition available. + Details
Name: | ec_MaximumPercentageOfCashInvestmentHeldInPortfolioNonCurrent
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of change in income before income taxes due to 1% change in exchange rate. + References No definition available. + Details
Name: | ec_OnePercentVariationsInExchangeRateEffectOnIncomeBeforeIncomeTaxes
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of change in comprehensive income due to 1% change in exchange rate. + References No definition available. + Details
Name: | ec_OnePercentVariationsInExchangeRateOtherComprehensiveIncome
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_TypesOfInvestmentPropertyAxis=ec_UsDollarPortfolioMember
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_TypesOfRisksAxis=ifrs-full_CurrencyRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |