XML 187 R143.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Accrued liabilities and provisions - Additional information (Details) $ in Millions, $ in Millions |  |  |  |  |  |  | 3 Months Ended | 12 Months Ended | 48 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Mar. 21, 2024 country | Sep. 07, 2023 USD ($) | Jun. 28, 2019 USD ($) | Mar. 16, 2018 USD ($) | May 25, 2016 USD ($) | Mar. 08, 2016 USD ($) | Mar. 31, 2024 USD ($) | Dec. 31, 2023 COP ($) item | Dec. 31, 2023 USD ($) item | Dec. 31, 2022 | Dec. 31, 2020 USD ($) | Dec. 31, 2018 USD ($) | Jun. 28, 2019 COP ($) | Jun. 28, 2019 USD ($) | Mar. 16, 2018 COP ($) | Mar. 16, 2018 USD ($) | Apr. 28, 2017 COP ($) | Apr. 28, 2017 USD ($)
Disclosure of accrued liabilities and provisions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Mandatory investments, natural resources |  |  |  |  |  |  |  | 1.00% | 1.00% | 1.00% |  |  |  |  |  |  |  |
Minimum current plans executed | item |  |  |  |  |  |  |  | 240 | 240 |  |  |  |  |  |  |  |  |
Percentage of forced investment |  |  |  |  |  |  |  | 1.00% | 1.00% |  |  |  |  |  |  |  |  |
Minimum Percentage of Execution of Forced Obligation |  |  |  |  |  |  |  | 1.00% | 1.00% |  |  |  |  |  |  |  |  |
Minimum historical execution amount |  |  |  |  |  |  |  | $ 90,000 |  |  |  |  |  |  |  |  |  |
Unidentified expenses |  |  |  |  |  |  |  |  |  |  |  | $ 22 |  |  |  |  |  |
Unidentified project cost |  |  |  |  |  |  |  |  | $ 269 |  |  |  |  |  |  |  |  |
Legal proceedings in process, claims made, value |  |  |  |  | $ 213 |  |  |  |  |  |  |  |  |  |  |  |  |
Legal fees |  |  |  |  |  |  | $ 9 |  |  |  |  |  |  |  |  |  |  |
Number of former officials | item |  |  |  |  |  |  |  | 8 | 8 |  |  |  |  |  |  |  |  |
Number of former presidents | item |  |  |  |  |  |  |  | 3 | 3 |  |  |  |  |  |  |  |  |
Number of former financial vice-presidents | item |  |  |  |  |  |  |  | 5 | 5 |  |  |  |  |  |  |  |  |
McDermott International Ltd |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of countries the business group is having presence | country | 54 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Vice President |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of former officials being investigated | item |  |  |  |  |  |  |  | 5 | 5 |  |  |  |  |  |  |  |  |
Refineria de Cartagena |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amount awarded to other party |  | $ 1,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Dismissal of claim amount by Plaintif |  | $ 400 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of former officials being investigated | item |  |  |  |  |  |  |  | 8 | 8 |  |  |  |  |  |  |  |  |
Legal proceedings in process, claims made, value |  |  |  |  |  | $ 2,000 |  |  |  |  |  |  |  |  |  |  |  |
Contingent asset claim |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 432,303 | $ 129 |  |
Contingent asset claim invoices provisionally paid |  |  | $ 137 | $ 139 |  |  |  |  |  |  | $ 122 |  |  |  |  |  |  |
Legal proceedings in process, claims made, value updated including interest |  |  |  |  |  |  |  |  |  |  |  |  | $ 503,241 | $ 137 |  |  |  |
Contingent asset non detailed counterclaim |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 387,558 | $ 116
Contingent Asset Compliance Letter Of Credit |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 70
Refineria de Cartagena | McDermott International Ltd |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of preferred shares issued | 19.90% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Refineria de Cartagena | President |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of former officials being investigated | item |  |  |  |  |  |  |  | 3 | 3 |  |  |  |  |  |  |  |  |
Refineria de Cartagena |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of shares acquired |  |  |  |  |  |  | 19.90% |  |  |  |  |  |  |  |  |  |  |
Refineria de Cartagena | Letters of credits one |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum credit loan |  |  |  |  |  |  | $ 70 |  |  |  |  |  |  |  |  |  |  |
Refineria de Cartagena | Letters of credits two |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum credit loan |  |  |  |  |  |  | $ 95 |  |  |  |  |  |  |  |  |  |  |
Exploration and Production [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Discount rate applied to cash flow projections |  |  |  |  |  |  |  | 5.02% | 5.02% | 5.30% |  |  |  |  |  |  |  |
Transport and logistics [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Discount rate applied to cash flow projections |  |  |  |  |  |  |  | 5.20% | 5.20% | 5.58% |  |  |  |  |  |  |  |
Refining and petrochemicals [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Discount rate applied to cash flow projections |  |  |  |  |  |  |  | 5.51% | 5.51% | 6.36% |  |  |  |  |  |  |  |

X
- Definition Amount of contingent asset claim. + References No definition available. + Details
Name: | ec_ContingentAssetClaim
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Represents the cash outflow for contingent asset claim invoices provisionally paid. + References No definition available. + Details
Name: | ec_ContingentAssetClaimInvoicesProvisionallyPaid
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of contingent asset compliance letter of credit. + References No definition available. + Details
Name: | ec_ContingentAssetComplianceLetterOfCredit
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of contingent asset non detailed counterclaim. + References No definition available. + Details
Name: | ec_ContingentAssetNonDetailedCounterclaim
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Corresponding to reimbursement of legal fees. + References No definition available. + Details
Name: | ec_CorrespondingToReimbursementOfLegalFees
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Amount of claim amount by plaintiff. + References No definition available. + Details
Name: | ec_DismissalOfClaimAmountByPlaintiff
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of forced investments for natural resources. + References No definition available. + Details
Name: | ec_ForcedInvestmentsNaturalResourcesPercentage
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount awarded to other party in judgment or settlement of litigation. + References No definition available. + Details
Name: | ec_IfrsLitigationSettlementAmountAwardedToOtherParty
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of claims demanded before arbitrage in a legal proceedings that is in process in front of a court of Law. + References No definition available. + Details
Name: | ec_LegalProceedingsInProcessClaimsMadeValue
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The updated value including interest of contingent asset claim. + References No definition available. + Details
Name: | ec_LegalProceedingsInProcessClaimsMadeValueUpdatedIncludingInterest
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of investments made during the period, mandatorily on usage of natural resources. + References No definition available. + Details
Name: | ec_MandatoryInvestmentsNaturalResources
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of minimum current plans executed for environmental offsetting. + References No definition available. + Details
Name: | ec_MinimumCurrentPlansExecutedForEnvironmentalOffsetting
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum historical execution amount. + References No definition available. + Details
Name: | ec_MinimumHistoricalExecutionAmount
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Minimum percentage of execution of forced obligation for the resources have been invested in protection, conservation and preservation actions through voluntary conservation agreements, purchase of properties intended for conservation, ecological restoration and reforestation and the achievement of the signing of the first agreement with IDEAM. + References No definition available. + Details
Name: | ec_MinimumPercentageOfExecutionOfForcedObligation
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of former financial vice-presidents. + References No definition available. + Details
Name: | ec_NumberOfFormerFinancialVicePresidents
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of former officials. + References No definition available. + Details
Name: | ec_NumberOfFormerOfficials
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of former officials being investigated. + References No definition available. + Details
Name: | ec_NumberOfFormerOfficialsBeingInvestigated
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of former presidents. + References No definition available. + Details
Name: | ec_NumberOfFormerPresidents
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the percentage of shares acquired. + References No definition available. + Details
Name: | ec_PercentageOfSharesAcquired
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of countries the business group is having presence. + References No definition available. + Details
Name: | ec_PlanOfReorganizationNumberOfCountriesInWhichBusinessGroupHasPresence
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of preferred shares issued by conversion of common stock in the plan of reorganization from a group. + References No definition available. + Details
Name: | ec_PlanOfReorganizationPercentageOfPreferredStockIssuedOnConversionOfCommonStockFromGroup
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unidentified expenses for specified period. + References No definition available. + Details
Name: | ec_UnidentifiedExpensesForSpecifiedPeriod
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of unidentified project cost when entered. + References No definition available. + Details
Name: | ec_UnidentifiedProjectCostWhenEntered
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The discount rate applied to cash flow projections for a cash-generating unit (group of units). [Refer: Cash-generating units [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2023-01-01 -Paragraph 134 -Subparagraph d -Clause v -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2023-en-r&anchor=para_134_d_v&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2023-01-01 -Paragraph 134 -Subparagraph e -Clause v -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2023-en-r&anchor=para_134_e_v&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_DescriptionOfDiscountRatesAppliedToCashFlowProjections
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum exposure to the credit risk of loans or receivables. [Refer: Loans and receivables; Credit risk [member]; Maximum exposure to credit risk] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expired 2023-01-01 -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 9 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_9_a&doctype=Standard&book=b -URIDate 2023-03-23 + Details
Name: | ifrs-full_MaximumExposureToCreditRiskOfLoansOrReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | srt_CounterpartyNameAxis=ec_McdermottInternationalLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_VicePresidentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_PresidentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ec_RefineriaDeCartagenaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ec_LettersOfCreditsOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ec_LettersOfCreditsTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfLiabilitiesAxis=ec_ExplorationAndProductionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfLiabilitiesAxis=ec_TransportationAndLogisticsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfLiabilitiesAxis=ec_RefiningAndPetrochemicalsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |