XML 212 R168.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Risk management - Risk management (Sensitivity in income and other comprehensive income to variations in interest rate) (Details) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 COP ($)
Increase in floating interest (+100 basis points) |
Risk management |
Financial assets (Financial expenses) | $ (57,834)
Financial liabilities (Financial income) | 1,250,938
Plan assets (Other comprehensive income) | (479,513)
Decrease in floating interest (-100 basis points) |
Risk management |
Financial assets (Financial income) | 57,834
Financial liabilities (Financial expenses) | (1,559,533)
Plan assets (Other comprehensive income) | $ 491,397

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