XML 111 R67.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Other operating (expenses) income (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2023
Other operating (expenses) income |
Schedule of other operating (expenses) income | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | 2023 |  | 2022 |  | 2021
Expense for legal provisions | ​ | (686,430) | ​ | (516,288) | ​ | (650,926)
Gain (loss) on sale of assets |  | 121,309 | ​ | (86,954) | ​ | (123,342)
Impairment loss of current assets |  | (95,902) | ​ | (101,871) | ​ | (83,773)
Other income |  | 234,892 | ​ | 149,258 | ​ | 785,297
​ |  | (426,131) | ​ | (555,855) | ​ | (72,744)
​

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

X
- Definition Disclosure of other operating income expense + References No definition available. + Details
Name: | ec_DisclosureOfOtherOperatingIncomeExpenseTableTextBlock
Namespace Prefix: | ec_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration