XML 232 R188.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Subsequent and relevant events (Details) $ in Millions | Jan. 09, 2024 USD ($) | Jan. 19, 2024 USD ($) | Dec. 31, 2023 COP ($) | Dec. 31, 2022 COP ($)
--- | --- | --- | --- | ---
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |
Borrowings |  |  | $ 105,815,527 | $ 115,134,839
Isa |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |
Maturity period | 12 years |  |  |
Yield | 8.45% |  |  |
Borrowings, interest rate | 8.375% |  |  |
Short-term financing | $ 1,850,000,000 |  |  |
Issuance of bonds in the international market |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |
Short-term financing | $ 1,850,000,000 |  |  |
International bonds repurchase offer |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |
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% |  |

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 The yield rate on borrowings. + References No definition available. + Details
Name: | ec_BorrowingsYield
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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 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_DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
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
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ec_IsaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ec_IssuanceOfBondsInInternationalMarketMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ec_InternationalBondsRepurchaseOfferMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |