XML 292 R184.htm IDEA: XBRL DOCUMENT
v3.25.1

Joint operations - Additional Information (Details) - USD ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Joint operations |  |
Investment commitments | $ 469.0 | $ 802.3

X
- Definition Amount of investment commitments. + References No definition available. + Details
Name: | ec_InvestmentCommitments
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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