XML 179 R135.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Provisions for employees' benefits - Movement in profit and loss and in other comprehensive income (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Profit or loss |  |  |
Interest expense | $ 1,088,249 | $ 679,098 | $ 661,187
Current service cost | 115,031 | 147,480 | 132,352
Past service cost | 107,231 | 114,162 | 129,328
Remeasurements | 0 | 0 | (211)
Benefits plan costs recognized in profit or loss | 1,310,511 | 940,740 | 922,656
Other comprehensive income |  |  |
Recognized in other comprehensive income | (4,460,534) | (1,254,514) | 2,456,667
Deferred tax | 1,726,261 | 586,260 | (679,510)
Other comprehensive income, net of taxes | (2,734,273) | (668,254) | 1,777,157
Pension and bonds |  |  |
Other comprehensive income |  |  |
Recognized in other comprehensive income | (2,664,204) | 156,755 | 1,401,578
Healthcare |  |  |
Other comprehensive income |  |  |
Recognized in other comprehensive income | (1,714,227) | (1,429,423) | 991,050
Other |  |  |
Other comprehensive income |  |  |
Recognized in other comprehensive income | $ (82,103) | $ 18,154 | $ 64,039

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
- Definition The amount of profit (loss), 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_ProfitLossNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans
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 2023-01-01 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_85&doctype=Standard -URIDate 2023-03-23 + 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 [member]; 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/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_135_b&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_91_b&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard -URIDate 2023-03-23 + 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: |