XML 102 R93.htm IDEA: XBRL DOCUMENT
v3.24.3

Provisions for employee benefits (Details) - COP ($) $ in Millions | Jun. 30, 2024 | Dec. 31, 2023
--- | --- | ---
Post-employment benefits |  |
Post-employment benefits | $ 18,561,403 | $ 18,272,713
Current | 2,859,345 | 3,059,204
Non-current | 15,702,058 | 15,213,509
Health |  |
Post-employment benefits |  |
Post-employment benefits | 11,517,262 | 11,234,939
Pension |  |
Post-employment benefits |  |
Post-employment benefits | 4,272,486 | 4,013,542
Education |  |
Post-employment benefits |  |
Post-employment benefits | 484,188 | 490,877
Bonds |  |
Post-employment benefits |  |
Post-employment benefits | 450,244 | 424,199
Other plans |  |
Post-employment benefits |  |
Post-employment benefits | 162,428 | 171,786
Termination benefits - Voluntary retirement plan |  |
Post-employment benefits |  |
Post-employment benefits | 761,023 | 828,007
Post employment and termination benefits |  |
Post-employment benefits |  |
Post-employment benefits | 17,647,631 | 17,163,350
Social benefits and salaries |  |
Post-employment benefits |  |
Post-employment benefits | $ 913,772 | $ 1,109,363

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