XML 160 R116.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Natural and environmental resources - Accounting for suspended exploratory wells (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Disclosure of Natural and environmental resources [Line Items] |  |  |
Number of projects exceeding 1 year | — | 8 | 6
Projects under 1 year of suspension | $ 0 | $ 698,973 | $ 651,040
Between 1 and 3 years |  |  |
Disclosure of Natural and environmental resources [Line Items] |  |  |
Projects under 1 year of suspension | 0 | 48,206 |
More than 5 years |  |  |
Disclosure of Natural and environmental resources [Line Items] |  |  |
Projects under 1 year of suspension | 0 | 650,767 | 651,040
Up to 1 year |  |  |
Disclosure of Natural and environmental resources [Line Items] |  |  |
Projects under 1 year of suspension | $ 230,376 | $ 990 | $ 20,863

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

X
- Definition The number of projects under exploratory wells which exceeds one year. + References No definition available. + Details
Name: | ec_NumberOfProjectsUnderExploratoryWellsExceedingOneYear
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of exploration and evaluation assets recognised as intangible assets in accordance with the entity's accounting policy. [Refer: Exploration and evaluation assets [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 6 -IssueDate 2023-01-01 -Paragraph 25 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=6&code=ifrs-tx-2023-en-r&anchor=para_25&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 38 -IssueDate 2023-01-01 -Paragraph 119 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2023-en-r&anchor=para_119&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_IntangibleExplorationAndEvaluationAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanOneYearAndNotLaterThanThreeYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_NotLaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |