XML 250 R142.htm IDEA: XBRL DOCUMENT
v3.25.1

Provisions for employees' benefits - Movement in profit and loss and in other comprehensive income (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Profit or loss |  |  |
Interest expense | $ 1,240,757 | $ 1,088,249 | $ 679,098
Current service cost | 208,547 | 115,031 | 147,480
Past service cost | 216,993 | 107,231 | 114,162
Benefits plan costs recognized in profit or loss | 1,666,297 | 1,310,511 | 940,740
Other comprehensive income |  |  |
Recognized in other comprehensive income | 1,681,591 | (4,460,534) | (1,254,514)
Deferred tax | (374,059) | 1,726,261 | 586,260
Other comprehensive income, net of taxes | 1,307,532 | (2,734,273) | (668,254)
Pension and bonds |  |  |
Other comprehensive income |  |  |
Recognized in other comprehensive income | 258,498 | (2,664,204) | 156,755
Health |  |  |
Other comprehensive income |  |  |
Recognized in other comprehensive income | 1,404,182 | (1,714,227) | (1,429,423)
Other plans |  |  |
Other comprehensive income |  |  |
Recognized in other comprehensive income | $ 18,911 | $ (82,103) | $ 18,154

X
- Definition Total costs of the benefit plans those recognized in profit or loss during the period. + References No definition available. + Details
Name: | ec_BenefitsPlanCostsRecognizedInProfitOrLoss
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Current service costs of the benefit plans recognized in profit or loss. + References No definition available. + Details
Name: | ec_CurrentServiceCostRecognizedInProfitOrLoss
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Interest costs of the benefit plans recognized in profit or loss. + References No definition available. + Details
Name: | ec_InterestCostRecognizedInProfitOrLoss
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of other comprehensive income, net of tax, related to gains (losses) on remeasurements of defined benefit plans, which comprise actuarial gains and losses; the return on plan assets, excluding amounts included in net interest on the net defined benefit liability (asset); and any change in the effect of the asset ceiling, excluding amounts included in net interest on the net defined benefit liability (asset). + References No definition available. + Details
Name: | ec_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementOfDefinedBenefitPlans
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Past service costs of the benefit plans recognized in profit or loss. + References No definition available. + Details
Name: | ec_PastServiceCostRecognizedInProfitOrLoss
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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

X
- Definition The increase (decrease) in accumulated deferred tax recognised in other comprehensive income due to change in the tax rate. [Refer: Other comprehensive income] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_85&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_IncreaseDecreaseInAccumulatedDeferredTaxRecognisedInOtherComprehensiveIncomeDueToChangeInTaxRate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of other comprehensive income, before tax, related to gains (losses) on remeasurements of defined benefit plans, which comprise actuarial gains and losses; the return on plan assets, excluding amounts included in net interest on the net defined benefit liability (asset); and any change in the effect of the asset ceiling, excluding amounts included in net interest on the net defined benefit liability (asset). [Refer: Other comprehensive income; Defined benefit plans [domain]; Plan assets [member]; Net defined benefit liability (asset)] [Contrast: Decrease (increase) in net defined benefit liability (asset) resulting from gain (loss) on remeasurement in other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_91_b&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_7&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_135_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ec_PensionAndPensionBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ec_HealthcareMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ec_OtherBenefitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |