XML 106 R77.htm IDEA: XBRL DOCUMENT
v3.22.1

Presentation of Financial Statements and Summary of Significant Accounting Policies - Summary of difference between the lease obligation disclosed under IAS 17 To IFRS 16 (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | --- | --- | ---
Disclosure of Difference Between the Lease Obligation Disclosed Under IAS Seventeen to IFRS 16 [Line Items] |  |  |  |
Leases payable recognized on January 1, 2019 | R$ 1,348,311 | R$ 1,833,288 | R$ 1,588,673 | R$ 46,066

X
- Definition The amount of liabilities related to the entity's leases. Lease is a contract, or part of a contract, that conveys the right to use an underlying asset for a period of time in exchange for consideration. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2021-01-01 -Paragraph 47 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&anchor=para_47_b&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_LeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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