XML 234 R190.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Subsequent and relevant events - Additional Information (Details) R$ / shares in Units, $ in Millions |  |  | 1 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
Feb. 15, 2024 BRL (R$) | Feb. 08, 2024 BRL (R$) R$ / shares shares | Feb. 29, 2024 | Dec. 31, 2023 COP ($) | Dec. 31, 2023 USD ($) | Dec. 31, 2022 COP ($) | Dec. 31, 2021 COP ($)
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |  |  |
Exploration costs | $ | [1] |  |  |  | $ 2,088,922 |  | $ 1,512,385 | $ 960,247
Abandonment of Pozo Milonga - Hocol S.A. |  |  |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |  |  |
Exploration for evaluation of mineral resources and percentage of work |  |  |  |  | 72.00% | 72.00% |  |
Exploration costs | $ |  |  |  |  |  | $ 17,000,000 |  |
Issuance of debentures | 15th issuance of simple, non-convertible debentures |  |  |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |  |  |
Number of debentures issuable |  |  | 1,195,000 |  |  |  |  |
Debentures face value | R$ / shares |  |  | R$ 1 |  |  |  |  |
Total fair value of issuance of debentures | R$ |  |  | R$ 1,195,000 |  |  |  |  |
Settlement of debentures | R$ |  | R$ 444,634 |  |  |  |  |  |
Issuance of debentures | Debentures first series obligations |  |  |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |  |  |
Number of debentures issuable |  |  | 685,000 |  |  |  |  |
Issuance of debentures | Bottom of range | Debentures second series obligations |  |  |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |  |  |
Number of debentures issuable |  |  | (400,000) |  |  |  |  |
Issuance of debentures | Bottom of range | Debentures third series obligations |  |  |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |  |  |
Number of debentures issuable |  |  | 110,000 |  |  |  |  |
Hocol S.A. | Abandonment of Pozo Milonga - Hocol S.A. | Predices Joint Venture contract |  |  |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |  |  |
Ownership interest Ecopetrol, joint venture |  |  |  | 100.00% |  |  |  |
[1] | Exploration expenses include the costs of geological and geophysical activities, as well as the non–productive exploratory wells.

X
- Definition Face value of debentures issued. + References No definition available. + Details
Name: | ec_DebenturesFaceValue
Namespace Prefix: | ec_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of work completed on exploration for evaluation of mineral resources. + References No definition available. + Details
Name: | ec_ExplorationForAndEvaluationOfMineralResourcesPercentageOfWork
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the number of debentures Issuable during the period. + References No definition available. + Details
Name: | ec_NumberOfDebenturesIssuable
Namespace Prefix: | ec_
Data Type: | xbrli:sharesItemType
Balance Type: | na
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_DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of expense arising from the search for mineral resources, including minerals, oil, natural gas and similar non-regenerative resources after the entity has obtained legal rights to explore in a specific area, as well as the determination of the technical feasibility and commercial viability of extracting the mineral resource. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 6 -IssueDate 2023-01-01 -Paragraph 24 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=6&code=ifrs-tx-2023-en-r&anchor=para_24_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ExpenseArisingFromExplorationForAndEvaluationOfMineralResources
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of notes and debentures issued by the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NotesAndDebenturesIssued
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The proportion of ownership interest in a joint venture attributable to the entity. [Refer: Joint ventures [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2023-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2023-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInJointVenture
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow for repayments of bonds, notes and debentures. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2023-01-01 -Paragraph 17 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_17&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_RepaymentsOfBondsNotesAndDebentures
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ec_AbandonmentOfPozoMilongaWellMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ec_IssuanceOfDebenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | ec_IfrsLegalEntityAxis=ec_HocolSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ec_PredicesJointVentureContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |