XML 238 R194.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Subsequent and relevant events - Fuel Price stabilization fund (Details) $ in Millions |  | 1 Months Ended | 3 Months Ended | 6 Months Ended | 9 Months Ended | 12 Months Ended
--- | --- | --- | --- | --- | --- | ---
Apr. 01, 2024 USD ($) | Aug. 31, 2023 COP ($) | Mar. 31, 2023 COP ($) | Dec. 31, 2022 COP ($) | Sep. 30, 2022 COP ($) | Dec. 31, 2023 COP ($) | Sep. 30, 2022 COP ($) | Dec. 31, 2023 COP ($) | Dec. 31, 2022 COP ($)
Relevant and/or subsequent events (unaudited) |  |  |  |  |  |  |  |  |
Contribution from Ministry of Finance and Public Credit |  |  |  |  |  |  |  | $ 26,346,530 | $ 18,262,487
Ecopetrol |  |  |  |  |  |  |  |  |
Relevant and/or subsequent events (unaudited) |  |  |  |  |  |  |  |  |
Contribution from Ministry of Finance and Public Credit |  |  | $ 2,876,149 | $ 6,788,385 | $ 4,639,779 | $ 21,576,179 |  |  |
Reficar |  |  |  |  |  |  |  |  |
Relevant and/or subsequent events (unaudited) |  |  |  |  |  |  |  |  |
Contribution from Ministry of Finance and Public Credit |  | $ 1,894,202 |  | $ 6,114,489 |  |  | $ 719,834 |  |
Fuel Price stabilization fund |  |  |  |  |  |  |  |  |
Relevant and/or subsequent events (unaudited) |  |  |  |  |  |  |  |  |
Contribution from Ministry of Finance and Public Credit | $ 7,839,953 |  |  |  |  |  |  |  |
Fuel Price stabilization fund | Ecopetrol |  |  |  |  |  |  |  |  |
Relevant and/or subsequent events (unaudited) |  |  |  |  |  |  |  |  |
Contribution from Ministry of Finance and Public Credit | 6,305,038 |  |  |  |  |  |  |  |
Fuel Price stabilization fund | Reficar |  |  |  |  |  |  |  |  |
Relevant and/or subsequent events (unaudited) |  |  |  |  |  |  |  |  |
Contribution from Ministry of Finance and Public Credit | $ 1,534,915 |  |  |  |  |  |  |  |

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_DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of income recognised in relation to government grants. [Refer: Government grants] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 20 -IssueDate 2023-01-01 -Paragraph 39 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=20&code=ifrs-tx-2023-en-r&anchor=para_39_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_RevenueFromGovernmentGrants
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ec_FuelPriceStabilizationFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |