XML 194 R86.htm IDEA: XBRL DOCUMENT
v3.20.1

Trade Receivables and Reseller Financing - Summary of of Trade Receivables, Gross of Expected Losses on Doubtful Accounts (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | ---
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | R$ 4,094,386 | R$ 4,535,956
Current [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | 3,199,315 | 3,739,601
Less than 30 days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | 159,350 | 121,622
From thirty 31 to 60 days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | 27,320 | 53,864
From sixty one days to Ninety days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | 12,245 | 49,629
From 91 to180 days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | 61,489 | 84,920
More than 180 Days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | R$ 634,667 | R$ 486,320

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