XML 88 R79.htm IDEA: XBRL DOCUMENT
v3.24.3

Taxes - Income tax - Additional Information (Details) | 6 Months Ended | 18 Months Ended
--- | --- | ---
Jun. 30, 2024 | Jun. 30, 2023 | Jun. 30, 2024
Disclosure of detailed information about income tax [Line Items] |  |  |
Statutory tax rate |  |  | 35.00%
Tax surcharge rate | 15.00% | 10.00% |
Expected effective pillar II tax rate | 15.00% |  |
Brazil, Singapore, Switzerland And Bermuda |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |
Expected effective pillar II tax rate | 15.00% |  |

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

X
- Definition Maximum percentage of expected effective Pillar II tax rate applicable to the entity. + References No definition available. + Details
Name: | ec_ExpectedEffectivePillarIiTaxRateMaximum
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of surcharge tax rate. + References No definition available. + Details
Name: | ec_SurchargeTaxRate
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The applicable income tax rate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2023-01-01 -Paragraph 81 -Subparagraph c -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_c_ii&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ApplicableTaxRate
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ec_BrazilSingaporeSwitzerlandAndBermudaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |