XML 152 R123.htm IDEA: XBRL DOCUMENT
v3.22.1

Investment - Summary of provision for short-term liabilities (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Investments accounted for using equity method [abstract] |  |
Ending balance | R$ 2,096 | R$ 0
Transfer to (from) provision for liabilities | (2,096) | 2,096
Balance as of December 31, 2020 | R$ 0 | R$ 2,096

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

X
- Definition The increase (decrease) in investments in joint ventures resulting from transfer to (from) provision for short-term liabilities. + References No definition available. + Details
Name: | ugp_IncreaseDecreaseThroughTransferToFromProvisionForShortTermLiabilitiesInvestmentsInJointVentures
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of non-current provision for short-term liabilities of joint venture. + References No definition available. + Details
Name: | ugp_NonCurrentProvisionForShortTermLiabilitiesOfJointVenture
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant