XML 245 R137.htm IDEA: XBRL DOCUMENT
v3.25.1

Loans and borrowings - Breakdown by type of interest rate and currency (Details) - COP ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Loans and borrowings |  |
Borrowings | $ 119,965,031 | $ 105,815,527
Local currency |  |
Loans and borrowings |  |
Borrowings | 11,370,942 | 10,417,990
Foreign currency |  |
Loans and borrowings |  |
Borrowings | 108,594,089 | 95,397,537
Fixed interest rate | Local currency |  |
Loans and borrowings |  |
Borrowings | 1,799,807 | 2,030,378
Fixed interest rate | Foreign currency |  |
Loans and borrowings |  |
Borrowings | 83,480,636 | 70,956,700
Floating interest rate | Local currency |  |
Loans and borrowings |  |
Borrowings | 9,571,135 | 8,387,612
Floating interest rate | Foreign currency |  |
Loans and borrowings |  |
Borrowings | $ 25,113,453 | $ 24,440,837

X
- Definition The amount of outstanding funds that the entity is obligated to repay. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_55&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_Borrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

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

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=ifrs-full_FixedInterestRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=ifrs-full_FloatingInterestRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |