XML 120 R111.htm IDEA: XBRL DOCUMENT
v3.24.3

Risk management - Non derivative hedging instrument (Details) - Cash flow hedging - USD ($) $ in Millions | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2024 | Dec. 31, 2023
Risk management |  |
Opening balance | $ 6,265 | $ 5,572
Reassignment of hedging instruments | 290 | 970
Realization of exports | (290) | (970)
Designation of new coverage | 0 | 693
Closing balance | $ 6,265 | $ 6,265

X
- Definition Amount of hedging instrument, designation of new coverage. + References No definition available. + Details
Name: | ec_DesignationOfNewCoverageOfHedgingInstrument
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Disclosure of detailed information about financial risk management + References No definition available. + Details
Name: | ec_DisclosureOfDetailedInformationAboutFinancialRiskManagementLineItems
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the amount of realized exports on hedge instruments. + References No definition available. + Details
Name: | ec_HedgingInstrumentsRealizedExports
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the amount of reassignment to hedge instruments. + References No definition available. + Details
Name: | ec_ReassignmentOfHedgingInstruments
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of a hedging instrument, recognised as an asset. [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_HedgingInstrumentAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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