XML 96 R90.htm IDEA: XBRL DOCUMENT
v3.20.1

Trade Receivables and Reseller Financing - Additional Information (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2019
Bottom of range [member] |
Summary of trade receivables [line items] |
Terms of reseller financing | 12 months
Reseller financing rate per month | 0.00%
Top of range [member] |
Summary of trade receivables [line items] |
Terms of reseller financing | 60 months
Reseller financing rate per month | 1.00%
Average [member] |
Summary of trade receivables [line items] |
Terms of reseller financing | 40 months

X
- Definition Reseller financing rate per month. + References No definition available. + Details
Name: | ugp_ResellerFinancingRatePerMonth
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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 Terms of reseller financing. + References No definition available. + Details
Name: | ugp_TermsOfResellerFinancing
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

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

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