XML 122 R95.htm IDEA: XBRL DOCUMENT
v3.19.1

Trade Receivables and Reseller Financing - Composition of Reseller Financing (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2018 | Dec. 31, 2017 | Jan. 01, 2017
--- | --- | --- | ---
Summary of trade receivables [line items] |  |  |
Reseller financing | R$ 715,530 | R$ 570,259 |
Current | 367,262 | 286,569 | R$ 211,055
Non-current | 348,268 | 283,690 | R$ 177,484
Reseller Financing - Ipiranga [member] |  |  |
Summary of trade receivables [line items] |  |  |
Reseller financing | 855,229 | 675,236 |
Estimated losses on doubtful accounts [member] |  |  |
Summary of trade receivables [line items] |  |  |
Reseller financing | R$ (139,699) | R$ (104,977) |

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