XML 109 R90.htm IDEA: XBRL DOCUMENT
v3.23.1

Trade receivables, reseller financing and other receivables - sale of subsidiaries (Detail) R$ in Thousands, $ in Millions | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2022 USD ($) Installments | Dec. 31, 2022 BRL (R$) | Dec. 31, 2021 BRL (R$)
Summary of trade receivables [line items] |  |  |  |
Total sale of investments |  |  | R$ 1,096,565 |
Current |  |  | 184,754 | R$ 0
Non-current |  |  | 911,811 | R$ 0
Oxiteno S. A. Industria e Comercio [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Receivables from sale of investments | [1] |  | 782,655 |
Adjustment to present value - sale of investments | [2] |  | (55,598) |
Final payment to be made in disposal group transaction | $ |  | $ 150 |  |
Discount rate |  | 6.1741% |  |
Extrafarma [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Receivables from sale of investments | [3] |  | 369,508 |
Number of installments in disposal group transaction | Installments |  | 2 |  |
Amount per installments in disposal group transaction |  |  | R$ 184,754 |
Borrowings, interest rate basis |  | DI rate + 0.5% p.a. |  |
[1] | Refers to the final installment of the sale of Oxiteno, in amount of USD 150 million, due in 2024. In May 2022, the Company made an onerous assignment, without right of recourse and co-obligation, of the receivable from the sale of Oxiteno to Ultrapar International.
[2] | The consideration for the sale of Oxiteno was recognized at present value using a discount rate of 6.1741%. The amount as of December 31 includes present value realization and exchange variation of the transaction closing date until December 31, 2022.
[3] | Refer to the sale of Extrafarma, which will be paid in two installments of R$ 184,754, maturing in August 2023 and August 2024, monetarily adjusted by the DI rate + 0.5% p.a. In December 2022, the subsidiary IPP made an onerous assignment, without right of recourse and co-obligation, of the receivable from the sale of Extrafarma to the Company.

X
- Definition The basis (reference rate) used for calculation of the interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_7&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_BorrowingsInterestRateBasis
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of adjustment to present value of receivables arising from the sale of investments. + References No definition available. + Details
Name: | ugp_AdjustmentToPresentValueOfReceivablesFromSaleOfInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount per installment to be paid in disposal group transaction. + References No definition available. + Details
Name: | ugp_AmountPerInstallmentsInDisposalGroupTransaction
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of current receivables arising from the sale of investments. + References No definition available. + Details
Name: | ugp_CurrentReceivablesFromSaleOfInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The discount rate used to extrapolate the projections. + References No definition available. + Details
Name: | ugp_DiscountRate
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount to be made as final payment in disposal group transaction. + References No definition available. + Details
Name: | ugp_FinalPaymentToBeMadeInDisposalGroupTransaction
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of non-current receivables arising from the sale of investments. + References No definition available. + Details
Name: | ugp_NonCurrentReceivablesFromSaleOfInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The number of installments in disposal group transaction during period. + References No definition available. + Details
Name: | ugp_NumberOfInstallmentsInDisposalGroupTransaction
Namespace Prefix: | ugp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of receivables arising from the sale of investments. + References No definition available. + Details
Name: | ugp_ReceivablesFromSaleOfInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Summary of trade receivables. + References No definition available. + Details
Name: | ugp_SummaryOfTradeReceivablesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of total receivables arising from the sale of investments. + References No definition available. + Details
Name: | ugp_TotalSaleOfInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_OxitenoIndustriaComercioMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_ExtrafarmaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |