XML 228 R199.htm IDEA: XBRL DOCUMENT
v3.22.1

Risks and Financial Instruments - Summary the position of hedging instruments (Detail) R$ in Thousands, $ in Thousands | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2021 BRL (R$) | Dec. 31, 2021 USD ($) | Dec. 31, 2020 BRL (R$) | Dec. 31, 2020 USD ($)
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Notional amount | $ |  |  | $ 90,000 |  | $ 90,000
Designated as hedge accounting [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Fair value | R$ 486,270 |  |  | R$ 599,710 |
Designated as hedge accounting [member] | Foreign exchange swap [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Rates agreement-assets | USD + 4.65 % |  |  |  |
Rates agreement-liabilities | 104.87% DI |  |  |  |
Final maturity | sep-23 |  |  |  |
Notional amount | $ |  |  | 125,000 |  | 185,000
Fair value | R$ 212,510 |  |  | 298,889 |
Designated as hedge accounting [member] | Foreign exchange swap one [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Rates agreement-assets | USD + LIBOR-3M + 1.14% |  |  |  |
Rates agreement-liabilities | 105.00% DI |  |  |  |
Final maturity | jun-22 |  |  |  |
Notional amount | $ |  |  | 50,000 |  | 50,000
Fair value | R$ 109,332 |  |  | 94,782 |
Designated as hedge accounting [member] | Interest rate swap contract [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Rates agreement-assets | 4.59% + IPCA |  |  |  |
Rates agreement-liabilities | 102.00% DI |  |  |  |
Final maturity | sep-28 |  |  |  |
Notional amount | R$ 2,266,054 |  |  | 806,054 |
Fair value | R$ 166,468 |  |  | 203,837 |
Designated as hedge accounting [member] | Interest rate swap contract one [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Rates agreement-assets | 6.47% |  |  |  |
Rates agreement-liabilities | 99.94% DI |  |  |  |
Final maturity | nov-24 |  |  |  |
Notional amount | R$ 90,000 |  |  | 90,000 |
Fair value | R$ (9,044) |  |  | 3,498 |
Designated as hedge accounting [member] | Term [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Rates agreement-assets | BRL |  |  |  |
Rates agreement-liabilities | Heating Oil |  |  |  |
Final maturity | jan-22 |  |  |  |
Notional amount | $ |  |  | 120,260 |  | 42,399
Fair value | R$ 1,302 |  |  | (563) |
Designated as hedge accounting [member] | NDF [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Rates agreement-assets | BRL |  |  |  |
Rates agreement-liabilities | USD |  |  |  |
Final maturity | jan-22 |  |  |  |
Notional amount | $ |  |  | 68,361 |  | 23,124
Fair value | R$ 5,702 |  |  | (733) |
Not designated as hedge accounting [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Fair value | R$ (123,289) |  |  | 407,103 |
Not designated as hedge accounting [member] | Foreign exchange swap [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Rates agreement-assets | USD + 0.18% |  |  |  |
Rates agreement-liabilities | 55.5% DI |  |  |  |
Final maturity |  |  |  |  |
Notional amount | $ |  |  |  |  | 320,000
Fair value |  |  |  | 519,260 |
Not designated as hedge accounting [member] | Interest rate swap contract [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Rates agreement-assets | 2.67% |  |  |  |
Rates agreement-liabilities | 100% DI |  |  |  |
Final maturity |  |  |  |  |
Notional amount |  |  |  | 1,300,000 |
Fair value |  |  |  | (5) |
Not designated as hedge accounting [member] | Interest rate swap contract one [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Rates agreement-assets | 5.25% |  |  |  |
Rates agreement-liabilities | DI - 1.36% |  |  |  |
Final maturity | jun-29 |  |  |  |
Notional amount | R$ 300,000 | [1] | 300,000 |  |
Fair value | R$ (126,752) |  |  |  |
Not designated as hedge accounting [member] | NDF [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Rates agreement-assets | USD |  |  |  |
Rates agreement-liabilities | BRL |  |  |  |
Final maturity | jun-22 |  |  |  |
Notional amount | $ |  |  | $ 625,762 |  | $ 378,550
Fair value | R$ 3,463 |  |  | R$ (112,152) |
[1] | Currency as indicated.

X
- Definition The maturity of borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 7 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_7&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_BorrowingsMaturity
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
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_DisclosureOfFinancialInstrumentsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The fair value of financial instruments designated as hedging instruments. Hedging instruments are designated derivatives or (for a hedge of the risk of changes in foreign currency exchange rates only) designated non-derivative financial assets or non-derivative financial liabilities whose fair value or cash flows are expected to offset changes in the fair value or cash flows of a designated hedged item. [Refer: At fair value [member]; Derivatives [member]; Derivative financial assets; Derivative financial liabilities; Financial instruments, class [member]; Financial assets; Financial liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2023-01-01 -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 22 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_22_b&doctype=Standard&book=b -URIDate 2021-03-24 + Details
Name: | ifrs-full_FinancialInstrumentsDesignatedAsHedgingInstrumentsAtFairValue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

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 basis (reference rate) used for calculation of the interest rate on assets. + References No definition available. + Details
Name: | ugp_AssetsInterestRateBasis
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The basis (reference rate) used for calculation of the interest rate on liabilities. + References No definition available. + Details
Name: | ugp_LiabilitiesInterestRateBasis
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_AccountingEstimatesAxis=ugp_DesignatedAsHedgeAccountingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ugp_ForeignExchangeSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ugp_ForeignExchangeSwapOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ifrs-full_InterestRateSwapContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ugp_InterestRateSwapContractOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ugp_TermMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ugp_NdfMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_AccountingEstimatesAxis=ugp_NotDesignatedAsHedgeAccountingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |