XML 196 R88.htm IDEA: XBRL DOCUMENT
v3.25.1

Cash and cash equivalents - Credit quality of banks in Ecopetrol Business Group has deposits and check accounts, and issuers of investments (Details) - COP ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | --- | ---
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | $ 14,054,475 | $ 12,336,115 | $ 15,401,058 | $ 14,549,906
AAA |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 1,994,024 | 993,553 |  |
F1 |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 1,887,118 | 2,133,937 |  |
A+ |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 1,791,193 | 0 |  |
F3 |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 1,419,481 | 70,055 |  |
A-1 |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 1,107,673 | 1,498,034 |  |
P-1 |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 1,058,446 | 741,041 |  |
F1+ |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 1,027,253 | 2,349,260 |  |
A |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 701,821 | 0 |  |
BRC1+ |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 526,853 | 378,077 |  |
BBB |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 352,609 | 68,378 |  |
F2 |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 331,879 | 630,089 |  |
Ba1 |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 156,726 | 0 |  |
AA |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 123,665 | 0 |  |
A1 |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 85,050 | 0 |  |
P AAA |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 38,398 | 1,475,084 |  |
BB |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 12,461 | 103,066 |  |
AAAmmf |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 5,496 | 4,562 |  |
AAAF |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 5,439 | 64,518 |  |
B |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 3,785 | 670,268 |  |
BRC1 |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 1,090 | 1,513 |  |
Aaa |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 8 | 1,798 |  |
AAAm |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 0 | 51,710 |  |
C |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | 0 | 3,156 |  |
Not available rating |  |  |  |
Cash and cash equivalents |  |  |  |
Cash and cash equivalents | $ 1,424,007 | $ 1,098,016 |  |

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | ec_IfrsStatementLineItems
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of cash on hand and demand deposits, along with short-term, highly liquid investments that are readily convertible to known amounts of cash and that are subject to an insignificant risk of changes in value. [Refer: Cash; Cash equivalents] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2024-01-01 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2024-en-r&anchor=para_45&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph B13 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_B13_a&doctype=Appendix&subtype=B -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 54 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_54_i&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CashAndCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_AaaMember
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_PlusMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_P1Member
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_GradeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_BrcOnePlusMember
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_FTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_AaMember
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_PAaaMember
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_AaammfMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ec_Aaaf2Member
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_Brc1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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