XML 157 R113.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Investments in associates and joint ventures - Reconciliation of equity (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Investments in associates and joint ventures |  |
Equity of the joint venture | $ 5,875,015 | $ 6,803,601
Interligacao Eletrica do Madeira [Member] |  |
Investments in associates and joint ventures |  |
Equity of the joint venture | $ 3,160,818 | $ 3,438,987
% of Ecopetrol's ownership | 51.00% | 51.00%
Ecopetrol's ownership | $ 1,612,017 | $ 1,753,883
Carrying amount of the investment | 1,612,017 | 1,753,883
Transmissora Alianca de Energia Eletrica |  |
Investments in associates and joint ventures |  |
Equity of the joint venture | $ 5,273,100 | $ 6,091,281
% of Ecopetrol's ownership | 14.88% | 14.88%
Ecopetrol's ownership | $ 784,637 | $ 906,383
Additional value of the investment | 177,988 | 230,828
Carrying amount of the investment | 962,625 | 1,137,211
Equion Energa Limited |  |
Investments in associates and joint ventures |  |
Equity of the joint venture | $ 1,329,394 | $ 1,639,264
% of Ecopetrol's ownership | 51.00% | 51.00%
Ecopetrol's ownership | $ 677,991 | $ 836,025
Additional value of the investment | 375,694 | 375,694
Impairment | (408,183) | (400,196)
Unrealized gain | (16,267) | (20,565)
Carrying amount of the investment | $ 629,235 | $ 790,958

X
- Definition The amount accumulated of additional investment in joint ventures as on the date. + References No definition available. + Details
Name: | ec_AccumulatedAdditionsInvestmentsInJointVenture
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition The portion of entity's ownership interest in joint venture's equity. + References No definition available. + Details
Name: | ec_ShareOfOwnershipInterestInJointVenture
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of unrealized gain in joint venture. + References No definition available. + Details
Name: | ec_UnrealizedGainOnInvestmentInJointVenture
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of investments in joint ventures in an entity's separate financial statements. [Refer: Joint ventures [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2023-01-01 -Paragraph 10 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_10&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_InvestmentsInJointVentures
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of investments in joint ventures accounted for using the equity method. [Refer: Joint ventures [member]; Investments accounted for using equity method] + 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_InvestmentsInJointVenturesAccountedForUsingEquityMethod
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The proportion of ownership interest in a joint venture attributable to the entity. [Refer: Joint ventures [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2023-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2023-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInJointVenture
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount recognised as an increase of the carrying amount of an asset or cash-generating unit to its recoverable amount when an impairment loss had been previously recognised. [Refer: Impairment loss] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2023-01-01 -Paragraph 130 -Subparagraph d -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2023-en-r&anchor=para_130_d_ii&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2023-01-01 -Paragraph 130 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2023-en-r&anchor=para_130_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ReversalOfImpairmentLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_JointVenturesAxis=ec_InterligaoEltricaDoMadeiraMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ec_TransmissoraAlianaDeEnergiaEltricaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ec_EquionEnergyLimitedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |