XML 206 R162.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Risk management - Non derivative hedging instrument (Details) - Cash flow hedging - USD ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Risk management |  |  |
Hedging instrument at the end of the period | $ 6,265 | $ 5,572 | $ 4,972
Reassignment of hedging instruments | 970 | 1,879 |
Realization of exports | (970) | (1,879) |
Designation of new coverage | $ 693 | $ 600 |

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: |