XML 233 R204.htm IDEA: XBRL DOCUMENT
v3.22.1

Risks and Financial Instruments - Changes in exchange rate (Detail) - Scenario Base [member] R$ in Thousands | Dec. 31, 2021 BRL (R$)
--- | ---
Currency swaps receivable in U.S. dollars |
U.S. Dollar / Real swaps | R$ 137,304
Debts / firm commitments in dollars | (137,301)
Net effect | 3
Currency swaps payable in U.S. dollars |
Real / U.S. Dollar swaps | 49,935,747
Gross margin of Oxiteno/Ipiranga | (49,935,747)
Net effect |
Cash Flow Hedge |
Cash Flow Hedge | 528,360
Debts | (528,360)
Cash Flow Hedge, Net effect in equity |
Net Investment hedge in foreign entities |
Net Investment Hedge | 252,423
Debts | (252,423)
Net Investment hedge in foreign entities, Net effect in equity |
Interest rate swap (Real) - Debentures - CRA |
Fixed rate swap - DI | (20,053,149)
Fixed rate debt | 20,053,149
Net effect |

X
- References No definition available. + Details
Name: | ifrs-full_CashFlowHedgesAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | ifrs-full_HedgesOfNetInvestmentsInForeignOperationsAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition A component of equity representing the reserve of cash flow hedges in relation to continuing hedges. [Refer: Reserve of cash flow hedges] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 24B -Subparagraph b -Clause ii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_24B_b_ii&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_ReserveOfCashFlowHedgesContinuingHedges
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition A component of equity representing the accumulated gains and losses on hedging instruments that hedge investments in equity instruments that the entity has designated at fair value through other comprehensive income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 78 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_78_e&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_ReserveOfGainsAndLossesOnHedgingInstrumentsThatHedgeInvestmentsInEquityInstruments
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of a cash flow hedged item, recognised as an asset. + References No definition available. + Details
Name: | ugp_CashFlowHedgedItemAssets
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of a cash flow hedged item, recognised as a liability. + References No definition available. + Details
Name: | ugp_CashFlowHedgedItemLiabilities
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Currency swaps payable in us dollars. + References No definition available. + Details
Name: | ugp_CurrencySwapsPayableInUSDollarsAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Currency swaps receivable in us dollars. + References No definition available. + Details
Name: | ugp_CurrencySwapsReceivableInUSDollarsAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of Debts / firm commitments in dollars. + References No definition available. + Details
Name: | ugp_DebtsFirmCommitmentsInDollars
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of fixed rate debt related to interest rate swap. + References No definition available. + Details
Name: | ugp_FixedRateDebt
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of fixed rate swap of DI related to interest rate swap. + References No definition available. + Details
Name: | ugp_FixedRateSwapDI
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of fixed rate swap net effect related to interest rate swap. + References No definition available. + Details
Name: | ugp_FixedRateSwapNetEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of gross margin of Oxiteno and Ipiranga related to currency swap payable. + References No definition available. + Details
Name: | ugp_GrossMarginOfOxitenoIpirangaSwapPayable
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Interest rate swap in brazilian reais debentures cra. + References No definition available. + Details
Name: | ugp_InterestRateSwapInBrazilianReaisDebenturesCRAAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of a net investment hedged item, recognised as an asset. + References No definition available. + Details
Name: | ugp_NetInvestmentHedgedItemAssets
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of a net investment hedged item, recognised as a liability. + References No definition available. + Details
Name: | ugp_NetInvestmentHedgedItemLiabilities
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of currency swaps payable from Real / U.S. Dollar swaps. + References No definition available. + Details
Name: | ugp_RealToUsDollarSwaps
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of currency swaps payable from Real to US Dollar swaps net effect. + References No definition available. + Details
Name: | ugp_RealToUsDollarSwapsNetEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of currency swaps receivable from U.S. Dollar/ Real swaps. + References No definition available. + Details
Name: | ugp_USDollarToRealSwaps
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of currency swaps receivable from U.S. Dollar to Real swaps net effect. + References No definition available. + Details
Name: | ugp_USDollarToRealSwapsNetEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ugp_ScenarioAxis=ugp_ScenarioMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |