XML 216 R108.htm IDEA: XBRL DOCUMENT
v3.25.1

Taxes - Income tax recorded in other comprehensive income (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Taxes |  |  |
Pre-tax | $ 8,687,150 | $ (10,450,786) | $ 11,836,299
Deferred tax | (4,259,216) | 3,726,415 | (4,769,474)
After tax | 4,427,934 | (6,724,371) | 7,066,825
Cash flow hedging for future crude oil exports |  |  |
Taxes |  |  |
Pre-tax | 3,653,649 | (5,695,565) | 3,167,351
Deferred tax | (1,472,447) | 2,624,019 | (1,638,602)
After tax | 2,181,202 | (3,071,546) | 1,528,749
Hedge of a net investment in a foreign operation |  |  |
Taxes |  |  |
Pre-tax | 6,305,555 | (8,973,471) | 7,526,124
Deferred tax | (2,979,130) | 2,760,084 | (2,538,389)
After tax | 3,326,425 | (6,213,387) | 4,987,735
Hedge with derivative instruments |  |  |
Taxes |  |  |
Pre-tax | 172,326 | (242,284) | (111,690)
Deferred tax | (87,204) | 68,573 | (6,223)
After tax | 85,122 | (173,711) | (117,913)
Valuation of financial instruments |  |  |
Taxes |  |  |
Pre-tax | 237,211 |  |
Deferred tax | (94,494) |  |
After tax | 142,717 |  |
Actuarial valuation gains (losses) |  |  |
Taxes |  |  |
Pre-tax | (1,681,591) | 4,460,534 | 1,254,514
Deferred tax | 374,059 | (1,726,261) | (586,260)
After tax | $ (1,307,532) | $ 2,734,273 | $ 668,254

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

X
- Definition It represents the amount of income tax relating to components of other comprehensive income of after tax. + References No definition available. + Details
Name: | ec_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeOfAfterTax
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of income tax relating to amounts recognised in other comprehensive income. [Refer: 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_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncome
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of other comprehensive income that will be reclassified to profit or loss, before tax. [Refer: Other comprehensive income] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph IG6 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_IG6&doctype=Implementation%20Guidance -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 82A -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_82A&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossBeforeTax
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_TypesOfHedgesAxis=ifrs-full_CashFlowHedgesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfHedgesAxis=ifrs-full_HedgesOfNetInvestmentInForeignOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfHedgesAxis=ec_HedgeWithDerivativeInstrumentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfHedgesAxis=ec_ReserveOfChangeInFairValueOfFinancialInstrumentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ActuarialAssumptionsAxis=ifrs-full_OtherMaterialActuarialAssumptionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |