XML 96 R70.htm IDEA: XBRL DOCUMENT
v3.25.1

Trade receivables, reseller financing and other receivables - Composition of Reseller Financing (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | --- | ---
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | R$ (472,594) | R$ (468,850) | R$ (496,040) | R$ (559,633)
Reseller financing | 1,278,024 | 1,055,503 |  |
Current | 511,979 | 504,862 |  |
Non-current | 766,045 | 550,641 |  |
Reseller Financing - Ipiranga [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Reseller financing, gross of loss allowance for expected credit losses | 1,404,883 | 1,189,886 |  |
Allowance for expected credit losses | R$ (126,859) | R$ (134,383) |  |

X
- Definition The amount of current reseller financing. + References No definition available. + Details
Name: | ugp_CurrentResellerFinancing
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of non-current reseller financing. + References No definition available. + Details
Name: | ugp_NonCurrentResellerFinancing
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of reseller financing current and noncurrent. + References No definition available. + Details
Name: | ugp_ResellerFinancing
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of reseller financing, gross of allowance for doubtful accounts. + References No definition available. + Details
Name: | ugp_ResellerFinancingGross
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 allowance for credit loss for trade receivables and reseller financing. + References No definition available. + Details
Name: | ugp_TradeReceivablesAndResellerFinancingAllowanceForCreditLoss
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ugp_TradeReceivablesAxis=ugp_ResellerFinancingIpirangaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |