XML 92 R73.htm IDEA: XBRL DOCUMENT
v3.23.1

Operations - Operational impacts (Details Textuals) $ in Millions |  |  |  |  | 12 Months Ended
--- | --- | --- | --- | --- | ---
Oct. 01, 2022 BRL (R$) | Sep. 12, 2022 BRL (R$) | Aug. 01, 2022 BRL (R$) | Aug. 16, 2021 BRL (R$) | Aug. 16, 2021 USD ($) | Dec. 31, 2022 USD ($) BRL (R$) R$ / shares
Brazilian real per US dollar [member] |  |  |  |  |  |
Disclosure of operating segments [line items] |  |  |  |  |  |
Closing foreign exchange rate (R$ / Per_USD) |  |  |  |  |  | 5.2177
Oxiteno S. A. Industria e Comercio [member] |  |  |  |  |  |
Disclosure of operating segments [line items] |  |  |  |  |  |
Final payment to be made in disposal group transaction | $ |  |  |  |  |  | $ 150
Oxiteno S. A. Industria e Comercio [member] | Discontinued operations [member] | Indorama Ventures PLC |  |  |  |  |  |
Disclosure of operating segments [line items] |  |  |  |  |  |
Amount to be paid at closing date in disposal group transaction |  |  |  | R$ 5,448,000,000 | $ 1,150 |
Variations in working capital and net debt position in disposal group transaction |  |  |  | 834,000,000 | 176 |
Initial payment made in disposal group transaction |  |  |  | R$ 6,282,000,000 | 1,326 |
Final payment to be made in disposal group transaction | $ |  |  |  |  | $ 150 |
Final payment due date |  |  |  | April 2024 | April 2024 |
Proportion of ownership interest in subsidiary (as a percent) |  |  |  | 100.00% | 100.00% |
Oxiteno S. A. Industria e Comercio [member] | Discontinued operations [member] | Indorama Ventures PLC | Brazilian real per US dollar [member] |  |  |  |  |  |
Disclosure of operating segments [line items] |  |  |  |  |  |
Closing foreign exchange rate (R$ / Per_USD) | R$ / shares |  |  |  |  |  | 4.7372
Extrafarma [member] |  |  |  |  |  |
Disclosure of operating segments [line items] |  |  |  |  |  |
Borrowings, interest rate basis |  |  |  |  |  | DI rate + 0.5% p.a.
Extrafarma [member] | Discontinued operations [member] |  |  |  |  |  |
Disclosure of operating segments [line items] |  |  |  |  |  |
Aggregate sale price of subsidiary |  |  | R$ 700,000,000 |  |  |
Amount to be paid at closing date in disposal group transaction |  |  | 737,700,000 |  |  |
Variations in working capital and net debt position in disposal group transaction |  |  | 37,700,000 |  |  |
Initial payment made in disposal group transaction |  |  | R$ 372,300,000 |  |  |
Number of remaining installments |  |  | 2 |  |  |
Proportion of ownership interest in subsidiary (as a percent) |  |  | 100.00% |  |  |
Extrafarma [member] | Discontinued operations [member] | Empreendimentos Pague Menos S.A [Member] |  |  |  |  |  |
Disclosure of operating segments [line items] |  |  |  |  |  |
Initial payment made in disposal group transaction |  |  | R$ 365,400,000 |  |  |
Final payment to be made in disposal group transaction |  |  | R$ 182,700,000 |  |  |
Final payment due date |  |  | August 2024 |  |  |
Borrowings, interest rate basis |  |  | DI + 0,5% p.a. |  |  |
Extrafarma [member] | Discontinued operations [member] | Shareholders [Member] |  |  |  |  |  |
Disclosure of operating segments [line items] |  |  |  |  |  |
Initial payment made in disposal group transaction |  |  | R$ 6,900,000 |  |  |
Ultragaz Comercial Ltda [member] | Stella GD Intermediação de Geração Distribuída de Energia Ltda [member] |  |  |  |  |  |
Disclosure of operating segments [line items] |  |  |  |  |  |
Total minimum acquisition value | R$ 63,000,000 | R$ 63,000,000 |  |  |  |
Consideration in cash | R$ 7,560,000 | R$ 7,600,000 |  |  |  |

X
- Definition The basis (reference rate) used for calculation of the interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_7&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_BorrowingsInterestRateBasis
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The spot exchange rate at the end of the reporting period. Exchange rate is the ratio of exchange for two currencies. Spot exchange rate is the exchange rate for immediate delivery. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ClosingForeignExchangeRate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of consideration paid or received in respect of both obtaining and losing control of subsidiaries or other businesses. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 40 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_40_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ConsiderationPaidReceived
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfOperatingSegmentsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The portion of consideration paid or received, consisting of cash and cash equivalents, in respect of both obtaining and losing control of subsidiaries or other businesses. [Refer: Subsidiaries [member]; Cash and cash equivalents; Consideration paid (received)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 40 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_40_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_PortionOfConsiderationPaidReceivedConsistingOfCashAndCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The proportion of ownership interest in a subsidiary attributable to the entity. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2022-03-24 -Paragraph 17 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2022-03-24 -Paragraph 16 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph 19B -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_19B_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInSubsidiary
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of aggregate sale price of subsidiary. + References No definition available. + Details
Name: | ugp_AggregateSalePriceOfSubsidiary
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount to be paid at closing date in disposal group transaction. + References No definition available. + Details
Name: | ugp_AmountToBePaidAtClosingDateInDisposalGroupTransaction
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of changes in working capital and net debt position in disposal group transaction. + References No definition available. + Details
Name: | ugp_ChangesInWorkingCapitalAndNetDebtPositionInDisposalGroupTransaction
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The description of final payment due date in disposal group transaction. + References No definition available. + Details
Name: | ugp_DescriptionOfFinalPaymentDueDate
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount to be made as final payment in disposal group transaction. + References No definition available. + Details
Name: | ugp_FinalPaymentToBeMadeInDisposalGroupTransaction
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of initial payment made in disposal group transaction. + References No definition available. + Details
Name: | ugp_InitialPaymentMadeInDisposalGroupTransaction
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of remaining installments. + References No definition available. + Details
Name: | ugp_NumberOfRemainingInstallments
Namespace Prefix: | ugp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | ifrs-full_HedgingInstrumentsAxis=ugp_BrazilianRealPerUSDollarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_ContinuingAndDiscontinuedOperationsAxis=ifrs-full_DiscontinuedOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=ugp_IndoramaVenturesPlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_CounterpartyNameAxis=ugp_EmpreendimentosPagueMenosSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=ugp_ShareholdersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_StellaGroupMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |