XML 208 R164.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

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, 2023 COP ($)
Risk management |
Before taxes | $ (1,078,180)
Taxes | 476,436
After taxes | (601,744)
2024 |
Risk management |
Before taxes | (259,133)
Taxes | 115,993
After taxes | (143,140)
2025 |
Risk management |
Before taxes | (260,645)
Taxes | 114,704
After taxes | (145,941)
2026 |
Risk management |
Before taxes | (253,536)
Taxes | 111,575
After taxes | (141,961)
2027 |
Risk management |
Before taxes | (79,228)
Taxes | 34,866
After taxes | (44,362)
2028 |
Risk management |
Before taxes | (78,661)
Taxes | 34,617
After taxes | (44,044)
2029 |
Risk management |
Before taxes | (77,785)
Taxes | 34,231
After taxes | (43,554)
2030 |
Risk management |
Before taxes | (36,975)
Taxes | 16,272
After taxes | (20,703)
2031 |
Risk management |
Before taxes | (16,545)
Taxes | 7,281
After taxes | (9,264)
2032 |
Risk management |
Before taxes | (14,746)
Taxes | 6,489
After taxes | (8,257)
2033 |
Risk management |
Before taxes | (926)
Taxes | 408
After taxes | $ (518)

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 12 -IssueDate 2023-01-01 -Paragraph 81 -Subparagraph ab -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_ab&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 90 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_90&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_91_b&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 91 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_91_a&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard -URIDate 2023-03-23 + 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=ifrs-full_NotLaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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: |