XML 114 R86.htm IDEA: XBRL DOCUMENT
v3.21.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, 2020 | Dec. 31, 2019
--- | --- | ---
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | R$ 3,773,218 | R$ 4,094,386
Current [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | 2,963,163 | 3,199,315
Less than 30 days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | 124,606 | 159,350
From thirty 31 to 60 days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | 27,970 | 27,320
From sixty one days to Ninety days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | 21,389 | 12,245
From 91 to180 days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | 47,169 | 61,489
More than 180 Days [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of expected losses on doubtful accounts | R$ 588,921 | R$ 634,667

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