XML 115 R96.htm IDEA: XBRL DOCUMENT
v3.23.1

Recoverable taxes - Additional Information (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2022 | Dec. 31, 2021
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes | R$ 3,783,271 | R$ 2,108,025
IRPJ and CSLL [member] | Top of range [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Realization of tax credit period | 5 years |
Tax [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes | R$ 1,312,990 | 893,206
Tax [member] | Top of range [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Realization of tax credit period | 5 years |
PIS and COFINS (State VAT) [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes | R$ 2,410,736 | 1,177,513
Subsidiaries Ipiranga Produtos de Petróleo S.A. (“IPP”), Bahiana Distribuidora de Gás Ltda. (“Bahiana”), Cia. Ultragaz, AMPM, Tropical and Iconic Lubrificantes S.A. (“Iconic”) [member] | Tax [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes | R$ 1,312,990 | 893,206
Subsidiaries Ipiranga Produtos de Petróleo S.A. (“IPP”), Tropical Transportes Ipiranga Ltda (“Tropical”), AMPM, Iconic and Ultragaz [member] | PIS and COFINS (State VAT) [member] | Top of range [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Realization of tax credit period | 5 years |
Subsidiaries [member] | Tax [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes reclassified to assets held for sale, net of provision for impairment losses | R$ 59,868 | R$ 48,502
Subsidiaries Ipiranga and Ultragaz [member] | PIS and COFINS (State VAT) [member] |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |
Recoverable taxes | R$ 971,373 |

X
- Definition The amount of receivables from taxes other than income tax. Income taxes include all domestic and foreign taxes that are based on taxable profits. Income taxes also include taxes, such as withholding taxes, that are payable by a subsidiary, associate or joint arrangement on distributions to the reporting entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ReceivablesFromTaxesOtherThanIncomeTax
Namespace Prefix: | ifrs-full_
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 The amount of realization period of tax credit. + References No definition available. + Details
Name: | ugp_RealizationOfTaxCreditPeriod
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of receivables from taxes other than income tax reclassified to assets held for sale, net of provision for impairment losses. + References No definition available. + Details
Name: | ugp_ReceivablesFromTaxesOtherThanIncomeTaxReclassifiedToAssetsHeldForSaleNetOfProvisionForImpairmentLosses
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ugp_TaxesAxis=ugp_IrpjAndCsll1Member
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: | ugp_TaxesAxis=ugp_ICMSStatevatMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_TaxesAxis=ugp_PisAndCofinsStateVATMember
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_SubsidiariesGroupFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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