XML 231 R123.htm IDEA: XBRL DOCUMENT
v3.25.1

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

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 2024-01-01 -Paragraph 25 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=6&code=ifrs-tx-2024-en-r&anchor=para_25&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 38 -IssueDate 2024-01-01 -Paragraph 119 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2024-en-r&anchor=para_119&doctype=Standard -URIDate 2024-03-27 + 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: |