XML 207 R99.htm IDEA: XBRL DOCUMENT
v3.25.1

Other financial assets - Fair value (Details) - COP ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Other financial assets |  |
Financial assets at fair value | $ 4,835,509 | $ 1,863,457
Level 1 |  |
Other financial assets |  |
Financial assets at fair value | 3,052,575 | 1,526,458
Level 2 |  |
Other financial assets |  |
Financial assets at fair value | 748,876 | $ 336,999
Level 3 |  |
Other financial assets |  |
Financial assets at fair value | $ 1,034,058 |

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 The fair value of financial assets. [Refer: At fair value [member]; Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 25 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_25&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_FinancialAssetsAtFairValue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level1OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level2OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level3OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |