XML 122 R78.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Reporting entity (Details) | Dec. 31, 2023
--- | ---
Reporting entity |
Proportion of shares available for public trade held privately | 11.51%
Proportion of shares held by majority share holders | 88.49%

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

X
- Definition The percentage of shares which is publicly available to trade in stock exchange. + References No definition available. + Details
Name: | ec_ProportionOfSharesAvailableForPublicTrade
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage of shares which are held by majority share holders not available for public trade. + References No definition available. + Details
Name: | ec_ProportionOfSharesHeldByMajorityShareHolders
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant