XML 125 R98.htm IDEA: XBRL DOCUMENT
v3.19.1

Trade Receivables and Reseller Financing - Breakdown of Estimated Losses on Doubtful Accounts (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | ---
Summary of trade receivables [line items] |  |
Reseller financing | R$ (715,530) | R$ (570,259)
Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 139,699 | 104,977
Current [member] | Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 26,982 | 635
Less than 30 days [member] | Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 1,250 | 189
From thirty 31 to 60 days [member] | Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 1,642 | 86
From sixty one days to Ninety days [member] | Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 1,131 | 63
From 91 to180 days [member] | Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 12,176 | 1,951
More than 180 Days [member] | Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | R$ 96,518 | R$ 102,053

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

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_CurrentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ugp_LessThanThirtyDaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ugp_FromThirtyOneDaysToSixtyDaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ugp_FromSixtyOneDaysToNinetyDaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ugp_From91To180DaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ugp_MoreThanOneEightyDaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |