XML 176 R132.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Trade and other payables - Additional information (Details) - COP ($) $ in Millions | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Trade and other payables |  |
Dividends payable | $ 668,383 | $ 392,346
Ecopetrol S.A. |  |
Trade and other payables |  |
Dividends payable | 3,947 | 3,667
Interconexion Electrica S.A. E.S.P. |  |
Trade and other payables |  |
Dividends payable | 636,081 | 366,999
Inversiones de Gases de Colombia S.A. |  |
Trade and other payables |  |
Dividends payable | 1,747 | $ 21,680
Oleoducto de Colombia S.A. |  |
Trade and other payables |  |
Dividends payable | $ 26,608 |

X
- Definition Line item of Trade and other payables. + References No definition available. + Details
Name: | ec_DisclosureOfTradeAndOtherPayablesLineItems
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of dividends that the company has declared but not yet paid. + 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_DividendPayables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_InversionesDeGasesDeColombiaS.a.InvercolsaS.a.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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