XML 142 R98.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Taxes - Income tax - Additional Information (Details) R$ in Millions |  | 12 Months Ended
--- | --- | ---
Jan. 01, 2022 | Dec. 31, 2023 BRL (R$) | Dec. 31, 2022 | Dec. 31, 2021
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Statutory tax rate |  | 35.00% | 35.00% | 31.00%
Presumptive income tax |  |  |  | 0.00%
Applicable tax rate for fixed assets | 35 |  |  |
Description of tax losses carry forward |  | 12 taxable years |  |
Ecopetrol S.A. and Hocol |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Applicable tax rate for fixed assets |  | 35 |  |
Ecopetrol Group |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Statutory tax rate |  | 35.00% | 35.00% |
Ecopetrol Group | Free trade zone |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Presumptive income, percentage on beginning equity |  | 15.00% |  |
Free trade zone |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Statutory tax rate |  | 20.00% |  |
Free zone Legal Stability Agreement (LSA) | Ecopetrol Group |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Statutory tax rate |  | 15.00% |  |
Brazil | Ecopetrol Group |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Statutory tax rate |  | 34.00% |  |
Percentage of income tax rate taxable base of liquid profit |  | 34.00% |  |
Legal entities maximum gross income |  | R$ 78 |  |
Percentage of income tax rate based on legal entities gross income |  | 8.00% |  |
Brazil | Ecopetrol Group | Bottom of range |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Statutory tax rate |  | 12.00% |  |
Brazil | Ecopetrol Group | Top of range |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Statutory tax rate |  | 32.00% |  |
Chile | Ecopetrol Group |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Statutory tax rate |  | 27.00% |  |
Peru country | Ecopetrol Group |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Statutory tax rate |  | 29.50% |  |
Percentage of current income tax rate on taxable income after deducting employee participation |  | 29.50% |  |
Percentage of dividend and other forms of profit distribution income tax rate |  | 5.00% |  |
Percentage of income tax rate of financial expenses deduction |  |  |  | 30.00%
Percentage of income tax rate of deduction allowed for low value added services and cost plus margin |  | 5.00% |  |
Peru country | Ecopetrol Group | Bottom of range |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Statutory tax rate |  | 5.00% |  |
Peru country | Ecopetrol Group | Top of range |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Statutory tax rate |  | 10.00% |  |
USA | Ecopetrol Group |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Statutory tax rate |  | 21.00% |  |
2022 | Colombia |  |  |  |
Disclosure of detailed information about income tax [Line Items] |  |  |  |
Statutory tax rate |  |  | 35.00% |

X
- Definition The applicable tax rate for fixed assets. + References No definition available. + Details
Name: | ec_ApplicableTaxRateForFixedAssets
Namespace Prefix: | ec_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition The description of information regarding tax losses carry forward. + References No definition available. + Details
Name: | ec_DescriptionOfTaxLossesCarryForward
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Percentage of current income tax rate on taxable income after deducting employee participation. + References No definition available. + Details
Name: | ec_PercentageOfCurrentIncomeTaxRateOnTaxableIncomeAfterDeductingEmployeeParticipation
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of dividend and other forms of profit distribution income tax rate. + References No definition available. + Details
Name: | ec_PercentageOfDividendAndOtherFormsOfProfitDistributionIncomeTaxRate
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of income tax rate based on legal entities gross income. + References No definition available. + Details
Name: | ec_PercentageOfIncomeTaxRateBasedOnLegalEntitiesGrossIncome
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of income tax rate of deduction allowed for low value added services and cost plus margin. + References No definition available. + Details
Name: | ec_PercentageOfIncomeTaxRateOfDeductionAllowedForLowValueAddedServicesAndCostPlusMargin
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of income tax rate of financial expenses deduction. + References No definition available. + Details
Name: | ec_PercentageOfIncomeTaxRateOfFinancialExpensesDeduction
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of income tax rate taxable base of liquid profit. + References No definition available. + Details
Name: | ec_PercentageOfIncomeTaxRateTaxableBaseOfLiquidProfit
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The presumptive income percentage on the amount of equity on beginning period. + References No definition available. + Details
Name: | ec_PresumptiveIncomePercentageOnBeginningEquity
Namespace Prefix: | ec_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of presumptive income tax. + References No definition available. + Details
Name: | ec_PresumtiveIncomeTax
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
- Definition The amount of income from structured entities including recurring and non-recurring fees, interest, dividends, gains or losses on the remeasurement or derecognition of interests in structured entities and gains or losses from the transfer of assets and liabilities to the structured entity. [Refer: Unconsolidated structured entities [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph 27 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_27_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_IncomeFromStructuredEntities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolSaAndHocolPetroleumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ec_EcopetrolGroupMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_FreeTradeZoneAreaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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: |

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

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

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

X
- Details
Name: | ec_FinancialYearAxis=ec_TwoThousandTwentyTwoAfterMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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