XML 223 R115.htm IDEA: XBRL DOCUMENT
v3.25.1

Business combination - Effect on operating results as (Details) - Block CPO09 $ in Millions, $ in Millions | Dec. 31, 2024 COP ($) | Dec. 29, 2024 USD ($)
--- | --- | ---
Basis for presentation |  |
Fair value of net assets acquired and existing | $ 5,562,201 |
Book value of net assets | (1,873,644) |
Consideration for the acquisition of assets | (1,989,695) | $ (452)
(=) Net income from business combination | 1,698,862 |
(-) Deferred tax expense | (723,693) |
(=)Net profit from acquisition after deferred tax | 975,169 |
Amount paid for acquisition | 880,396 |
Business combination consideration payable | $ 1,109,299 |

X
- Definition The amount of business combination consideration payable. + References No definition available. + Details
Name: | ec_BusinessCombinationConsiderationPayable
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of deferred tax expense in purchase transaction. + References No definition available. + Details
Name: | ec_DeferredTaxExpensePertainingToBusinessCombination
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of gain after deferred tax expense in purchase transaction. + References No definition available. + Details
Name: | ec_GainFromBusinessCombinationAfterDeferredTax
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of income recognized in purchase transaction before deferred tax expense. + References No definition available. + Details
Name: | ec_IncomeRecognizedInBusinessCombinationBeforeDeferredTaxExpense
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The acquisition-date fair value of equity interest in the acquiree held by the acquirer immediately before the acquisition date in a business combination achieved in stages. [Refer: Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph p -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_p_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_AcquisitiondateFairValueOfEquityInterestInAcquireeHeldByAcquirerImmediatelyBeforeAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fair value, at acquisition date, of the consideration transferred in a business combination. [Refer: Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph f -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_f&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_AcquisitiondateFairValueOfTotalConsiderationTransferred
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fair value, at acquisition date, of cash transferred as consideration in a business combination. [Refer: Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph f -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_f_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_CashTransferred
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfBusinessCombinationsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount recognised as of the acquisition date for net identifiable assets acquired or liabilities assumed in a business combination. [Refer: Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph IE72 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_IE72&doctype=Illustrative%20Examples -URIDate 2024-03-27 + Details
Name: | ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ec_BlockCpo09FromRepsolColombiaOilGasLimitedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |