XML 155 R92.htm IDEA: XBRL DOCUMENT
v3.20.1

Trade Receivables and Reseller Financing - Breakdown of Expected Losses on Doubtful Accounts (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)
Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 156,006 | 139,699
Current [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 21,337 | 26,982
Less than 30 days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 2,519 | 1,250
From thirty 31 to 60 days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 1,063 | 1,642
From sixty one days to Ninety days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 1,313 | 1,131
From 91 to180 days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 14,639 | 12,176
More than 180 Days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | R$ 115,135 | R$ 96,518

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_ExpectedLossesOnDoubtfulAccountsMember
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: |