XML 115 R87.htm IDEA: XBRL DOCUMENT
v3.21.1

Trade Receivables and Reseller Financing - Breakdown of Expected Loss on Doubtful Accounts (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Summary of trade receivables [line items] |  |
Trade receivables | R$ 3,391,122 | R$ 3,689,500
Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 382,096 | 404,886
Current [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 21,219 | 28,861
Less than 30 days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 2,154 | 1,456
From thirty 31 to 60 days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 1,751 | 1,625
From sixty one days to Ninety days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 2,233 | 3,749
From 91 to180 days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 13,378 | 23,698
More than 180 Days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | R$ 341,361 | R$ 345,497

X
- Definition The amount due from customers for goods and services sold. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2019-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_78_b&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_TradeReceivables
Namespace Prefix: | ifrs-full_
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: |