XML 238 R130.htm IDEA: XBRL DOCUMENT
v3.25.1

Impairment of non-current assets - Cash Generating Units (Details) - Refining and Petrochemical segment - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Impairment of non-current assets |  |  |
Impairment loss - refining and petrochemical segment (reversal of impairment loss) recognized in profit or loss | $ 1,265,753 | $ 1,482,444 | $ 1,096,021
Refineria de Cartagena S.A.S |  |  |
Impairment of non-current assets |  |  |
Impairment loss - refining and petrochemical segment (reversal of impairment loss) recognized in profit or loss | 1,265,753 | 1,482,512 | 1,096,024
Refineria de Cartagena S.A.S | Carrying Amount |  |  |
Impairment of non-current assets |  |  |
Impairment loss - refining and petrochemical segment (reversal of impairment loss) recognized in profit or loss | 28,237,532 | 26,423,190 | 31,750,957
Refineria de Cartagena S.A.S | Recoverable amount |  |  |
Impairment of non-current assets |  |  |
Impairment loss - refining and petrochemical segment (reversal of impairment loss) recognized in profit or loss | $ 35,329,614 | 27,905,702 | 32,846,981
Invercolsa S.A. |  |  |
Impairment of non-current assets |  |  |
Impairment loss - refining and petrochemical segment (reversal of impairment loss) recognized in profit or loss |  | (68) | (3)
Invercolsa S.A. | Carrying Amount |  |  |
Impairment of non-current assets |  |  |
Impairment loss - refining and petrochemical segment (reversal of impairment loss) recognized in profit or loss |  | 273 | 276
Invercolsa S.A. | Recoverable amount |  |  |
Impairment of non-current assets |  |  |
Impairment loss - refining and petrochemical segment (reversal of impairment loss) recognized in profit or loss |  | $ 205 | $ 273

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

X
- Definition Adjustments for impairment loss (reversal of impairment loss) on exploration and evaluation assets recognised in profit or loss to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Exploration and evaluation assets [member]; Impairment loss; Adjustments for impairment loss (reversal of impairment loss) recognised in profit or loss; Impairment loss (reversal of impairment loss) recognised in profit or loss] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2024-01-01 -Paragraph 20 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2024-en-r&anchor=para_20&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossExplorationAndEvaluationAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | ifrs-full_SegmentsAxis=ec_RefineriaDeCartegenaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MeasurementAxis=ifrs-full_CarryingAmountMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MeasurementAxis=ec_AtFairValue1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ec_InvercolsaSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |