XML 123 R79.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Basis for preparation (Details) |  |  | 12 Months Ended
--- | --- | --- | ---
Mar. 17, 2023 | Aug. 20, 2021 item subsidiary country | Dec. 31, 2023 | Dec. 31, 2022
Basis for presentation |  |  |  |
Number of subsidiaries | subsidiary |  | 50 |  |
Number of joint ventures |  | 11 |  |
Number of associate |  | 1 |  |
Number of countries in which the company operates | country |  | 6 |  |
Percentage of direct ownership of capital shares |  |  | 49.00% | 49.00%
Econova Technology & Innovation, S.L. |  |  |  |
Basis for presentation |  |  |  |
Percentage of direct ownership of capital shares | 100.00% |  |  |

X
- Definition Number of associate. + References No definition available. + Details
Name: | ec_NumberOfAssociate
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of countries in which the company operates. + References No definition available. + Details
Name: | ec_NumberOfCountriesInWhichCompanyOperates
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of joint ventures. + References No definition available. + Details
Name: | ec_NumberOfJointVentures
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of subsidiaries. + References No definition available. + Details
Name: | ec_NumberOfSubsidiaries
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfBusinessCombinationsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The proportion of ownership interest in a subsidiary attributable to the entity. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2023-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2023-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph 19B -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_19B_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInSubsidiary
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EconovaTechnologyInnovationS.lMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |