XML 134 R90.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Inventories - Changes of the allowances for losses (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Inventories |  |  |
Opening balance | $ (128,797) | $ (127,662) | $ (109,549)
Additions | (23,373) | (18,236) | (58,437)
Increase due to business combination | 0 |  | (2,837)
Foreign currency translation | 6,873 | (3,591) | (1,449)
Other | (44,581) | 20,692 | 44,610
Closing balance | (189,878) | (128,797) | (127,662)
Inventories adjustment | $ 10,660 | $ 133,164 | $ 23,785

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

X
- Definition The increase (decrease) in provisions for inventories resulting from foreign currency exchange rate changes on provisions measured in a currency different from the entity's presentation currency. + References No definition available. + Details
Name: | ec_IncreaseDecreaseThroughNetExchangeDifferencesprovisionsForInventories
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount used for provisions for inventories. + References No definition available. + Details
Name: | ec_ProvisionUsedProvisionsForInventories
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount provisions for inventories. + References No definition available. + Details
Name: | ec_ProvisionsForInventories
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The increase in other provisions resulting from acquisitions through business combinations. [Refer: Business combinations [member]; Other provisions] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 37 -IssueDate 2023-01-01 -Paragraph 84 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2023-en-r&anchor=para_84&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_AcquisitionsThroughBusinessCombinationsOtherProvisions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of additional other provisions made. [Refer: Other provisions] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 37 -IssueDate 2023-01-01 -Paragraph 84 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2023-en-r&anchor=para_84_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_AdditionalProvisionsOtherProvisions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of expense recognised related to the write-down of inventories to net realisable value. [Refer: Inventories] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 2 -IssueDate 2023-01-01 -Paragraph 36 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=2&code=ifrs-tx-2023-en-r&anchor=para_36_e&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 98 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_98_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_InventoryWritedown2011
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration