XML 148 R104.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Taxes - Income tax recorded in other comprehensive income (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Taxes |  |  |
Pre-tax | $ (10,450,786) | $ 11,836,299 | $ 3,573,847
Deferred tax | 3,726,415 | (4,769,474) | (1,535,151)
After tax | (6,724,371) | 7,066,825 | 2,038,696
Cash flow hedging for future crude oil exports |  |  |
Taxes |  |  |
Pre-tax | (5,695,565) | 3,167,351 | 1,259,269
Deferred tax | 2,624,019 | (1,638,602) | (450,492)
After tax | (3,071,546) | 1,528,749 | 808,777
Hedge of a net investment in a foreign operation |  |  |
Taxes |  |  |
Pre-tax | (8,973,471) | 7,526,124 | 4,579,758
Deferred tax | 2,760,084 | (2,538,389) | (1,708,348)
After tax | (6,213,387) | 4,987,735 | 2,871,410
Hedge with derivative instruments |  |  |
Taxes |  |  |
Pre-tax | (242,284) | (111,690) | 191,487
Deferred tax | 68,573 | (6,223) | (55,821)
After tax | (173,711) | (117,913) | 135,666
Actuarial valuation gains (losses) |  |  |
Taxes |  |  |
Pre-tax | 4,460,534 | 1,254,514 | (2,456,667)
Deferred tax | (1,726,261) | (586,260) | 679,510
After tax | $ 2,734,273 | $ 668,254 | $ (1,777,157)

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 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_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 2023-01-01 -Paragraph IG6 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_IG6&doctype=Implementation%20Guidance -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 82A -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_82A&doctype=Standard -URIDate 2023-03-23 + 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_ActuarialAssumptionsAxis=ifrs-full_OtherMaterialActuarialAssumptionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |