XML 115 R89.htm IDEA: XBRL DOCUMENT
v3.20.1

Trade Receivables and Reseller Financing - Composition of Reseller Financing (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | ---
Summary of trade receivables [line items] |  |
Reseller financing | R$ 800,936 | R$ 715,530
Current | 436,188 | 367,262
Non-current | 364,748 | 348,268
Reseller Financing - Ipiranga [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 956,942 | 855,229
Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | R$ (156,006) | R$ (139,699)

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 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 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: | ugp_TradeReceivablesAxis=ugp_ResellerFinancingIpirangaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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