XML 252 R144.htm IDEA: XBRL DOCUMENT
v3.25.1

Provisions for employees' benefits - Additional Information (Details) | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Fair value level 1 |  |
Provisions for employees' benefits |  |
Percentage of plan assets | 58.09% | 55.70%
Fair value level 2 |  |
Provisions for employees' benefits |  |
Percentage of plan assets | 41.91% | 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 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: |