XML 140 R96.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Other financial assets - Credit rating (Details) - COP ($) $ in Millions | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Other financial assets |  |
Other financial assets measured at fair value through profit | $ 2,232,775 | $ 2,725,871
B |  |
Other financial assets |  |
Financial assets at fair value through profit or loss | 1,263,144 |
BB |  |
Other financial assets |  |
Financial assets at fair value through profit or loss | 296,394 | 1,051,042
F1 |  |
Other financial assets |  |
Financial assets at fair value through profit or loss | 259,003 |
P-1 |  |
Other financial assets |  |
Financial assets at fair value through profit or loss | 150,905 |
A-2 |  |
Other financial assets |  |
Financial assets at fair value through profit or loss | 116,738 |
F2 |  |
Other financial assets |  |
Financial assets at fair value through profit or loss | 55,606 |
AAA |  |
Other financial assets |  |
Financial assets at fair value through profit or loss | 22,864 | 40,369
BB+ |  |
Other financial assets |  |
Financial assets at fair value through profit or loss | 13,921 | 898,072
A1 |  |
Other financial assets |  |
Financial assets at fair value through profit or loss | 13,904 |
BBB |  |
Other financial assets |  |
Financial assets at fair value through profit or loss | 302 | 4,153
Baa3 |  |
Other financial assets |  |
Financial assets at fair value through profit or loss | 3 |
Ba1 |  |
Other financial assets |  |
Financial assets at fair value through profit or loss |  | 388,743
Ba2 |  |
Other financial assets |  |
Financial assets at fair value through profit or loss |  | 16,227
A |  |
Other financial assets |  |
Financial assets at fair value through profit or loss |  | 14,702
A3 |  |
Other financial assets |  |
Financial assets at fair value through profit or loss |  | 9,918
F3 |  |
Other financial assets |  |
Financial assets at fair value through profit or loss |  | 4,457
F1+ |  |
Other financial assets |  |
Financial assets at fair value through profit or loss |  | 29
Others |  |
Other financial assets |  |
Other financial assets measured at fair value through profit | $ 39,991 | $ 298,159

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 2023-01-01 -Paragraph 8 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_8_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_CurrentFinancialAssetsAtFairValueThroughProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of financial assets that are measured at fair value and for which gains (losses) are recognised in profit or loss. A financial asset shall be measured at fair value through profit or loss unless it is measured at amortised cost or at fair value through other comprehensive income. A gain (loss) on a financial asset measured at fair value shall be recognised in profit or loss unless it is part of a hedging relationship, it is an investment in an equity instrument for which the entity has elected to present gains and losses in other comprehensive income or it is a financial asset measured at fair value through other comprehensive income. [Refer: At fair value [member]; Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 8 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_8_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_FinancialAssetsAtFairValueThroughProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_BMember
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_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_MinusTwoMember
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_BbPlusMember
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_BaaThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_A3Member
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_FOnePlusMember
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: |