XML 124 R97.htm IDEA: XBRL DOCUMENT
v3.19.1

Trade Receivables and Reseller Financing - Breakdown of Reseller Financing, Gross 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, gross of estimated losses on doubtful accounts | R$ 855,229 | R$ 675,236
Current [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing, gross of estimated losses on doubtful accounts | 633,183 | 516,547
Less than 30 days [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing, gross of estimated losses on doubtful accounts | 11,262 | 11,868
From thirty 31 to 60 days [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing, gross of estimated losses on doubtful accounts | 14,869 | 7,177
From sixty one days to Ninety days [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing, gross of estimated losses on doubtful accounts | 9,377 | 3,883
From 91 to180 days [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing, gross of estimated losses on doubtful accounts | 20,783 | 13,775
More than 180 Days [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing, gross of estimated losses on doubtful accounts | R$ 165,755 | R$ 121,986

X
- Definition Reseller Financing Gross + 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
- 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: |