XML 178 R134.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Provisions for employees' benefits - Net of post-employment benefits (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Liabilities for employee benefits |  |
Opening balance | $ 22,305,172 | $ 22,467,519
Current service cost | 115,031 | 95,724
Past service cost | 107,231 | 165,918
Interest expense | 2,018,236 | 1,483,628
Actuarial (gains) losses | 6,452,059 | (444,099)
Benefits paid | (1,813,283) | (1,589,670)
Foreign currency translation | (22,971) | 126,152
Closing balance | 29,161,475 | 22,305,172
Plan assets |  |
Opening balance | 10,398,810 | 12,068,525
Return on assets | 929,987 | 804,530
Contributions to funds | 149,168 | 125,788
Benefits paid | (1,235,464) | (1,087,060)
Actuarial gains (losses) | 1,768,766 | (1,512,973)
Closing balance | 12,011,267 | 10,398,810
Net post-employment benefits liability | 17,150,208 | 11,906,362
Pension and bonds |  |
Liabilities for employee benefits |  |
Opening balance | 12,840,148 | 14,520,592
Current service cost | 20,583 | 0
Past service cost | 0 | 51,756
Interest expense | 1,152,125 | 953,146
Actuarial (gains) losses | 3,560,843 | (1,805,907)
Benefits paid | (1,140,003) | (981,486)
Foreign currency translation | (21,988) | 102,047
Closing balance | 16,411,708 | 12,840,148
Plan assets |  |
Opening balance | 10,367,472 | 12,040,229
Return on assets | 928,278 | 802,711
Contributions to funds | 0 | 0
Benefits paid | (1,085,236) | (961,931)
Actuarial gains (losses) | 1,763,453 | (1,513,537)
Closing balance | 11,973,967 | 10,367,472
Net post-employment benefits liability | 4,437,741 | 2,472,676
Other |  |
Liabilities for employee benefits |  |
Opening balance | 9,465,024 | 7,946,927
Current service cost | 94,448 | 95,724
Past service cost | 107,231 | 114,162
Interest expense | 866,111 | 530,482
Actuarial (gains) losses | 2,891,216 | 1,361,808
Benefits paid | (673,280) | (608,184)
Foreign currency translation | (983) | 24,105
Closing balance | 12,749,767 | 9,465,024
Plan assets |  |
Opening balance | 31,338 | 28,296
Return on assets | 1,709 | 1,819
Contributions to funds | 149,168 | 125,788
Benefits paid | (150,228) | (125,129)
Actuarial gains (losses) | 5,313 | 564
Closing balance | 37,300 | 31,338
Net post-employment benefits liability | $ 12,712,467 | $ 9,433,686

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 2023-01-01 -Paragraph 141 -Subparagraph c -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_c_iii&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 141 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_a&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 141 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_e&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 141 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_b&doctype=Standard -URIDate 2023-03-23 + 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 [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 140 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_140_a&doctype=Standard -URIDate 2023-03-23 + 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 [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 141 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_d&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 141 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_g&doctype=Standard -URIDate 2023-03-23 + 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 [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_55&doctype=Standard -URIDate 2023-03-23 + 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 [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_55&doctype=Standard -URIDate 2023-03-23 + 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 [member]; 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 2023-01-01 -Paragraph 141 -Subparagraph c -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_c_i&doctype=Standard -URIDate 2023-03-23 + 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: |