XML 183 R164.htm IDEA: XBRL DOCUMENT
v3.23.1

Gain (loss) on disposal of property, plant and equipment and intangible assets - Additional information (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Gain (loss) on disposal of property, plant and equipment and intangible assets |  |  |
Gain (loss) on disposal of property, plant and equipment and intangible assets | R$ 169,289 | R$ 184,189 | R$ 85,455
Gain (loss) on disposal of Conectcar |  |  | R$ 85,455

X
- Definition The gains (losses) on disposals of investments. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 98 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_98_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_GainsLossesOnDisposalsOfInvestments
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The gains (losses) on disposals of non-current assets. [Refer: Non-current assets] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_GainsLossesOnDisposalsOfNoncurrentAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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