XML 125 R106.htm IDEA: XBRL DOCUMENT
v3.23.1

Income and Social Contribution Taxes - Summary of Recovery of Deferred Tax Assets (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Summary of income and social contribution taxes [line items] |  |
Recovery of deferred tax assets | R$ 1,054,895 | R$ 688,181

X
- Definition The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. + References No definition available. + Details
Name: | ugp_DeferredIncomeAndSocialContributionTaxAssets
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Summary of income and social contribution taxes. + References No definition available. + Details
Name: | ugp_SummaryOfIncomeAndSocialContributionTaxesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration