XML 232 R203.htm IDEA: XBRL DOCUMENT
v3.22.1

Risks and Financial Instruments - Summary of the financial assets and financial liabilities measured at fair value (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  | R$ 8,822,844 | R$ 13,007,571
Financial liabilities, fair value |  | R$ 23,732,653 | R$ 23,998,204
Cash and bank [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial assets, fair value |  | R$ 334,547 | R$ 405,081
Cash and bank [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  |
Cash and bank [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  |
Financial investments in local currency [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through other comprehensive income | Measured at fair value through other comprehensive income
Financial assets, fair value |  | R$ 1,943,164 | R$ 2,241,852
Financial investments in local currency [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  |
Financial investments in local currency [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  | R$ 1,943,164 | R$ 2,241,852
Financial investments in foreign currency [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial assets, fair value |  | R$ 2,363 | R$ 14,561
Financial investments in foreign currency [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  | 2,363 | 14,561
Financial investments in foreign currency [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  |
Fixed-income securities and funds in local currency1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial assets, fair value |  | R$ 1,607,608 | R$ 3,643,286
Fixed-income securities and funds in local currency1 [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  | 1,607,608 | 3,643,286
Fixed-income securities and funds in local currency1 [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  |
Fixed-income securities and funds in local currency 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through other comprehensive income | Measured at fair value through other comprehensive income
Financial assets, fair value |  |  | R$ 31,315
Fixed-income securities and funds in local currency 2 [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  |
Fixed-income securities and funds in local currency 2 [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  | R$ 31,315
Fixed-income securities (guarantee of loans) [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial assets, fair value |  |  | R$ 75,251
Fixed-income securities (guarantee of loans) [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  |
Fixed-income securities (guarantee of loans) [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  |
Fixed-income securities and funds in foreign currency [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through other comprehensive income | Measured at fair value through other comprehensive income
Financial assets, fair value |  | R$ 103,239 | R$ 1,278,940
Fixed-income securities and funds in foreign currency [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  | 30,245
Fixed-income securities and funds in foreign currency [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  | R$ 103,239 | R$ 1,248,695
Currency and interest rate hedging and commodities instruments [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial assets, fair value |  | R$ 472,552 | R$ 981,874
Currency and interest rate hedging and commodities instruments [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  |
Currency and interest rate hedging and commodities instruments [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  | R$ 472,552 | R$ 981,874
Trade Receivables [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial assets, fair value |  | R$ 3,367,012 | R$ 3,369,766
Trade Receivables [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  |
Trade Receivables [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  |
Reseller Financing [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial assets, fair value |  | R$ 992,359 | R$ 965,645
Reseller Financing [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  |
Reseller Financing [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  |  |
Financing 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial liabilities, fair value |  | R$ 1,011,374 | R$ 1,308,928
Financing 1 [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  |  |
Financing 1 [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  | R$ 1,011,374 | R$ 1,308,928
Financing 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial liabilities, fair value |  | R$ 8,380,088 | R$ 10,186,947
Financing 2 [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  |  |
Financing 2 [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  |  |
Debentures [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial liabilities, fair value |  | R$ 4,529,439 | R$ 5,363,621
Debentures [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  |  |
Debentures [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  |  |
Debentures 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial liabilities, fair value |  | R$ 2,487,244 | R$ 1,093,365
Debentures 1 [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  |  |
Debentures 1 [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  | R$ 2,487,244 | R$ 1,093,365
Lease payable [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial liabilities, fair value |  | R$ 1,348,311 | R$ 1,833,288
Lease payable [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  |  |
Lease payable [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  |  |
Commodities, currency and interest rate hedging instruments [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial liabilities, fair value |  | R$ 197,177 | R$ 117,159
Commodities, currency and interest rate hedging instruments [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  |  |
Commodities, currency and interest rate hedging instruments [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  | R$ 197,177 | R$ 117,159
Trade payables [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial liabilities, fair value |  | R$ 5,727,724 | R$ 4,008,457
Trade payables [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  |  |
Trade payables [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  |  |
Subscription warrants - indemnification [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category | [1] | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial liabilities, fair value | [1] | R$ 51,296 | R$ 86,439
Subscription warrants - indemnification [member] | Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  |  |
Subscription warrants - indemnification [member] | Level 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value | [1] | R$ 51,296 | R$ 86,439
[1] | Refers to subscription warrants issued by the Company in the Extrafarma acquisition.

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 assets. [Refer: At fair value [member]; Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 25 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_25&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_FinancialAssetsAtFairValue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The fair value of financial liabilities. [Refer: At fair value [member]; Financial liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 25 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_25&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_FinancialLiabilitiesAtFairValue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The description of category of financial assets and liabilities. + References No definition available. + Details
Name: | ugp_CategoryOfFinancialAssetsAndLiabilities
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_CashAndBankDepositsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level1OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level2OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_FinancialInvestmentsLocalCurrencyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_FinancialInvestmentsForeignCurrencyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_FixedIncomeSecuritiesLocalCurrency1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_FixedIncomeSecuritiesLocalCurrency2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_FixedIncomeSecuritiesLocalCurrency3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_FixedIncomeSecuritiesForeignCurrencyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_CurrencyInterestRateHedgingInstrumentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ifrs-full_TradeReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_ResellerFinancingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_Financing1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_Financing2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_DebenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_Debentures1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ifrs-full_LeaseLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_CommoditiesCurrencyAndInterestRateHedgingInstrumentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_TradePayableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_SubscriptionWarrantsIndemnificationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |