XML 229 R200.htm IDEA: XBRL DOCUMENT
v3.22.1

Risks and Financial Instruments - Summary of foreign exchange hedging instruments designated as fair value hedge (Detail) R$ in Thousands, $ in Thousands | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2021 BRL (R$) | Dec. 31, 2020 BRL (R$) | Dec. 31, 2021 USD ($) | Dec. 31, 2020 USD ($)
Disclosure of detailed information about hedges [line items] |  |  |  |
Notional amount – US$ | $ |  |  | $ 90,000 | $ 90,000
Result of hedging instruments - gain/(loss) - R$ | R$ (10,088) | R$ 6,528 |  |
Fair value adjustment of debt - R$ | 11,756 | 3,250 |  |
Financial expense in the statements of profit or loss - R$ | R$ 5,914 | R$ 8,968 |  |
Average effective cost - DI % | 99.90% | 99.90% |  |
Ipiranga [member] |  |  |  |
Disclosure of detailed information about hedges [line items] |  |  |  |
Notional amount – US$ | $ |  |  | 188,621 | 65,523
Result of hedging instruments - gain/(loss) - R$ | R$ (129,670) | R$ (87,448) |  |
Fair value adjustment of inventories – R$ | (4,352) | 18,468 |  |
Foreign exchange hedging instruments [member] |  |  |  |
Disclosure of detailed information about hedges [line items] |  |  |  |
Notional amount – US$ | $ |  |  | 175,000 | 235,000
Result of hedging instruments - gain/(loss) - R$ | 21,812 | 574,378 |  |
Fair value adjustment of debt - R$ | 47,064 | (13,131) |  |
Financial expense in the statements of profit or loss - R$ | R$ 105,059 | R$ 597,735 |  |
Average effective cost - DI % | 104.90% | 104.10% |  |
Interest rate hedging instruments [member] |  |  |  |
Disclosure of detailed information about hedges [line items] |  |  |  |
Notional amount – US$ | $ |  |  | $ 2,226,054 | $ 806,054
Result of hedging instruments - gain/(loss) - R$ | R$ (17,922) | R$ 67,446 |  |
Fair value adjustment of debt - R$ | 166,374 | (18,446) |  |
Financial expense in the statements of profit or loss - R$ | R$ 245,710 | R$ 99,555 |  |
Average effective cost - DI % | 102.00% | 95.80% |  |

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_DisclosureOfHedgeAccountingLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The gain (loss) on the change in fair value of the hedging instrument used as a basis for recognising hedge ineffectiveness. Hedge ineffectiveness is the extent to which the changes in the fair value or the cash flows of the hedging instrument are greater or less than those on the hedged item. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 24A -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_24A_c&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_GainLossOnChangeInFairValueOfHedgingInstrumentUsedAsBasisForRecognisingHedgeIneffectiveness
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of interest expense on financial liabilities designated at fair value through profit or loss. [Refer: Interest expense; Financial liabilities at fair value through profit or loss, designated upon initial recognition or subsequently] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_112_c&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_InterestExpenseOnFinancialLiabilitiesDesignatedAtFairValueThroughProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The nominal or face amount of a financial instrument, used to calculate payments made on that instrument. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_112_c&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_NotionalAmount
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of gain (loss) related to fair value adjustment of debt. + References No definition available. + Details
Name: | ugp_GainLossRelatedToFairValueAdjustmentOfDebt
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of gain (loss) related to fair value adjustment of inventories. + References No definition available. + Details
Name: | ugp_GainLossRelatedToFairValueAdjustmentOfInventories
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The percentage of average effective cost of hedging instruments designated as fair value hedge. + References No definition available. + Details
Name: | ugp_PercentageOfAverageEffectiveCost
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_IpirangaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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