XML 171 R127.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Loans and borrowings (Details) - COP ($) $ in Millions | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Loans and borrowings |  |
Borrowings | $ 105,815,527 | $ 115,134,839
Current | 15,550,008 | 22,198,583
Non-current | 90,265,519 | 92,936,256
Local currency |  |
Loans and borrowings |  |
Borrowings | 10,417,990 | 7,981,849
Foreign currency |  |
Loans and borrowings |  |
Borrowings | $ 95,397,537 | $ 107,152,990
Bonds | Local currency |  |
Loans and borrowings |  |
Borrowings, interest rate | 12.40% | 9.80%
Borrowings | $ 5,172,256 | $ 4,965,653
Bonds | Foreign currency |  |
Loans and borrowings |  |
Borrowings, interest rate | 6.40% | 6.00%
Borrowings | $ 72,774,985 | $ 82,432,647
Commercial and syndicate loans | Local currency |  |
Loans and borrowings |  |
Borrowings, interest rate | 12.90% | 11.50%
Borrowings | $ 4,323,198 | $ 2,171,462
Commercial and syndicate loans | Foreign currency |  |
Loans and borrowings |  |
Borrowings, interest rate | 7.20% | 4.60%
Borrowings | $ 21,478,503 | $ 23,537,675
Loans from related parties | Foreign currency |  |
Loans and borrowings |  |
Borrowings, interest rate | 6.00% | 5.90%
Borrowings | $ 683,949 | $ 815,056
Lease liabilities | Local currency |  |
Loans and borrowings |  |
Borrowings, interest rate | 8.90% | 8.00%
Borrowings | $ 922,536 | $ 844,734
Lease liabilities | Foreign currency |  |
Loans and borrowings |  |
Borrowings, interest rate | 6.00% | 6.00%
Borrowings | $ 460,100 | $ 367,612

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 The interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_BorrowingsInterestRate
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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
- Definition The non-current portion of non-current borrowings. [Refer: Borrowings] + 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_LongtermBorrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of current borrowings. [Refer: Borrowings] + 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_ShorttermBorrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ec_BondMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ec_CommercialAndSyndicateLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ec_LoansFromRelatedPartiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ifrs-full_LeaseLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |