XML 164 R120.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Impairment of non-current assets - Exploration and production (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Impairment of non-current assets |  |  |
Impairment loss - exploration and production segment (reversal of impairment loss) recognized in profit or loss | $ (2,741,092) | $ (890,248) | $ 438,020
Oilfields |  |  |
Impairment of non-current assets |  |  |
Impairment loss - exploration and production segment (reversal of impairment loss) recognized in profit or loss | (2,733,105) | (888,156) | 521,664
Investment in joint ventures |  |  |
Impairment of non-current assets |  |  |
Impairment loss - exploration and production segment (reversal of impairment loss) recognized in profit or loss | $ (7,987) | $ (2,092) | $ (83,644)

X
- References No definition available. + Details
Name: | ec_DetailedInformationsAboutImpairmentLossesReversalsOfAssetsLineItems
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of impairment loss or reversal of impairment loss recognised in profit or loss. [Refer: Impairment loss recognised in profit or loss; Reversal of impairment loss recognised in profit or loss] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_99&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ec_OilFieldsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ifrs-full_InvestmentsAccountedForUsingEquityMethodMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |