XML 202 R94.htm IDEA: XBRL DOCUMENT
v3.25.1

Inventories - Changes of the allowances for losses (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Inventories |  |  |
Opening balance | $ (189,878) | $ (128,797) | $ (127,662)
Additions | (155,364) | (23,373) | (18,236)
Foreign currency translation | (21,945) | 6,873 | (3,591)
Other | 32,316 | (44,581) | 20,692
Closing balance | (334,871) | (189,878) | (128,797)
Inventories adjustment | $ 100,894 | $ 10,660 | $ 133,164

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 amount of additional other provisions made. [Refer: Other provisions] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 37 -IssueDate 2024-01-01 -Paragraph 84 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2024-en-r&anchor=para_84_b&doctype=Standard -URIDate 2024-03-27 + 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 2024-01-01 -Paragraph 36 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=2&code=ifrs-tx-2024-en-r&anchor=para_36_e&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 98 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_98_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_InventoryWritedown2011
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration