XML 99 R73.htm IDEA: XBRL DOCUMENT
v3.25.1

Trade receivables, reseller financing and other receivables - sale of subsidiaries (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2024 | Dec. 31, 2023
Summary of trade receivables [line items] |  |  |
Current |  | R$ 0 | R$ 924,364
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$ 0 | 726,195
Adjustment to present value - sale of investments | [2] | R$ 0 | (10,318)
Discount rate |  | 6.17% |
Extrafarma [member] |  |  |
Summary of trade receivables [line items] |  |  |
Receivables from sale of investments | [3] | R$ 0 | R$ 208,487
[1] | The balance related to the final installment of the sale of Oxiteno was received in April 2024.
[2] | The consideration for the sale of Oxiteno was recognized at present value using a discount rate of 6.17%, and fully paid up in April 2024.
[3] | Balance related to the second installment of the Extrafarma sale transaction, received in August 2024, monetarily adjusted by the CDI rate + 0.5% p.a.

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 2024-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_7&doctype=Standard -URIDate 2024-03-27 + 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: | dtr-types:percentItemType
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
- 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: |