XML 224 R116.htm IDEA: XBRL DOCUMENT
v3.25.1

Business combination - Additional Information (Details) $ in Millions, $ in Millions |  | 12 Months Ended |
--- | --- | --- | ---
Dec. 28, 2024 | Dec. 31, 2024 COP ($) | Dec. 29, 2024 USD ($)
Basis for presentation |  |  |
Percentage of ownership interest acquired |  | 45.00% |
Percentage of pre-existing ownership | 55.00% |  |
Block CPO09 |  |  |
Basis for presentation |  |  |
Percentage of ownership interest acquired |  | 45.00% | 45.00%
Percentage of ownership interest including subsequent percentage |  |  | 100.00%
Consideration transferred |  | $ 1,989,695 | $ 452
Gain from acquisition |  | 975,169 |
Gain from difference between fair value and acquisition price |  | 309,233 |
Gain from revaluation of existing interest |  | 665,936 |
Acquisition-related costs |  | $ 265 |

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 gain from business combination pertaining to revaluation of existing interest to the market prices. + References No definition available. + Details
Name: | ec_GainFromBusinessCombinationRevaluationOfExistingInterest
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Percentage of voting equity interests acquired in a business combination achieved in stages, including equity interests in the acquiree held by the acquirer immediately before the acquisition date and acquired at the acquisition date. + References No definition available. + Details
Name: | ec_IfrsBusinessCombinationStepAcquisitionEquityInterestInAcquireeIncludingSubsequentAcquisitionPercentage
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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 amount of acquisition-related costs recognised as an expense for transactions that are recognised separately from the acquisition of assets and the assumption of liabilities in business combinations. [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 m -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_m&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_AcquisitionrelatedCostsRecognisedAsExpenseForTransactionRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombination
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 of any gain recognised in a business combination in which the net of the identifiable assets acquired and the liabilities assumed exceeds the aggregate of the consideration transferred, non-controlling interest in the acquiree and fair value of the acquirer's previously held equity interest in the acquiree. [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 n -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_n_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_GainRecognisedInBargainPurchaseTransaction
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The percentage of voting equity interests acquired 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 c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_c&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_PercentageOfVotingEquityInterestsAcquired
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The proportion of the voting rights in a subsidiary held by the entity. [Refer: Total for all subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2024-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2024-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2024-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2024-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph 19B -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_19B_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ProportionOfVotingPowerHeldInSubsidiary
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | duration

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