XML 143 R114.htm IDEA: XBRL DOCUMENT
v3.22.1

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

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