XML 54 R45.htm IDEA: XBRL DOCUMENT
v3.24.3

Taxes (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2024
Taxes |
Schedule of income tax expense | ​
​ | ​ | ​ | ​ | ​
​ | ​ | Six-month period ended
​ | ​ | June 30,
​ |  | 2024 |  | 2023
​ | ​ | (Unaudited)
Current income tax expense |  | 6,359,506 | ​ | 7,081,401
Deferred income tax expense |  | 574,006 | ​ | (308,832)
Adjustments to prior years’ current and deferred tax |  | (19,484) | ​ | (8,643)
Income tax expense |  | 6,914,028 | ​ | 6,763,926

X
- Definition The disclosure of detailed information about income tax expenses. + References No definition available. + Details
Name: | ec_DisclosureOfDetailedInformationAboutIncomeTaxExpensesTextBlock
Namespace Prefix: | ec_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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