XML 221 R177.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

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

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