XML 103 R94.htm IDEA: XBRL DOCUMENT
v3.24.3

Provisions for employee benefits - Additional Information (Details) - COP ($) $ in Millions | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2024 | Dec. 31, 2023
Provisions for employees' benefits |  |
Assets of benefit plan | $ 11,712,499 | $ 12,011,267
Fair value level 1 |  |
Provisions for employees' benefits |  |
Percentage of plan assets | 57.90% | 55.70%
Fair value level 2 |  |
Provisions for employees' benefits |  |
Percentage of plan assets | 42.10% | 44.30%

X
- Definition The percentage of plan assets in total assets. + References No definition available. + Details
Name: | ec_PercentageOfPlanAssets
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of assets held by retirement benefit plans. [Refer: Defined benefit plans [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 26 -IssueDate 2023-01-01 -Paragraph 35 -Subparagraph a -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=26&code=ifrs-tx-2023-en-r&anchor=para_35_a_i&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_AssetsOfBenefitPlan
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level1OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level2OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |