XML 104 R79.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Inventories - Movements in the Provision for Losses (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Classes of current inventories [abstract] |  |  |
Provisions for losses, beginning | R$ 21,926 | R$ 13,078 | R$ 40,993
Addition to provision for adjustment to realizable value |  | 10,028 | 5,974
Reversal of provision for adjustment to realizable value | (6,594) |  |
Reversal of provision for obsolescence and other losses | (8,301) | (1,180) | (5,184)
Reclassification to assets held for sale |  |  | (28,705)
Provisions for losses, ending | R$ 7,031 | R$ 21,926 | R$ 13,078

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 Additions (reversals) to net realizable value adjustment regarding provision for loss on the value of inventories. + References No definition available. + Details
Name: | ugp_AdditionsToNetRealizableValueAdjustment
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The decrease in provisions for losses of inventories resulting from classification as held for sale or inclusion in a disposal group classified as held for sale. + References No definition available. + Details
Name: | ugp_DecreaseThroughClassifiedAsHeldForSaleProvisionForLossesInventories
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The decrease in provisions for losses of inventories resulting from reversals to net realizable value adjustment. + References No definition available. + Details
Name: | ugp_DecreaseThroughReversalsToNetRealizableValueAdjustmentProvisionsForLossesInventories
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Reversals of provision obsolescence and other losses regarding provision for loss on the value of inventories. + References No definition available. + Details
Name: | ugp_ReversalsOfObsolescenceAndOtherLosses
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration