XML 93 R74.htm IDEA: XBRL DOCUMENT
v3.23.1

Basis of preparation and presentation of the consolidated financial statements and significant accounting policies - Additional Information (Detail) R$ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2022 BRL (R$) Installments | Dec. 31, 2021 BRL (R$) | Dec. 31, 2020 BRL (R$) | Dec. 31, 2019 BRL (R$)
Basis Of Presentation And Summary Of Significant Accounting Policies [line items] |  |  |  |
Statutory tax rates in Brazil | 34.00% | 34.00% | 34.00% |
Cumulative translation adjustments | R$ 0 | R$ 304,645 | R$ 231,596 | R$ 102,427
Average term of maturity of financial liabilities of customers | Installments | 50 |  |  |
Average rate of financial liabilities of customers | 13.70% |  |  |
Extrafarma [member] |  |  |  |
Basis Of Presentation And Summary Of Significant Accounting Policies [line items] |  |  |  |
Impairment loss of assets before tax effect | R$ 427,529 |  |  |
Deferred income and social contribution tax expense (benefit) on impairment loss of assets | 145,360 |  |  |
Net impairment loss of assets | R$ 282,169 |  |  |
IRPJ [member] |  |  |  |
Basis Of Presentation And Summary Of Significant Accounting Policies [line items] |  |  |  |
Statutory tax rates in Brazil | 25.00% |  |  |
CSLL [member] |  |  |  |
Basis Of Presentation And Summary Of Significant Accounting Policies [line items] |  |  |  |
Statutory tax rates in Brazil | 9.00% |  |  |
Bottom of range [member] |  |  |  |
Basis Of Presentation And Summary Of Significant Accounting Policies [line items] |  |  |  |
Terms of reseller financing | 12 months |  |  |
Top of range [member] |  |  |  |
Basis Of Presentation And Summary Of Significant Accounting Policies [line items] |  |  |  |
Terms of reseller financing | 60 months |  |  |
Reseller financing rate per month | 1.00% |  |  |
Weighted average [member] |  |  |  |
Basis Of Presentation And Summary Of Significant Accounting Policies [line items] |  |  |  |
Terms of reseller financing | 40 months |  |  |

X
- Definition The applicable income tax rate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph c -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_c_ii&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ApplicableTaxRate
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount recognised as a reduction of the carrying amount of an asset or cash-generating unit to its recoverable amount. [Refer: Carrying amount [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2022-03-24 -Paragraph 130 -Subparagraph d -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_130_d_ii&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2022-03-24 -Paragraph 130 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_130_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ImpairmentLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of impairment loss recognised in profit or loss. [Refer: Impairment loss; Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2022-03-24 -Paragraph 126 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_126_a&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2022-03-24 -Paragraph 129 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_129_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ImpairmentLossRecognisedInProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition A component of equity representing exchange differences on translation of financial statements recognised in other comprehensive income and accumulated in equity. [Refer: Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 21 -IssueDate 2022-03-24 -Paragraph 52 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=21&code=ifrs-tx-2022-en-r&anchor=para_52_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ReserveOfExchangeDifferencesOnTranslation
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Basis of presentation and summary of significant accounting policies. + References No definition available. + Details
Name: | ugp_BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of deferred income and social contribution tax expense (benefit) on impairment loss. + References No definition available. + Details
Name: | ugp_DeferredIncomeAndSocialContributionTaxExpenseBenefitOnImpairmentLoss
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of monthly installments as a contractual term for financial liabilities of customers. + References No definition available. + Details
Name: | ugp_NumberOfMonthlyInstallmentsForFinancialLiabilitiesOfCustomers
Namespace Prefix: | ugp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of reseller financing rate per month. + References No definition available. + Details
Name: | ugp_ResellerFinancingRatePerMonth
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The contract term of reseller financing. + References No definition available. + Details
Name: | ugp_TermsOfResellerFinancing
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average percentage will occur over the contractual term of financial liabilities of customers. + References No definition available. + Details
Name: | ugp_WeightedAveragePercentageOfFinancialLiabilitiesOfCustomers
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | ugp_TaxesAxis=ugp_IRPJMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_TaxesAxis=ugp_CSLLMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_WeightedAverageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |