XML 208 R100.htm IDEA: XBRL DOCUMENT
v3.25.1

Other financial assets - Credit rating (Details) - COP ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Other financial assets |  |
Other financial assets measured at fair value through profit | $ 5,240,450 | $ 2,232,775
BB+ |  |
Other financial assets |  |
Other financial assets measured at fair value through profit | 3,060,884 | 13,921
AA+ |  |
Other financial assets |  |
Other financial assets measured at fair value through profit | 253,423 |
F1 |  |
Other financial assets |  |
Other financial assets measured at fair value through profit | 173,128 | 259,003
P-1 |  |
Other financial assets |  |
Other financial assets measured at fair value through profit | 136,222 | 150,905
B |  |
Other financial assets |  |
Other financial assets measured at fair value through profit | 100,962 | 1,263,144
F2 |  |
Other financial assets |  |
Other financial assets measured at fair value through profit | 66,535 | 55,606
AAA |  |
Other financial assets |  |
Other financial assets measured at fair value through profit | 14,429 | 22,864
F1+ |  |
Other financial assets |  |
Other financial assets measured at fair value through profit | 4,364 |
Baa3 |  |
Other financial assets |  |
Other financial assets measured at fair value through profit | 2 | 3
F3 |  |
Other financial assets |  |
Other financial assets measured at fair value through profit | 1 |
BB |  |
Other financial assets |  |
Other financial assets measured at fair value through profit |  | 296,394
A-2 |  |
Other financial assets |  |
Other financial assets measured at fair value through profit |  | 116,738
A1 |  |
Other financial assets |  |
Other financial assets measured at fair value through profit |  | 13,904
BBB |  |
Other financial assets |  |
Other financial assets measured at fair value through profit |  | 302
Not available rating |  |
Other financial assets |  |
Other financial assets measured at fair value through profit | $ 1,430,500 | $ 39,991

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 amount of current financial assets measured at fair value through profit or loss. [Refer: Financial assets at fair value through profit or loss] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 8 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_8_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CurrentFinancialAssetsAtFairValueThroughProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_BbPlusMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_AaPlusMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_FOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_PMinusOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_BMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_FTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_AaaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_FOnePlusMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_BaaThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_FThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_BbMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_MinusTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_A1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_BbbMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_OtherExternalCreditGradesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |