XML 235 R127.htm IDEA: XBRL DOCUMENT
v3.25.1

Impairment of non-current assets - Exploration and production (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Impairment of non-current assets |  |  |
Impairment loss - exploration and production segment (reversal of impairment loss) recognized in profit or loss | $ (480,180) | $ (2,741,092) | $ (890,248)
Oilfields |  |  |
Impairment of non-current assets |  |  |
Impairment loss - exploration and production segment (reversal of impairment loss) recognized in profit or loss | (495,554) | (2,733,105) | (888,156)
Investment in joint ventures |  |  |
Impairment of non-current assets |  |  |
Impairment loss - exploration and production segment (reversal of impairment loss) recognized in profit or loss | $ 15,374 | $ (7,987) | $ (2,092)

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 2024-01-01 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_99&doctype=Standard -URIDate 2024-03-27 + 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: |