XML 279 R171.htm IDEA: XBRL DOCUMENT
v3.25.1

Risk management - Expected reclassification of the cumulative exchange difference from other comprehensive income to profit or loss (Details) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 COP ($)
Risk management |
Before taxes | $ (2,573,660)
Taxes | 996,011
After taxes | (1,577,649)
2025 |
Risk management |
Before taxes | (853,665)
Taxes | 328,723
After taxes | (524,942)
2026 |
Risk management |
Before taxes | (841,876)
Taxes | 326,614
After taxes | (515,262)
2027 |
Risk management |
Before taxes | (147,788)
Taxes | 57,336
After taxes | (90,452)
2028 |
Risk management |
Before taxes | (146,929)
Taxes | 57,003
After taxes | (89,926)
2029 |
Risk management |
Before taxes | (145,666)
Taxes | 56,513
After taxes | (89,153)
2030 |
Risk management |
Before taxes | (144,694)
Taxes | 56,135
After taxes | (88,559)
2031 |
Risk management |
Before taxes | (143,798)
Taxes | 55,788
After taxes | (88,010)
2032 |
Risk management |
Before taxes | (140,312)
Taxes | 54,435
After taxes | (85,877)
2033 |
Risk management |
Before taxes | (8,932)
Taxes | 3,464
After taxes | $ (5,468)

X
- Definition Disclosure of detailed information about financial risk management + References No definition available. + Details
Name: | ec_DisclosureOfDetailedInformationAboutFinancialRiskManagementLineItems
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of income tax relating to amounts recognised in other comprehensive income in relation to cash flow hedges. [Refer: Cash flow hedges [member]; Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 90 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_90&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2024-01-01 -Paragraph 81 -Subparagraph ab -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2024-en-r&anchor=para_81_ab&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_IncomeTaxRelatingToCashFlowHedgesOfOtherComprehensiveIncome
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of other comprehensive income, before tax, after reclassification adjustments, related to cash flow hedges. [Refer: Cash flow hedges [member]; Other comprehensive income, before tax] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_91_b&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_7&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_OtherComprehensiveIncomeBeforeTaxCashFlowHedges
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of other comprehensive income, net of tax, after reclassification adjustments, related to cash flow hedges. [Refer: Cash flow hedges [member]; Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 91 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_91_a&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_7&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_OtherComprehensiveIncomeNetOfTaxCashFlowHedges
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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

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

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

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

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

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

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

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