XML 168 R87.htm IDEA: XBRL DOCUMENT
v3.20.1

Trade Receivables and Reseller Financing - Breakdown of Expected Loss on Doubtful Accounts (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | ---
Summary of trade receivables [line items] |  |
Trade receivables | R$ 3,689,500 | R$ 4,150,876
Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 404,886 | 385,080
Current [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 28,861 | 39,226
Less than 30 days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 1,456 | 4,094
From thirty 31 to 60 days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 1,625 | 3,754
From sixty one days to Ninety days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 3,749 | 5,533
From 91 to180 days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 23,698 | 46,783
More than 180 Days [member] | Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | R$ 345,497 | R$ 285,690

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