XML 131 R87.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Trade and other receivables - Additional Information (Details) - COP ($) $ in Millions | 1 Months Ended | 3 Months Ended | 6 Months Ended | 9 Months Ended | 12 Months Ended
--- | --- | --- | --- | --- | ---
Aug. 31, 2023 | Mar. 31, 2023 | Dec. 31, 2022 | Sep. 30, 2022 | Dec. 31, 2023 | Sep. 30, 2022 | Dec. 31, 2023 | Dec. 31, 2022
Trade and other receivables |  |  |  |  |  |  |  |
Contribution from Ministry of Finance and Public Credit |  |  |  |  |  |  | $ 26,346,530 | $ 18,262,487
Isa |  |  |  |  |  |  |  |
Trade and other receivables |  |  |  |  |  |  |  |
Gross accounts receivable |  |  | $ 2,481,530 |  | $ 2,279,637 |  | 2,279,637 | 2,481,530
Provision for expected losses, included in provision line for expected credit losses |  |  | 475,936 |  | 407,567 |  | 407,567 | 475,936
Net book value of accounts receivable included in others |  |  | 2,005,594 |  | 1,872,070 |  | $ 1,872,070 | $ 2,005,594
Ecopetrol |  |  |  |  |  |  |  |
Trade and other receivables |  |  |  |  |  |  |  |
Contribution from Ministry of Finance and Public Credit |  | $ 2,876,149 | 6,788,385 | $ 4,639,779 | $ 21,576,179 |  |  |
Reficar |  |  |  |  |  |  |  |
Trade and other receivables |  |  |  |  |  |  |  |
Contribution from Ministry of Finance and Public Credit | $ 1,894,202 |  | $ 6,114,489 |  |  | $ 719,834 |  |

X
- Definition Represents the amount of gross account receivable included in others. + References No definition available. + Details
Name: | ec_GrossAccountReceivableClassifiedAsOtherCurrentReceivables
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Represents the amount of net book value of these accounts receivable after provision. + References No definition available. + Details
Name: | ec_NetBookValueAccountsReceivableClassifiedAsOther
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Represents the amount of provision for expected losses which is included in provision line for expected credit losses. + References No definition available. + Details
Name: | ec_ProvisionForExpectedLossesIncludedInProvisionLineForExpectedCreditLosses
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition The amount of income recognised in relation to government grants. [Refer: Government grants] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 20 -IssueDate 2023-01-01 -Paragraph 39 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=20&code=ifrs-tx-2023-en-r&anchor=para_39_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_RevenueFromGovernmentGrants
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ec_IsaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_EcopetrolMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ec_ReficarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |