XML 173 R129.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Loans and borrowings - Breakdown by type of interest rate and currency (Details) - COP ($) $ in Millions | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Loans and borrowings |  |
Borrowings | $ 105,815,527 | $ 115,134,839
Local currency |  |
Loans and borrowings |  |
Borrowings | 10,417,990 | 7,981,849
Foreign currency |  |
Loans and borrowings |  |
Borrowings | 95,397,537 | 107,152,990
Fixed interest rate | Local currency |  |
Loans and borrowings |  |
Borrowings | 2,030,378 | 1,844,086
Fixed interest rate | Foreign currency |  |
Loans and borrowings |  |
Borrowings | 70,956,700 | 82,850,932
Floating interest rate | Local currency |  |
Loans and borrowings |  |
Borrowings | 8,387,612 | 6,137,763
Floating interest rate | Foreign currency |  |
Loans and borrowings |  |
Borrowings | $ 24,440,837 | $ 24,302,058

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 2023-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_55&doctype=Standard -URIDate 2023-03-23 + 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: |