XML 82 R73.htm IDEA: XBRL DOCUMENT
v3.24.3

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 | Mar. 31, 2022 | Jun. 30, 2024 | Jun. 30, 2023 | Dec. 31, 2022 | Dec. 31, 2023
Trade and other receivables |  |  |  |  |  |  |
Contribution from Ministry of Finance and Public Credit |  |  |  | $ 12,957,299 |  |  | $ 26,346,530
Isa |  |  |  |  |  |  |
Trade and other receivables |  |  |  |  |  |  |
Gross accounts receivable |  |  |  | 2,221,991 |  |  | 2,279,637
Provision for expected losses, included in provision line for expected credit losses |  |  |  | 385,229 |  |  | 407,567
Net book value of accounts receivable included in others |  |  |  | $ 1,836,762 |  |  | $ 1,872,070
Ecopetrol |  |  |  |  |  |  |
Trade and other receivables |  |  |  |  |  |  |
Contribution from Ministry of Finance and Public Credit |  |  | $ 2,876,149 |  | $ 10,414,093 | $ 21,576,179 |
Refineria de Cartagena |  |  |  |  |  |  |
Trade and other receivables |  |  |  |  |  |  |
Contribution from Ministry of Finance and Public Credit | $ 1,894,202 | $ 2,543,206 |  |  |  |  |

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_RefineriaDeCartagenaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |