XML 120 R93.htm IDEA: XBRL DOCUMENT
v3.19.1

Trade Receivables and Reseller Financing - Summary of of Trade Receivables, Gross of Estimated Losses on Doubtful Accounts (Detail) - BRL (R$) | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | ---
Summary of trade receivables [line items] |  |
Trade receivables, gross of estimated losses on doubtful accounts | R$ 4,535,956 | R$ 4,255,427
Current [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of estimated losses on doubtful accounts | 3,739,601 | 3,553,976
Less than 30 days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of estimated losses on doubtful accounts | 121,622 | 189,071
From thirty 31 to 60 days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of estimated losses on doubtful accounts | 53,864 | 39,314
From sixty one days to Ninety days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of estimated losses on doubtful accounts | 49,629 | 44,314
From 91 to180 days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of estimated losses on doubtful accounts | 84,920 | 74,037
More than 180 Days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of estimated losses on doubtful accounts | R$ 486,320 | R$ 354,715

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
- Definition The amount of trade receivables, gross of allowance for doubtful accounts. + References No definition available. + Details
Name: | ugp_TradeReceivablesGross
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_CurrentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ugp_LessThanThirtyDaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ugp_FromThirtyOneDaysToSixtyDaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ugp_FromSixtyOneDaysToNinetyDaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ugp_From91To180DaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ugp_MoreThanOneEightyDaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |