XML 99 R90.htm IDEA: XBRL DOCUMENT
v3.24.3

Loans and borrowings - Additional Information (Details) $ in Millions |  | 6 Months Ended | 12 Months Ended |
--- | --- | --- | --- | ---
Jan. 09, 2024 USD ($) | Jun. 30, 2024 COP ($) | Jun. 30, 2023 COP ($) | Dec. 31, 2023 COP ($) | Jun. 30, 2024 USD ($) | Jun. 30, 2024 COP ($)
Loans and borrowings |  |  |  |  |  |
Borrowings |  |  |  | $ 105,815,527 |  | $ 115,019,566
Proceeds obtained from loans and borrowings |  | $ 10,425,923 | $ 15,654,833 |  |  |
Repayment of loans and borrowings |  | 8,486,656 | 9,976,744 |  |  |
Interest payments |  | 3,571,554 | $ 3,195,743 |  |  |
Fair value of loans and borrowings |  | 111,778,638 |  | 104,223,267 |  |
Hedging instrument liabilities |  |  |  |  | $ 16,956,000,000 |
ISA and its Companies |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Estimated value of the current guarantees |  |  |  |  |  | 20,884,877
ISA and its Companies | Chile |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Estimated value of the current guarantees |  |  |  |  |  | 15,279,882
ISA and its Companies | Brazil |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Estimated value of the current guarantees |  |  |  |  |  | 2,925,995
ISA and its Companies | Colombia |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Estimated value of the current guarantees |  |  |  |  |  | 2,679,000
Hedge of a net investment in a foreign operation |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Hedging instrument liabilities |  |  |  |  | 10,695,000,000 |
Cash flow hedging |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Hedging instrument liabilities |  |  |  |  | $ 6,261,000,000 |
Local currency |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Borrowings |  |  |  | 10,417,990 |  | 10,186,970
Foreign currency |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Borrowings |  |  |  | $ 95,397,537 |  | $ 104,832,596
External Public Debt Bonds |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Short-term financing | $ 1,850,000,000 |  |  |  |  |
Maturity period | 12 years |  |  |  |  |
Borrowings, interest rate | 8.375% |  |  |  |  |
International Bonds Maturing In January 2025 |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Borrowings, interest rate | 4.125% |  |  |  |  |
Borrowings | $ 1,200,000,000 |  |  |  |  |
Offer received for aggregate amount of bonds | $ 737,350,000 |  |  |  |  |
Bonds repurchase rate | 61.45% |  |  |  |  |
Commercial and syndicate loans | Foreign currency |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Borrowings, interest rate |  |  |  | 7.20% | 7.30% | 7.30%
Borrowings |  |  |  | $ 21,478,503 |  | $ 21,698,959
Syndicate and commercial loans | Local currency |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Borrowings, interest rate |  |  |  | 12.90% | 12.80% | 12.80%
Borrowings |  |  |  | $ 4,323,198 |  | $ 4,155,058
Bonds | Local currency |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Borrowings, interest rate |  |  |  | 12.40% | 11.00% | 11.00%
Borrowings |  |  |  | $ 5,172,256 |  | $ 5,199,527
Bonds | Foreign currency |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Borrowings, interest rate |  |  |  | 6.40% | 6.80% | 6.80%
Borrowings |  |  |  | $ 72,774,985 |  | $ 81,915,520
Ecopetrol S.A |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Proceeds obtained from loans and borrowings |  | 7,324,029 |  |  |  |
Repayment of loans and borrowings |  | 6,229,487 |  |  |  |
Interest payments |  | 2,523,567 |  |  |  |
Interconexion Electrica S.A. E.S.P |  |  |  |  |  |
Loans and borrowings |  |  |  |  |  |
Short-term financing |  |  |  |  |  | $ 2,897,195
Repayment of loans and borrowings |  | 1,958,584 |  |  |  |
Interest payments |  | $ 977,473 |  |  |  |

X
- Definition Rate at which bonds are repurchased. + References No definition available. + Details
Name: | ec_BondsRepurchaseRate
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Estimated amount of current guarantees. + References No definition available. + Details
Name: | ec_EstimatedValueOfCurrentGuarantees
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | ec_IfrsDebtInstrumentTerm
Namespace Prefix: | ec_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value portion of contractual obligation to pay money on demand or on fixed or determinable dates. + References No definition available. + Details
Name: | ec_LoansPayableFairValue
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Aggregate amount of bonds for which repurchase offers were received. + References No definition available. + Details
Name: | ec_OffersReceivedForAggregateAmountOfBonds
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 amount of a hedging instrument, recognised as a liability. [Refer: Hedging instruments [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 24A -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_24A_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_HedgingInstrumentLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow for interest paid, classified as financing activities. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2023-01-01 -Paragraph 31 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_31&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_InterestPaidClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The nominal or face amount of a financial instrument, used to calculate payments made on that instrument. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NotionalAmount
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash inflow from borrowings obtained. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2023-01-01 -Paragraph 17 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_17_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow to settle borrowings, classified as financing activities. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2023-01-01 -Paragraph 17 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_17_d&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ec_IfrsLegalEntityAxis=ec_IsaAndItsCompaniesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ec_ChileCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ec_BrazilCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ec_ColombiaCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfHedgesAxis=ifrs-full_HedgesOfNetInvestmentInForeignOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfHedgesAxis=ifrs-full_CashFlowHedgesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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_ExternalPublicDebtBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ec_InternationalBondsMaturingInJanuary2025Member
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_SyndicateAndCommercialLoansMember
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_BorrowingsByEcopetrolS.aMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ec_BorrowingsByInterconexionElectricaS.a.E.s.pMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |