XML 217 R109.htm IDEA: XBRL DOCUMENT
v3.25.1

Taxes - Deferred tax assets and liabilities not recognized in subsidiaries (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Disclosure of detailed information about income tax [Line Items] |  |
Deferred tax assets not recognised | $ 196,543 | $ 351,203
Deferred tax assets are not recognized, Base amount | 90,771 |
Deferred tax assets are not recognized, Tax | 13,616 |
Ruta del Bosque (Chile) |  |
Disclosure of detailed information about income tax [Line Items] |  |
Deferred tax assets not recognised | 107,006 | 100,356
Ruta del Maule (Chile) |  |
Disclosure of detailed information about income tax [Line Items] |  |
Deferred tax assets not recognised |  | 36,138
ISA Interconexiones Viales |  |
Disclosure of detailed information about income tax [Line Items] |  |
Deferred tax assets not recognised | 2,926 | 3,094
ISA Inversiones Costeras Chile |  |
Disclosure of detailed information about income tax [Line Items] |  |
Deferred tax assets not recognised | 37,345 | 39,221
ISA Inversiones Chile Ltda |  |
Disclosure of detailed information about income tax [Line Items] |  |
Deferred tax assets not recognised | 18,935 | 39,161
ISA Intervial Colombia |  |
Disclosure of detailed information about income tax [Line Items] |  |
Deferred tax assets not recognised | 528 | 542
ISA Capital do Brasil |  |
Disclosure of detailed information about income tax [Line Items] |  |
Deferred tax assets not recognised | 19,072 | 17,093
Internexa Brasil Operadora de Telecomunicaes |  |
Disclosure of detailed information about income tax [Line Items] |  |
Deferred tax assets not recognised | 95,226 | 95,226
Internexa Participaes (Brasil) |  |
Disclosure of detailed information about income tax [Line Items] |  |
Deferred tax assets not recognised | 2,641 | 2,579
ISA Bolivia |  |
Disclosure of detailed information about income tax [Line Items] |  |
Deferred tax assets not recognised | 7,867 | 4,934
ISA Inversiones Tolten |  |
Disclosure of detailed information about income tax [Line Items] |  |
Deferred tax assets not recognised | 18 | $ 12,859
Ruta Costera |  |
Disclosure of detailed information about income tax [Line Items] |  |
Deferred tax assets not recognised | $ 391 |

X
- Definition The aggregate amount of base tax associated with investments in subsidiaries, branches and associates and interests in joint arrangements, for which deferred tax assets have not been recognized. + References No definition available. + Details
Name: | ec_BaseTaxAssociatedWithInvestmentsInSubsidiariesBranchesAndAssociatesAndInterestsInJointArrangementsForWhichDeferredTaxAssetsHaveNotBeenRecognized
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Represents the amount of deferred tax asset not recognised. + References No definition available. + Details
Name: | ec_DeferredTaxAssetNotRecognised
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The aggregate amount of temporary differences associated with investments in subsidiaries, branches and associates and interests in joint arrangements, for which deferred tax assets have not been recognized as a result of satisfying both of the following conditions: (a) the parent, investor, joint venturer or joint operator is able to control the timing of the reversal of the temporary difference; and (b) it is probable that the temporary difference will not reverse in the foreseeable future. [Refer: Associates [member]; Subsidiaries [member]; Temporary differences [member]; Investments in subsidiaries reported in separate financial statements] + References No definition available. + Details
Name: | ec_DifferencesAssociatedWithInvestmentsInSubsidiariesBranchesAndAssociatesAndInterestsInJointArrangementsForWhichDeferredTaxAssetsHaveNotBeenRecognized
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

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

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

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

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

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

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

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

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

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

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

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