XML 119 R91.htm IDEA: XBRL DOCUMENT
v3.21.1

Trade Receivables and Reseller Financing - Breakdown of Expected Losses on Doubtful Accounts (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Summary of trade receivables [line items] |  |
Reseller financing | R$ (968,384) | R$ (800,936)
Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 197,011 | 156,006
Current [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 22,872 | 21,337
Less than 30 days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 785 | 2,519
From thirty 31 to 60 days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 1,812 | 1,063
From sixty one days to Ninety days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 2,397 | 1,313
From 91 to180 days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | 14,684 | 14,639
More than 180 Days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing | R$ 154,461 | R$ 115,135

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