XML 275 R167.htm IDEA: XBRL DOCUMENT
v3.25.1

Risk management - Financial assets and liabilities (Details) $ in Millions, $ in Millions | Dec. 31, 2024 COP ($) | Dec. 31, 2024 USD ($) | Dec. 31, 2023 COP ($) | Dec. 31, 2023 USD ($) | Dec. 31, 2022 COP ($) | Dec. 31, 2021 COP ($)
--- | --- | --- | --- | --- | --- | ---
Risk management |  |  |  |  |  |
Cash and cash equivalents | $ 14,054,475 |  | $ 12,336,115 |  | $ 15,401,058 | $ 14,549,906
Other financial assets | $ 5,240,450 |  | $ 2,232,775 |  |  |
USD$ Million |  |  |  |  |  |
Risk management |  |  |  |  |  |
Cash and cash equivalents |  | $ 650 |  | $ 554 |  |
Other financial assets |  | 735 |  | 1,188 |  |
Trade receivables and payables, net |  | (495) |  | (973) |  |
Loans and borrowings |  | (18,320) |  | (18,470) |  |
Other assets and liabilities, net |  | 117 |  | 268 |  |
Net liability position |  | $ (17,313) |  | $ (17,433) |  |

X
- Definition Disclosure of detailed information about financial risk management + References No definition available. + Details
Name: | ec_DisclosureOfDetailedInformationAboutFinancialRiskManagementLineItems
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of outstanding funds (loan and borrowings) that the entity is obligated to repay. + References No definition available. + Details
Name: | ec_LoansAndBorrowings
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Other Assets and Liabilities, net + References No definition available. + Details
Name: | ec_OtherAssetsLiabilities
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of trade receivables and payables + References No definition available. + Details
Name: | ec_TradeReceivablesAndPayables
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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
- Definition The net amount of financial liabilities that are subject either to offsetting or to an enforceable master netting arrangement or similar agreement, presented in the statement of financial position. [Refer: Financial liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 13C -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_13C_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NetFinancialLiabilitiesSubjectToOffsettingEnforceableMasterNettingArrangementsOrSimilarAgreementsInStatementOfFinancialPosition
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of financial assets that the entity does not separately disclose in the same statement or note. [Refer: Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 54 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_54_d&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_OtherFinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | srt_CurrencyAxis=ec_UsDollarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |