XML 249 R141.htm IDEA: XBRL DOCUMENT
v3.25.1

Provisions for employees' benefits - Net of post-employment benefits (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Liabilities for employee benefits |  |
Opening balance | $ 29,161,475 | $ 22,305,172
Current service cost | 208,547 | 115,031
Past service cost | 216,993 | 107,231
Interest expense | 2,091,621 | 2,018,236
Actuarial (gains) losses | (1,817,864) | 6,452,059
Benefits paid | (1,974,551) | (1,813,283)
Foreign currency translation | (25,327) | (22,971)
Closing balance | 27,860,894 | 29,161,475
Plan assets |  |
Opening balance | 12,011,267 | 10,398,810
Return on assets | 849,964 | 929,987
Contributions to funds | 163,629 | 149,168
Benefits paid | (1,350,445) | (1,235,464)
Actuarial gains (losses) | 56,361 | 1,768,766
Closing balance | 11,730,776 | 12,011,267
Net post-employment benefits liability | 16,130,118 | 17,150,208
Pension and bonds |  |
Liabilities for employee benefits |  |
Opening balance | 16,411,708 | 12,840,148
Current service cost | 34,132 | 20,583
Past service cost | 0 | 0
Interest expense | 1,163,282 | 1,152,125
Actuarial (gains) losses | (1,519,800) | 3,560,843
Benefits paid | (1,232,066) | (1,140,003)
Foreign currency translation | (25,989) | (21,988)
Closing balance | 14,831,267 | 16,411,708
Plan assets |  |
Opening balance | 11,973,967 | 10,367,472
Return on assets | 848,103 | 928,278
Contributions to funds | 0 | 0
Benefits paid | (1,182,824) | (1,085,236)
Actuarial gains (losses) | 53,762 | 1,763,453
Closing balance | 11,693,008 | 11,973,967
Net post-employment benefits liability | 3,138,259 | 4,437,741
Other |  |
Liabilities for employee benefits |  |
Opening balance | 12,749,767 | 9,465,024
Current service cost | 174,415 | 94,448
Past service cost | 216,993 | 107,231
Interest expense | 928,339 | 866,111
Actuarial (gains) losses | (298,064) | 2,891,216
Benefits paid | (742,485) | (673,280)
Foreign currency translation | 662 | (983)
Closing balance | 13,029,627 | 12,749,767
Plan assets |  |
Opening balance | 37,300 | 31,338
Return on assets | 1,861 | 1,709
Contributions to funds | 163,629 | 149,168
Benefits paid | (167,621) | (150,228)
Actuarial gains (losses) | 2,599 | 5,313
Closing balance | 37,768 | 37,300
Net post-employment benefits liability | $ 12,991,859 | $ 12,712,467

X
- Definition The amount of actuarial gains (losses) recorded for paln assets. + References No definition available. + Details
Name: | ec_ActuarialGainsLossesToPlanAssets
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition The amount of benefits paid from plan assets. + References No definition available. + Details
Name: | ec_BenefitsPaid
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of contributions to funds ,plan assets. + References No definition available. + Details
Name: | ec_ContributionsToFundsPlanAssets
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition The decrease (increase) in a net defined benefit liability (asset) resulting from actuarial gains (losses) arising from changes in financial assumptions that result in remeasurements of the net defined benefit liability (asset). Financial assumptions deal with items such as: (a) the discount rate; (b) benefit levels, excluding any cost of the benefits to be met by employees, and future salary; (c) in the case of medical benefits, future medical costs, including claim handling costs (ie the costs that will be incurred in processing and resolving claims, including legal and adjuster's fees); and (d) taxes payable by the plan on contributions relating to service before the reporting date or on benefits resulting from that service. [Refer: Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph c -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_c_iii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ActuarialGainsLossesArisingFromChangesInFinancialAssumptionsNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The increase (decrease) in the net defined benefit liability (asset) resulting from employee service in the current period. [Refer: Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CurrentServiceCostNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase (decrease) in the net defined benefit liability (asset) resulting from changes in foreign exchange rates. [Refer: Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_e&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_IncreaseDecreaseThroughChangesInForeignExchangeRatesNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase (decrease) in the net defined benefit liability (asset) resulting from the passage of time. [Refer: Interest expense; Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_InterestExpenseIncomeNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of deficit or surplus in a defined benefit plan, adjusted for any effect of limiting a net defined benefit asset to the asset ceiling. [Refer: Defined benefit plans [domain]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 140 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_140_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_LiabilityAssetOfDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The increase (decrease) in the net defined benefit liability (asset) resulting from past service cost. Past service cost is the change in the present value of the defined benefit obligation for employee service in prior periods, resulting from a plan amendment (the introduction or withdrawal of, or changes to, a defined benefit plan) or a curtailment (a significant reduction by the entity in the number of employees covered by a plan). [Refer: Net defined benefit liability (asset); Defined benefit plans [domain]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_d&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PastServiceCostNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The decrease (increase) in the net defined benefit liability (asset) resulting from payments from the plan. [Refer: Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_g&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PaymentsFromPlanNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of surplus in a defined benefit plan, adjusted for any effect of limiting a net defined benefit asset to the asset ceiling. [Refer: Defined benefit plans [domain]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_55&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_RecognisedAssetsDefinedBenefitPlan
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of deficit in a defined benefit plan. [Refer: Defined benefit plans [domain]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_55&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_RecognisedLiabilitiesDefinedBenefitPlan
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The decrease (increase) in the net defined benefit liability (asset) resulting from the return on plan assets, excluding amounts included in interest income or expense. The return on plan assets is interest, dividends and other revenue derived from the plan assets, together with realised and unrealised gains or losses on the plan assets, less any costs of managing plan assets and less any tax payable by the plan itself, other than tax included in the actuarial assumptions used to measure the present value of the defined benefit obligation. [Refer: Plan assets [member]; Net defined benefit liability (asset); Actuarial assumptions [domain]; Increase (decrease) in net defined benefit liability (asset) resulting from interest expense (income)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph c -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_c_i&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ReturnOnPlanAssetsNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_OtherEmployeeBenefitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |