XML 105 R96.htm IDEA: XBRL DOCUMENT
v3.24.3

Accrued liabilities and provisions - Additional information (Details) $ in Millions |  | 6 Months Ended
--- | --- | ---
Mar. 21, 2024 USD ($) shares | Jun. 30, 2024 employee item director
Disclosure of accrued liabilities and provisions [Line Items] |  |
Legal fees | $ | $ 9 |
McDermott International Ltd |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |
Threshold maximum percentage of ownership interest considered for conversion of preferred stock into common stock | 19.90% |
Refineria de Cartagena | Office of comptroller general |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |
Number of former officials | item |  | 8
Number of former presidents | item |  | 3
Number of former financial vice-presidents | item |  | 5
Refineria de Cartagena | Prosecutor's office, process 1 |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |
Number of former employees under investigate process | employee |  | 3
Number of former board members under investigation process | director |  | 1
Refineria de Cartagena | Prosecutor's office, process 2 |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |
Number of former employees under investigate process | employee |  | 1
Number of former board members under investigation process | director |  | 3
Refineria de Cartagena | Prosecutor's office, process 3 |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |
Number of ex-workers of who acted as ex-president in property and ex-president in charge | item |  | 2
Refineria de Cartagena | Prosecutor's office, process 4 |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |
Number of former employees under investigate process | employee |  | 1
Refineria de Cartagena | McDermott International Ltd |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |
Number of stocks issued | shares | 75,000 |
Chicago Bridge and Iron Company | Prosecutor's office, process 1 |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |
Number of employees under investigation process | employee |  | 2
Letters of credits one | Refineria de Cartagena |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |
Maximum credit loan | $ | $ 70 |
Letters of credits two | Refineria de Cartagena |  |
Disclosure of accrued liabilities and provisions [Line Items] |  |
Maximum credit loan | $ | $ 95 |

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 Number of new stocks issued during the period. + References No definition available. + Details
Name: | ec_IfrsStockIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | ec_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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 No definition available. + Details
Name: | ec_MaximumExposureToCreditRiskOfLoansOrReceivables1
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of employees of the company against whom the investigation process is being carried out. + References No definition available. + Details
Name: | ec_NumberOfEmployeesUnderInvestigationProcess
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the number of ex-workers of who acted as ex-president in property and ex-president in charge. + References No definition available. + Details
Name: | ec_NumberOfExWorkersOfWhoActedAsExPresidentInPropertyAndExPresidentInCharge
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of former members of the Board of Directors of the company against whom the investigation process is being carried out. + References No definition available. + Details
Name: | ec_NumberOfFormerBoardMembersUnderInvestigationProcess
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of former employees of the company against whom the investigation process is being carried out. + References No definition available. + Details
Name: | ec_NumberOfFormerEmployeesUnderInvestigationProcess
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
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 presidents. + References No definition available. + Details
Name: | ec_NumberOfFormerPresidents
Namespace Prefix: | ec_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Threshold maximum percentage of ownership interest considered for conversion of preferred stock into common stock. + References No definition available. + Details
Name: | ec_ThresholdMaximumPercentageOfOwnershipInterestConsideredForConversionOfPreferredStockIntoCommonStock
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ec_IfrsLegalEntityAxis=ec_McdermottInternationalLtdMember
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: | ifrs-full_ClassesOfContingentLiabilitiesAxis=ec_InvestigationAtOfficeOfComptrollerGeneralMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfContingentLiabilitiesAxis=ec_InvestigationAtProsecutorSOfficeProcessOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfContingentLiabilitiesAxis=ec_InvestigationAtProsecutorSOfficeProcessTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfContingentLiabilitiesAxis=ec_InvestigationAtProsecutorSOfficeProcessThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfContingentLiabilitiesAxis=ec_InvestigationAtProsecutorSOfficeProcessFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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