XML 127 R118.htm IDEA: XBRL DOCUMENT
v3.24.3

Related parties - Transactions with related parties (Details) - COP ($) $ in Millions | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2024 | Dec. 31, 2023
Main transactions with related parties |  |
Sales and services | $ 57,872 | $ 62,530
Purchases of product and other | 271,440 | 313,440
Joint ventures |  |
Main transactions with related parties |  |
Sales and services | 16,454 | 12,145
Purchases of product and other | 248,457 | 289,250
Associates |  |
Main transactions with related parties |  |
Sales and services | 41,418 | 50,385
Purchases of product and other | 22,983 | 24,190
Gases del Caribe S.A. E.S.P. | Associates |  |
Main transactions with related parties |  |
Purchases of product and other | 14,673 |
Gas Natural del Oriente S.A. E.S.P. | Associates |  |
Main transactions with related parties |  |
Purchases of product and other | 5,394 | 19,319
Extrucol S.A. | Associates |  |
Main transactions with related parties |  |
Purchases of product and other | 1,459 |
E2 Energia Eficiente S.A. E.S.P. | Associates |  |
Main transactions with related parties |  |
Sales and services | 41,418 | 8
Purchases of product and other | 1,457 | 2,157
Serviport S.A. | Associates |  |
Main transactions with related parties |  |
Sales and services |  | 50,377
Purchases of product and other |  | 2,714
Equion Energa Limited | Joint ventures |  |
Main transactions with related parties |  |
Sales and services |  | 487
Ecodiesel Colombia S.A. | Joint ventures |  |
Main transactions with related parties |  |
Sales and services | 16,454 | 11,658
Purchases of product and other | $ 248,457 | $ 289,250

X
- Definition The amount of purchase and other transactions made by the entity in related party transactions. + References No definition available. + Details
Name: | ec_PurchasesAndOtherAssetsRelatedPartyTransactions
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of revenue arising from sales and services in related party transactions. + References No definition available. + Details
Name: | ec_SalesAndServicesRelatedPartyTransactions
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_DisclosureOfTransactionsBetweenRelatedPartiesLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ifrs-full_JointVenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ifrs-full_AssociatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ec_GasesDelCaribeSaEspMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ec_GasNaturalDelOrienteS.a.E.s.p.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ec_ExtrucolS.a.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ec_E2EnergaEficienteS.a.E.s.p.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ec_ServiportSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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