XML 184 R140.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Provisions for employees' benefits - Maturity of benefit obligation (Details) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 COP ($)
2024 |
Disclosure of defined benefit plans |
payment of post-employment obligations | $ 1,976,751
2024 | Pension and bonds |
Disclosure of defined benefit plans |
payment of post-employment obligations | 1,293,410
2024 | Other benefits |
Disclosure of defined benefit plans |
payment of post-employment obligations | 683,341
2025 |
Disclosure of defined benefit plans |
payment of post-employment obligations | 2,036,511
2025 | Pension and bonds |
Disclosure of defined benefit plans |
payment of post-employment obligations | 1,327,478
2025 | Other benefits |
Disclosure of defined benefit plans |
payment of post-employment obligations | 709,033
2026 |
Disclosure of defined benefit plans |
payment of post-employment obligations | 2,084,362
2026 | Pension and bonds |
Disclosure of defined benefit plans |
payment of post-employment obligations | 1,342,616
2026 | Other benefits |
Disclosure of defined benefit plans |
payment of post-employment obligations | 741,746
2027 |
Disclosure of defined benefit plans |
payment of post-employment obligations | 2,112,590
2027 | Pension and bonds |
Disclosure of defined benefit plans |
payment of post-employment obligations | 1,336,802
2027 | Other benefits |
Disclosure of defined benefit plans |
payment of post-employment obligations | 775,788
2029 |
Disclosure of defined benefit plans |
payment of post-employment obligations | 2,168,648
2029 | Pension and bonds |
Disclosure of defined benefit plans |
payment of post-employment obligations | 1,351,056
2029 | Other benefits |
Disclosure of defined benefit plans |
payment of post-employment obligations | 817,592
2029 |
Disclosure of defined benefit plans |
payment of post-employment obligations | 11,504,859
2029 | Pension and bonds |
Disclosure of defined benefit plans |
payment of post-employment obligations | 6,893,350
2029 | Other benefits |
Disclosure of defined benefit plans |
payment of post-employment obligations | $ 4,611,509

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfDefinedBenefitPlansLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The estimate of the expected contributions to be made to a defined benefit plan for the next annual reporting period. [Refer: Defined benefit plans [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 147 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_147_b&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 148 -Subparagraph d -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_148_d_iii&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_EstimateOfContributionsExpectedToBePaidToPlan
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ec_PensionAndPensionBondsMember
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_MaturityAxis=ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ec_LaterThanFiveYearsAndNotLaterThanSixYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ec_LaterThanSixYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |