XML 127 R99.htm IDEA: XBRL DOCUMENT
v3.21.1

Taxes to Recover - Additional Information (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes | R$ 2,519,658 | R$ 1,889,695
Profit or loss on provision | 746,962 | 338,110
ICMS [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes | 1,129,325 | 872,670
PIS and COFINS [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes | R$ 1,297,029 | 930,570
Oxiteno S.A. and Oxiteno Nordeste [member] | Top of range [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Realization of tax credit period | 5 years |
Other Subsidiaries [member] | Top of range [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Realization of tax credit period | 2 years |
Subsidiaries Oxiteno S.A., Empresa Carioca de Produtos Químicos S.A. (“EMCA”) e Oleoquímica Indústria e Comércio de Produtos Químicos Ltda. (“Oleoquímica”) [member] | ICMS [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes | R$ 195,037 | 151,393
Subsidiaries Ipiranga Produtos de Petróleo S.A. (“IPP”), Bahiana Distribuidora de Gás Ltda. (“Bahiana”), Ultragaz, AMPM, Iconic Lubrificantes S.A. (“Iconic”) [member] | ICMS [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes | 754,882 | 563,565
Subsidiary Extrafarma [member] | ICMS [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes | 179,405 | 157,713
Subsidiaries Extrafarma, Tropical Transportes Ipiranga Ltda (“Tropical”), EMCA, Oleoquímica and Oxiteno S.A. [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes | 645,978 | 391,544
Brazilian Federal Revenue Service [member] | PIS and COFINS [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes | R$ 651,051 | R$ 539,026

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 Profit loss on provision for tax civil and labor risks. + References No definition available. + Details
Name: | ugp_ProfitLossOnProvisionForTaxCivilAndLaborRisks
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Realization of tax credit period. + References No definition available. + Details
Name: | ugp_RealizationOfTaxCreditPeriod
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The excess of amount paid for current tax in respect of current and prior periods over the amount due for those periods. Current tax is the amount of income taxes payable (recoverable) in respect of the taxable profit (tax loss) for a period. + References No definition available. + Details
Name: | ugp_RecoverableTaxes
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_OxitenoSAAndOxitenoNordesteMember
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_SignificantInvestmentsInSubsidiariesAxis=ugp_OtherSubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_SubsidiariesGroupOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_SubsidiariesGroupTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_SubsidiariesGroupThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_SubsidiariesGroupFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_BrazilianFederalRevenueServiceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |