XML 161 R117.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Right-of-use assets (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Right of Use Assets Rollforward |  |
Balance at the beginning | $ 627,813 |
Balance at the end | 841,636 | $ 627,813
Lease liabilities |  |
Lease Liabilities Rollforward |  |
Balance at the beginning | 1,212,346 | 1,165,099
Additions | 625,438 | 354,071
Amortization of the period | 0 | 0
Remeasurements | 109,926 | 18,644
Impairment loss | 0 | 0
Disposals | (64,232) | (31,957)
Finance cost | 105,710 | 70,250
Repayment of borrowings (capital) | (458,404) | (362,373)
Payment of interests | (75,236) | (72,182)
Transfers | (13,842) | (1,877)
Exchange difference | (59,070) | 72,671
Balance at the end | 1,382,636 | 1,212,346
Pipelines |  |
Right of Use Assets Rollforward |  |
Balance at the beginning | 96,234 | 77,019
Additions | 31,998 | 40,642
Amortization of the period | (25,234) | (24,751)
Remeasurements | (7,031) | (114)
Impairment loss (Note 17) | $ 0 | $ 0
Disposals | (11,958) | (4,701)
Transfers | $ 0 | $ (584)
Exchange difference | (8,088) | 8,723
Balance at the end | 11,925 | 96,234
Lands and buildings |  |
Right of Use Assets Rollforward |  |
Balance at the beginning | 244,058 | 199,070
Additions | 117,708 | 100,070
Amortization of the period | (58,019) | (61,814)
Remeasurements | 3,578 | (24,524)
Impairment loss (Note 17) | $ (2,672) | $ (1,244)
Disposals | (10,899) | (2,696)
Transfers | $ 0 | $ (108)
Exchange difference | (48,965) | 35,304
Balance at the end | 244,789 | 244,058
Plant and equipments |  |
Right of Use Assets Rollforward |  |
Balance at the beginning | 119,534 | 121,384
Additions | 402,914 | 71,013
Amortization of the period | (84,161) | (60,359)
Remeasurements | 26,259 | 7,505
Impairment loss (Note 17) | $ (6,632) | $ (4,042)
Disposals | (10,369) | (23,010)
Transfers | $ 0 | $ 595
Exchange difference | (11,561) | 6,448
Balance at the end | 435,984 | 119,534
Vehicles |  |
Right of Use Assets Rollforward |  |
Balance at the beginning | 167,987 | 99,205
Additions | 136,814 | 142,346
Amortization of the period | (130,407) | (102,198)
Remeasurements | 13,059 | 16,779
Impairment loss (Note 17) | $ (16,759) | $ (5,499)
Disposals | (2,861) | (215)
Transfers | $ (20) | $ (43)
Exchange difference | (18,875) | 17,612
Balance at the end | 148,938 | 167,987
Right-of-use assets |  |
Right of Use Assets Rollforward |  |
Balance at the beginning | 627,813 | 496,678
Additions | 625,438 | 354,071
Amortization of the period | (297,821) | (249,122)
Remeasurements | 35,865 | (354)
Impairment loss (Note 17) | $ (26,063) | $ (10,785)
Disposals | (36,087) | (30,622)
Transfers | $ (20) | $ (140)
Exchange difference | (87,489) | 68,087
Balance at the end | $ 841,636 | $ 627,813

X
- Definition The amount of additions to lease liabilities. + References No definition available. + Details
Name: | ec_AdditionsToLeaseLiabilities
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of amortization to lease liabilities. + References No definition available. + Details
Name: | ec_AmortizationOfLeaseLiabilities
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of disposals of lease liabilities. + References No definition available. + Details
Name: | ec_DisposalOfLeaseLiabilities
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of disposals to right-of-use assets. + References No definition available. + Details
Name: | ec_DisposalOfRightOfUseAssets
Namespace Prefix: | ec_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of finance cost of lease liabilities. + References No definition available. + Details
Name: | ec_FinanceCostOnLeaseLiabilities
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of Impairment loss of lease liabilities. + References No definition available. + Details
Name: | ec_ImpairmentLossOnLeaseLiabilities
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of impairment loss to right-of-use assets. + References No definition available. + Details
Name: | ec_ImpairmentLossOnRightOfUseAssets
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of increase decrease from transfers in right of use assets. + References No definition available. + Details
Name: | ec_IncreaseDecreaseFromTransfersInRightOfUseAssets
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The increase (decrease) in lease liabilities resulting from net exchange differences arising on the translation of the financial statements from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity. + References No definition available. + Details
Name: | ec_IncreaseDecreaseThroughNetExchangeDifferencesLeaseLiabilities
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase (decrease) in right of use assets resulting from net exchange differences arising on the translation of the financial statements from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity. + References No definition available. + Details
Name: | ec_IncreaseDecreaseThroughNetExchangeDifferencesRightOfUseAssets
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition The amount of repayment of borrowings and interests to right-of-use assets. + References No definition available. + Details
Name: | ec_PaymentOfInterestsRightOfUseAssets
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of Reclassifications or transfers Of lease liabilities. + References No definition available. + Details
Name: | ec_ReclassificationsOrTransfersOfLeaseLiabilities
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of remeasurement of lease liabilities. + References No definition available. + Details
Name: | ec_RemeasurementOfLeaseLiabilities
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of repayment of borrowings and interests of lease liabilities. + References No definition available. + Details
Name: | ec_RepaymentOfBorrowingsAndInterestsOnLeaseLiabilities
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition The amount of additions to right-of-use assets. [Refer: Right-of-use assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 53 -Subparagraph h -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53_h&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_AdditionsToRightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of depreciation of right-of-use assets. [Refer: Depreciation and amortisation expense; Right-of-use assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 53 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_DepreciationRightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of liabilities related to the entity's leases. Lease is a contract, or part of a contract, that conveys the right to use an underlying asset for a period of time in exchange for consideration. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 47 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_47_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_LeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of assets that represent a lessee's right to use an underlying asset for the lease term that do not meet the definition of investment property. Underlying asset is an asset that is the subject of a lease, for which the right to use that asset has been provided by a lessor to a lessee. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 53 -Subparagraph j -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53_j&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 47 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_47_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_RightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The increase (decrease) in the revaluation surplus that relates to right-of-use assets. [Refer: Revaluation surplus; Right-of-use assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 57 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_57&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_RightofuseAssetsIncreaseDecreaseInRevaluationSurplus
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ec_PipelinesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ifrs-full_LandAndBuildingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ifrs-full_PropertyPlantAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ifrs-full_VehiclesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ifrs-full_RightofuseAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |