XML 102 R77.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Trade receivables, reseller financing and other receivables - sale of subsidiaries (Detail) R$ in Thousands, $ in Millions | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2023 BRL (R$) Installments | Dec. 31, 2023 USD ($) | Dec. 31, 2022 BRL (R$)
Summary of trade receivables [line items] |  |  |  |
Total sale of investments |  | R$ 924,364 |  | R$ 1,096,565
Current |  | 924,364 |  | 184,754
Non-current |  | R$ 0 |  | 911,811
Borrowings, interest rate basis |  | CDI rate + 0.5% p.a. |  |
Oxiteno S. A. Industria e Comercio [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Receivables from sale of investments | [1] | R$ 726,195 |  | 782,655
Adjustment to present value - sale of investments | [2] | R$ (10,318) |  | (55,598)
Discount rate |  | 6.1741% |  |
Oxiteno S. A. Industria e Comercio [member] | Discontinued operations [member] | Indorama Ventures PLC |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Final payment to be received in disposal group transaction | $ |  |  | $ 150 |
Extrafarma [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Receivables from sale of investments | [3] | R$ 208,487 |  | R$ 369,508
Number of installments in disposal group transaction | Installments |  | 2 |  |
[1] | Refers to the final installment of the sale of Oxiteno, in the amount of USD 150 million, received in April 2024. In May 2022 Ultrapar 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, 2023, includes present value realization and exchange variation of transaction closing date until December 31, 2023.
[3] | Refers to part of the payment of the Extrafarma sale transaction, in two installments of equal value, being the first settled in August 2023, and the second maturing in August 2024, monetarily adjusted by the CDI 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 parent Ultrapar.

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 2023-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard -URIDate 2023-03-23 + 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 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 received as final payment in disposal group transaction. + References No definition available. + Details
Name: | ugp_FinalPaymentToBeReceivedInDisposalGroupTransaction
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_ContinuingAndDiscontinuedOperationsAxis=ifrs-full_DiscontinuedOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=ugp_IndoramaVenturesPlcMember
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: |