XML 283 R175.htm IDEA: XBRL DOCUMENT
v3.25.1

Risk management - Risk management (Sensitivity in income and other comprehensive income to variations in interest rate) (Details) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 COP ($)
Increase in floating interest (+100 basis points) |
Risk management |
Financial assets (Financial expenses) | $ (168,032)
Financial liabilities (Financial income) | (1,800,691)
Plan assets (Other comprehensive income) | 476,735
Decrease in floating interest (-100 basis points) |
Risk management |
Financial assets (Financial income) | 162,600
Financial liabilities (Financial expenses) | (2,216,778)
Plan assets (Other comprehensive income) | $ (489,096)

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 increase or decrease in financial assets expense during the period. + References No definition available. + Details
Name: | ec_IncreaseDecreaseInFinancialAssetsExpenses
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase or decrease in financial assets income during the period. + References No definition available. + Details
Name: | ec_IncreaseDecreaseInFinancialAssetsIncome
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase or decrease in financial liabilities expenses during the period. + References No definition available. + Details
Name: | ec_IncreaseDecreaseInFinancialLiabilitiesExpenses
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase or decrease in financial liabilities income during the period. + References No definition available. + Details
Name: | ec_IncreaseDecreaseInFinancialLiabilitiesIncome
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase or decrease in interest in other comprehensive income during the period. + References No definition available. + Details
Name: | ec_IncreaseDecreaseInInterestInOtherComprehensiveIncome
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=ec_IncreaseInFloatingInterestMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=ec_DecreaseInFloatingInterestMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |