XML 165 R121.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Impairment of non-current assets - Breakdown of oilfields impairment losses (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Impairment of non-current assets |  |  |
Impairment reversal (loss) | $ (2,741,092) | $ (890,248) | $ 438,020
Oilfields |  |  |
Impairment of non-current assets |  |  |
Impairment reversal (loss) | (2,733,105) | (888,156) | 521,664
Oil fields in Colombia | Oilfields | Reversal |  |  |
Impairment of non-current assets |  |  |
Carrying amount | 9,815,365 | 3,540,732 | 11,216,641
Recoverable amount | 18,112,635 | 5,563,724 | 17,575,851
Impairment reversal (loss) | 363,911 | 250,306 | 499,599
Oil fields in Colombia | Oilfields | Loss |  |  |
Impairment of non-current assets |  |  |
Carrying amount | 10,048,388 | 4,870,976 | 239,046
Recoverable amount | 6,951,372 | 3,732,514 | 136,698
Impairment reversal (loss) | $ (3,097,016) | $ (1,138,462) | (104,041)
Fields operated abroad | Oilfields | Reversal |  |  |
Impairment of non-current assets |  |  |
Carrying amount |  |  | 1,142,593
Recoverable amount |  |  | 1,306,219
Impairment reversal (loss) |  |  | $ 126,106

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 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
- Definition The higher of an asset’s (or cash-generating unit’s) fair value less costs of disposal and its value in use. [Refer: Cash-generating units [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2023-01-01 -Paragraph 130 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2023-en-r&anchor=para_130_e&doctype=Standard -URIDate 2023-03-23 + 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: |

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