XML 205 R97.htm IDEA: XBRL DOCUMENT
v3.25.1

Other financial assets - Restrictions (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Other financial assets |  |
Restricted funds | $ 39,414 | $ 68,069
Interligao Eltrica Norte e Nordeste |  |
Other financial assets |  |
Restricted funds | 11,585 | 12,743
ISA |  |
Other financial assets |  |
Restricted funds | $ 12,780 | $ 11,547

X
- Definition Line item represents the other financial assets. + References No definition available. + Details
Name: | ec_DisclosureOfOtherFinancialAssetsLineItems
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of long-term restricted funds having an specific destination to investment projects. + References No definition available. + Details
Name: | ec_LongTermRestrictedFundsHavingSpecificDestinationToInvestmentProjects
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_InterligacaoEletricaNorteENordesteMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_IsaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |