XML 193 R149.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Equity - Dividends paid (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Equity |  |  |
Dividends paid | $ 5,570,876 | $ 13,356,947 | $ 2,771,287
Ecopetrol S.A. |  |  |
Equity |  |  |
Dividends paid | 2,747,231 | 11,622,778 | 696,387
Interconexion Electrica S.A. ESP |  |  |
Equity |  |  |
Dividends paid | 1,506,799 | 572,260 | 790,532
Oleoducto Central S.A. - Ocensa |  |  |
Equity |  |  |
Dividends paid | 809,302 | 752,530 | 682,615
Invercolsa S.A. |  |  |
Equity |  |  |
Dividends paid | 254,464 | 179,202 | 150,333
Oleoducto de los Llanos Orientales S.A. - ODL |  |  |
Equity |  |  |
Dividends paid | 171,290 | 138,939 | 147,056
Oleoducto de Colombia S.A. - ODC |  |  |
Equity |  |  |
Dividends paid | $ 81,790 | $ 91,238 | 86,594
Oleoducto Bicentenario de Colombia S.A.S. - OBC |  |  |
Equity |  |  |
Dividends paid |  |  | $ 217,770

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ec_DisclosureOfChangesInEquityLineItems
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow for dividends paid by the entity, classified as financing activities. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2023-01-01 -Paragraph 31 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_31&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_DividendsPaidClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_InterconexionElectricaS.aMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_OleoductoCentralSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_InvercolsaSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_OleoductoDeLosLlanosOrientalesSAUnitedODLMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_OleoductoDeColombiaSaOdcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_OleoductoBicentenarioDeColombiaS.a.sMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |