XML 125 R97.htm IDEA: XBRL DOCUMENT
v3.21.1

Taxes to Recover - Summary of estimated recovery of PIS and COFINS credit (Detail) - PIS and COFINS [member] R$ in Thousands | Dec. 31, 2020 BRL (R$)
--- | ---
Disclosure Of Estimated Recovery Of ICMS Assets [Line Items] |
Estimated recovery of PIS and COFINS credits | R$ 1,297,029
Up to 1 Year |
Disclosure Of Estimated Recovery Of ICMS Assets [Line Items] |
Estimated recovery of PIS and COFINS credits | 528,999
From 1 to 2 Years |
Disclosure Of Estimated Recovery Of ICMS Assets [Line Items] |
Estimated recovery of PIS and COFINS credits | 405,998
From 2 to 3 Years |
Disclosure Of Estimated Recovery Of ICMS Assets [Line Items] |
Estimated recovery of PIS and COFINS credits | 178,049
From 3 to 5 Years |
Disclosure Of Estimated Recovery Of ICMS Assets [Line Items] |
Estimated recovery of PIS and COFINS credits | R$ 183,983

X
- Definition Disclosure Of Estimated Recovery Of ICMS Assets. + References No definition available. + Details
Name: | ugp_DisclosureOfEstimatedRecoveryOfIcmsAssetsLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Estimated recovery of program of social integration and contribution for the financing of social security credits. + References No definition available. + Details
Name: | ugp_EstimatedRecoveryOfProgramOfSocialIntegrationContributionForFinancingOfSocialSecurityCredits
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ugp_TaxesAxis=ugp_PisAndCofinsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_NotLaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanThreeYearsAndNotLaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |