XML 224 R180.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Information by segments - Capital expenditures by segments (Details) - Operating segments - COP ($) $ in Millions | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | ---
Disclosure of operating segments [line items] |  |  |
Investment property | $ 24,090,916 | $ 21,877,770 | $ 13,294,962
Property, plant and equipment's |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 9,349,885 | 8,767,716 | 6,117,588
Natural and environmental resources |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 13,964,435 | 11,962,544 | 6,733,028
Intangibles |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 776,596 | 1,147,510 | 444,346
Exploration and Production |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 18,282,774 | 16,569,320 | 9,472,637
Exploration and Production | Property, plant and equipment's |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 4,258,469 | 4,461,244 | 2,633,119
Exploration and Production | Natural and environmental resources |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 13,964,435 | 11,962,544 | 6,733,028
Exploration and Production | Intangibles |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 59,870 | 145,532 | 106,490
Refining and Petrochemicals |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 822,429 | 961,675 | 1,868,303
Refining and Petrochemicals | Property, plant and equipment's |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 738,161 | 928,843 | 1,845,618
Refining and Petrochemicals | Intangibles |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 84,268 | 32,832 | 22,685
Transportation and Logistics |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 3,324,650 | 2,513,891 | 1,391,890
Transportation and Logistics | Property, plant and equipment's |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 2,702,091 | 2,424,428 | 1,344,654
Transportation and Logistics | Intangibles |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 622,559 | 89,463 | 47,236
Electric power transmission and toll roads concessions |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 1,661,063 | 1,832,884 | 562,132
Electric power transmission and toll roads concessions | Property, plant and equipment's |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | 1,651,164 | 953,201 | 294,197
Electric power transmission and toll roads concessions | Intangibles |  |  |
Disclosure of operating segments [line items] |  |  |
Investment property | $ 9,899 | $ 879,683 | $ 267,935

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_DisclosureOfOperatingSegmentsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of property (land or a building - or part of a building - or both) held (by the owner or by the lessee as a right-of-use asset) to earn rentals or for capital appreciation or both, rather than for: (a) use in the production or supply of goods or services or for administrative purposes; or (b) sale in the ordinary course of business. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 40 -IssueDate 2023-01-01 -Paragraph 76 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=40&code=ifrs-tx-2023-en-r&anchor=para_76&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 40 -IssueDate 2023-01-01 -Paragraph 79 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=40&code=ifrs-tx-2023-en-r&anchor=para_79_d&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 54 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_InvestmentProperty
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_SegmentConsolidationItemsAxis=ifrs-full_OperatingSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInvestmentPropertyAxis=ec_PropertyPlantAndEquipmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInvestmentPropertyAxis=ec_NaturalAndEnvironmentalResourcesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInvestmentPropertyAxis=ec_IntangiblesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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