XML 146 R102.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Taxes - Deferred tax assets and liabilities (Details) - COP ($) $ in Millions | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2019
Taxes |  |  |  |
Deferred tax assets (liabilities) | $ (1,301,790) | $ (86,856) | $ (1,825,605) | $ 6,034,706
Ecopetrol USA Inc. |  |  |  |
Taxes |  |  |  |
Deferred tax assets operating loss carry forwards not subject to expiration | 60,568 | 339,950 |  |
Refineria De Cartagana [Member] |  |  |  |
Taxes |  |  |  |
Deferred tax assets operating loss carry forwards not subject to expiration | 1,916,114 | 1,871,732 |  |
ISA Interchile |  |  |  |
Taxes |  |  |  |
Operating loss carryforwards, subject to expiration | $ 933,113 | 1,104,625 |  |
Invercolsa S.A. |  |  |  |
Taxes |  |  |  |
Deferred tax asset attributable to deductible operating loss carryforwards | 12 years |  |  |
Operating loss carryforwards, subject to expiration | $ 16,112 | 17,524 |  |
Ruta de la Araucana and Transamerican |  |  |  |
Taxes |  |  |  |
Operating loss carryforwards, subject to expiration | 45,147 | 111,273 |  |
Ruta Costera |  |  |  |
Taxes |  |  |  |
Operating loss carryforwards, subject to expiration | 174,855 | 84,964 |  |
Internexa Chile |  |  |  |
Taxes |  |  |  |
Operating loss carryforwards, subject to expiration | 16,062 |  |  |
Ruta del Maipo |  |  |  |
Taxes |  |  |  |
Operating loss carryforwards, subject to expiration | 759,609 | 1,000,632 |  |
Ruta del Loa |  |  |  |
Taxes |  |  |  |
Operating loss carryforwards, subject to expiration | 30,057 | 27,472 |  |
Loans |  |  |  |
Taxes |  |  |  |
Deferred tax assets (liabilities) | 192,923 | 8,707,743 |  |
Loss carry forwards |  |  |  |
Taxes |  |  |  |
Deferred tax assets (liabilities) | 5,519,519 | 6,497,845 |  |
Deferred tax asset (liability) | $ 5,519,519 | 6,497,845 |  |
Deferred tax asset attributable to deductible operating loss carryforwards | 20 years |  |  |
Operating loss carryforwards, subject to expiration | $ 1,499,997 | 1,887,805 |  |
Provisions |  |  |  |
Taxes |  |  |  |
Deferred tax assets (liabilities) | 5,063,332 | 3,712,239 |  |
Other assets |  |  |  |
Taxes |  |  |  |
Deferred tax assets (liabilities) | 689,369 | 1,144,097 |  |
Employee benefits |  |  |  |
Taxes |  |  |  |
Deferred tax assets (liabilities) | 3,623,801 | 963,558 |  |
Accounts payable |  |  |  |
Taxes |  |  |  |
Deferred tax assets (liabilities) | (60,255) | 54,611 |  |
Goodwill |  |  |  |
Taxes |  |  |  |
Deferred tax assets (liabilities) | (603,445) | (604,350) |  |
Intangibles |  |  |  |
Taxes |  |  |  |
Deferred tax assets (liabilities) | (1,208,349) | (1,573,224) |  |
Other |  |  |  |
Taxes |  |  |  |
Deferred tax assets (liabilities) | (387,146) | (182,419) |  |
Other liabilities |  |  |  |
Taxes |  |  |  |
Deferred tax assets (liabilities) | (3,429,662) | (2,887,670) |  |
Accounts receivable |  |  |  |
Taxes |  |  |  |
Deferred tax assets (liabilities) | (3,766,299) | (4,558,699) |  |
Property plant and equipment and Natural and environmental resources |  |  |  |
Taxes |  |  |  |
Deferred tax assets (liabilities) | $ (6,935,578) | $ (11,360,587) |  |

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards that are not subject to expiration dates. + References No definition available. + Details
Name: | ec_DeferredTaxAssetsOperatingLossCarryForwardsNotSubjectToExpiration
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Expiration period of deferred tax asset attributable to deductible operating loss carryforwards. + References No definition available. + Details
Name: | ec_DeferredTaxAssetsOperatingLossCarryforwardsExpirationPeriod
Namespace Prefix: | ec_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards that are subject to expiration dates. + References No definition available. + Details
Name: | ec_IfrsDeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of deferred tax liabilities or assets. [Refer: Deferred tax liabilities; Deferred tax assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2023-01-01 -Paragraph 81 -Subparagraph g -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_g_i&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_DeferredTaxLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The increase (decrease) in a deferred tax liability (asset). [Refer: Deferred tax liability (asset)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 12 -IssueDate 2023-01-01 -Paragraph 81 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_IncreaseDecreaseInDeferredTaxLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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

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

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

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_RutaDeLaAraucanaAndTransamericanMember
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: |

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

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

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

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ec_LoansAndBorrowingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ifrs-full_UnusedTaxLossesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ec_ProvisionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ifrs-full_OtherAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ec_EmployeeBenefitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ec_AccountsPayablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ifrs-full_GoodwillMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ec_IntangiblesAssetsOtherThanGoodwillMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ec_InvestmentsInventoriesAndIntangibleAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ec_OthersLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ec_AccountsReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ec_PropertyPlantAndEquipmentAndNaturalAndEnvironmentalResourcesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |