XML 236 R128.htm IDEA: XBRL DOCUMENT
v3.25.1

Impairment of non-current assets - Breakdown of oilfields impairment losses (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Impairment of non-current assets |  |  |
Recovery (impairment) of non-current assets | $ (480,180) | $ (2,741,092) | $ (890,248)
Oilfields |  |  |
Impairment of non-current assets |  |  |
Recovery (impairment) of non-current assets | (495,554) | (2,733,105) | (888,156)
Oil fields in Colombia | Oilfields | Reversal |  |  |
Impairment of non-current assets |  |  |
Carrying amount | 3,108,746 | 9,815,365 | 3,540,732
Recoverable amount | 6,131,355 | 18,112,635 | 5,563,724
Recovery (impairment) of non-current assets | 879,849 | 363,911 | 250,306
Oil fields in Colombia | Oilfields | Loss |  |  |
Impairment of non-current assets |  |  |
Carrying amount | 3,738,997 | 10,048,388 | 4,870,976
Recoverable amount | 2,363,594 | 6,951,372 | 3,732,514
Recovery (impairment) of non-current assets | $ (1,375,403) | $ (3,097,016) | $ (1,138,462)

X
- Definition It represents the carrying amount of cash generating unit. + References No definition available. + Details
Name: | ec_CashGeneratingUnitCarryingAmount
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line item represent concept detailed information about impairment losses reservals of assets exploration and production. + References No definition available. + Details
Name: | ec_DetailedInformationAboutImpairmentLossesReservalsOfAssetsExplorationAndProductionLineItems
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
- Definition The higher of an asset’s (or cash-generating unit’s) fair value less costs of disposal and its value in use. [Refer: Total for all cash-generating units [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2024-01-01 -Paragraph 130 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2024-en-r&anchor=para_130_e&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_RecoverableAmountOfAssetOrCashgeneratingUnit
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ec_FieldsInColombiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_IndividualAssetsOrCashgeneratingUnitsAxis=ec_ReversalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_IndividualAssetsOrCashgeneratingUnitsAxis=ec_LossMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |