XML 126 R98.htm IDEA: XBRL DOCUMENT
v3.21.1

Taxes to Recover - Summary of Recoverable Income Tax and Social Contribution Taxes (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Current | R$ 366,080 | R$ 325,343
Non-current | 261,205 | 104,947
IRPJ and CSLL [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable and social contribution taxes | R$ 627,285 | R$ 430,290

X
- Definition The amount of current recoverable income and social contribution taxes. + References No definition available. + Details
Name: | ugp_CurrentRecoverableIncomeAndSocialContributionTaxes
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] + References No definition available. + Details
Name: | ugp_DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Non-current recoverable income and social contribution taxes. + References No definition available. + Details
Name: | ugp_NonCurrentRecoverableIncomeAndSocialContributionTaxes
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Recoverable and social contribution taxes. + References No definition available. + Details
Name: | ugp_RecoverableAndSocialContributionTaxes
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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