XML 247 R139.htm IDEA: XBRL DOCUMENT
v3.25.1

Trade and other payables - Additional information (Details) - COP ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Trade and other payables |  |
Dividends payable | $ 629,458 | $ 668,383
Ecopetrol S.A. |  |
Trade and other payables |  |
Dividends payable | 3,960 | 3,947
Interconexion Electrica S.A. E.S.P. |  |
Trade and other payables |  |
Dividends payable | 609,535 | 636,081
Oleoducto de Colombia S.A. |  |
Trade and other payables |  |
Dividends payable | 14,110 | 26,608
Inversiones de Gases de Colombia S.A. |  |
Trade and other payables |  |
Dividends payable | $ 1,853 | $ 1,747

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 2024-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_55&doctype=Standard -URIDate 2024-03-27 + 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_OleoductoDeColombiaS.a.Member
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: |