XML 177 R133.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Provisions for employees' benefits (Details) - COP ($) $ in Millions | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Post-employment benefits |  |
Post-employment benefits | $ 18,272,713 | $ 12,965,239
Current | 3,059,204 | 2,753,697
Non-current | 15,213,509 | 10,211,542
Healthcare |  |
Post-employment benefits |  |
Post-employment benefits | 11,234,939 | 8,140,648
Pension |  |
Post-employment benefits |  |
Post-employment benefits | 4,013,542 | 2,073,562
Education |  |
Post-employment benefits |  |
Post-employment benefits | 490,877 | 405,769
Bonds |  |
Post-employment benefits |  |
Post-employment benefits | 424,199 | 399,114
Other plans |  |
Post-employment benefits |  |
Post-employment benefits | 158,644 | 115,136
Termination benefits - Voluntary retirement plan |  |
Post-employment benefits |  |
Post-employment benefits | 828,007 | 772,133
Post employment and termination benefits |  |
Post-employment benefits |  |
Post-employment benefits | 17,150,208 | 11,906,362
Social benefits and salaries |  |
Post-employment benefits |  |
Post-employment benefits | 1,109,363 | 970,598
Other Employment Benefits |  |
Post-employment benefits |  |
Post-employment benefits | $ 13,142 | $ 88,279

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

X
- Definition The amount of current provisions for employee benefits. [Refer: Provisions for employee benefits] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 78 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_d&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_CurrentProvisionsForEmployeeBenefits
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of non-current provisions for employee benefits. [Refer: Provisions for employee benefits] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 78 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_d&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NoncurrentProvisionsForEmployeeBenefits
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of provisions for employee benefits. [Refer: Employee benefits expense; Provisions] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 78 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_d&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ProvisionsForEmployeeBenefits
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ec_HealthcareMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ec_PensionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ec_EducationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ec_BondMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ec_OtherBenefitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ec_TerminationBenefitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ec_PostEmploymentAndTerminationBenefitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ec_SocialBenefitsAndSalariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ec_OtherEmploymentBeneftsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |