XML 101 R82.htm IDEA: XBRL DOCUMENT
v3.23.1

Cash and cash equivalents, financial investments and derivative financial instruments - Financial investments (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Cash and cash equivalents, financial investments and derivative financial instruments |  |  |
Financial investments in local currency, fixed-income securities and funds |  | R$ 406,683 | R$ 1,607,608
Financial investments in foreign currency, fixed-income securities and funds |  | 0 | 103,239
Derivative financial instruments | [1] | 556,510 | 472,552
Total financial investments and derivative financial instruments |  | 963,193 | 2,183,399
Current |  | 520,352 | 1,804,122
Non-current |  | R$ 442,841 | R$ 379,277
[1] | Accumulated gains, net of income tax (see Note 31.i).

X
- Definition The amount of derivative assets pertaining to currency and interest rate hedging instruments. + References No definition available. + Details
Name: | ugp_CurencyAndInterestRateHedgingInstruments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition A financial asset is any asset that is: (a) cash; (b) an equity instrument of another entity; (c) a contractual right: (i) to receive cash or another financial asset from another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially favorable to the entity; or (d) a contract that will or may be settled in the entity's own equity instruments and is: (i) a non-derivative for which the entity is or may be obliged to receive a variable number of the entity's own equity instruments; or (ii) a derivative that will or may be settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity's own equity instruments. + References No definition available. + Details
Name: | ugp_FinancialInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of current financial investments. + References No definition available. + Details
Name: | ugp_FinancialInvestmentsCurrent
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Investment in foreign currency that provides a return in the form of fixed periodic payments and the eventual return of principal at maturity. Funds gathers capital from a number of investors to create a pool of money that is then re-invested into assets. + References No definition available. + Details
Name: | ugp_FinancialInvestmentsInForeignCurrency
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Investment in local currency that provides a return in the form of fixed periodic payments and the eventual return of principal at maturity. Funds gathers capital from a number of investors to create a pool of money that is then re-invested into assets. + References No definition available. + Details
Name: | ugp_FinancialInvestmentsInLocalCurrency
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of non-current financial investments. + References No definition available. + Details
Name: | ugp_FinancialInvestmentsNoncurrent
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant