XML 121 R94.htm IDEA: XBRL DOCUMENT
v3.19.1

Trade Receivables and Reseller Financing - Breakdown of Estimated Loss on Doubtful Accounts (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | ---
Summary of trade receivables [line items] |  |
Trade Receivables | R$ (4,150,876) | R$ (3,907,626)
Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade Receivables | 385,080 | 347,801
Current [member] | Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade Receivables | 39,226 | 27,104
Less than 30 days [member] | Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade Receivables | 4,094 | 7,672
From thirty 31 to 60 days [member] | Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade Receivables | 3,754 | 2,794
From sixty one days to Ninety days [member] | Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade Receivables | 5,533 | 2,173
From 91 to180 days [member] | Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade Receivables | 46,783 | 20,500
More than 180 Days [member] | Estimated losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade Receivables | R$ 285,690 | R$ 287,558

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 2018-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2018-03-01&anchor=para_78_b&doctype=Standard -URIDate 2018-03-16 + 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_EstimatedLossesOnDoubtfulAccountsMember
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: |