XML 127 R98.htm IDEA: XBRL DOCUMENT
v3.22.1

Inventories - Breakdown of Provision for Losses Related to Inventories (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | --- | --- | ---
Classes of current inventories [abstract] |  |  |  |
Net realizable value adjustment | R$ 8,269 | R$ 17,488 |  |
Obsolescence and other losses | 4,809 | 23,505 |  |
Total | R$ 13,078 | R$ 40,993 | R$ 40,724 | R$ 42,587

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

X
- Definition Net realizable value adjustment on the value of inventories. + References No definition available. + Details
Name: | ugp_NetRealizableValueAdjustment
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Obsolescence and other losses on the value of inventories. + References No definition available. + Details
Name: | ugp_ObsolescenceAndOtherLosses
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of accumulated provision for losses of inventories. + References No definition available. + Details
Name: | ugp_ProvisionForLossesInventories
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant