XML 125 R81.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Accounting policies - Additional Information (Details) | Dec. 31, 2023
--- | ---
Disclosure of accounting policies |
Percentage of interest rate on accumulated severance amount | 12.00%
Percentage of right of use assets recognized in joint venture | 100.00%
Bottom of range |
Disclosure of accounting policies |
Percentage of interest acquired | 20.00%
Top of range |
Disclosure of accounting policies |
Percentage of interest acquired | 50.00%

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

X
- Definition Percentage of Interest Rate On Accumulated Severance Amount. + References No definition available. + Details
Name: | ec_PercentageOfInterestRateOnAccumulatedSeveranceAmount
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of right of use assets recognized in joint venture agreement. + References No definition available. + Details
Name: | ec_PercentageOfRightOfUseAssetsRecognizedInJointVenture
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage of voting equity interests acquired in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2023-01-01 -Paragraph B64 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2023-en-r&anchor=para_B64_c&doctype=Appendix&subtype=B -URIDate 2023-03-23 + Details
Name: | ifrs-full_PercentageOfVotingEquityInterestsAcquired
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |