XML 216 R187.htm IDEA: XBRL DOCUMENT
v3.22.1

Risks and Financial Instruments - Assets and liabilities in foreign currencies (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Assets in foreign currency [abstract] |  |
Cash, cash equivalents and financial investments in foreign currency (except hedging instruments) | R$ 122,242 | R$ 1,413,276
Foreign trade receivables, net of loss allowance for expected credit losses and advances to foreign customers | 1,324 | 307,829
Other assets | 186,548 | 1,767,626
Asset exposure from subsidiaries held for sale | 3,839,194 |
Assets in foreign currency | 4,149,308 | 3,488,731
Liabilities in foreign currency |  |
Financing in foreign currency, gross of transaction costs and discount | (8,860,833) | (9,246,707)
Payables arising from imports, net of advances to foreign suppliers | (649,107) | (633,013)
Liabilities exposure from subsidiaries held for sale | 884,402 |
Liabilities in foreign currency | (10,394,342) | (9,879,720)
Foreign currency hedging instruments | (2,933,572) | (4,837,554)
Foreign currency hedging instruments from subsidiaries held for sale | 1,786,471 |
Net liability position – total | (1,524,991) | (1,553,435)
Net (liability) asset position – income statement effect | (498,604) | 186,306
Net liability position – equity effect from subsidiaries held for sale | R$ (1,026,387) | R$ (1,739,741)

X
- Definition The amount of assets exposure from subsidiaries held for sale in foreign currency. + References No definition available. + Details
Name: | ugp_AssetExposureFromSubsidiariesHeldForSale
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of total assets in foreign currency. + References No definition available. + Details
Name: | ugp_AssetsInForeignCurrency
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition The amount of cash, cash equivalents and financial investments in foreign currency but excluding hedging instruments. + References No definition available. + Details
Name: | ugp_CashCashEquivalentsAndFinancialInvestmentsInForeignCurrencyExceptHedgingInstruments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of financing in foreign currency, gross of transaction costs and discount. + References No definition available. + Details
Name: | ugp_FinancingInForeignCurrency
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The gains (losses) on Foreign currency hedging instruments. + References No definition available. + Details
Name: | ugp_ForeignCurrencyHedgingInstruments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of foreign currency hedging instruments from subsidiaries held for sale. + References No definition available. + Details
Name: | ugp_ForeignCurrencyHedgingInstrumentsFromSubsidiariesHeldForSale
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount due from Foreign trade receivables, net of allowance for doubtful accounts and advances to foreign customers. + References No definition available. + Details
Name: | ugp_ForeignTradeReceivablesNetOfAllowanceForDoubtfulAccountsAndAdvancesToForeignCustomers
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of liabilities exposure from subsidiaries held for sale in foreign currency. + References No definition available. + Details
Name: | ugp_LiabilitiesExposureFromSubsidiariesHeldForSale
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of total liabilities in foreign currency. + References No definition available. + Details
Name: | ugp_LiabilitiesInForeignCurrency
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Liabilities in foreign currency abstract. + References No definition available. + Details
Name: | ugp_LiabilitiesInForeignCurrencyAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of net asset (liability) position - Income statement effect. + References No definition available. + Details
Name: | ugp_NetAssetLiabilityPositionIncomeStatementEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of net asset (liability) position - Shareholders' equity effect. + References No definition available. + Details
Name: | ugp_NetAssetLiabilityPositionShareholdersEquityEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of total net asset (liability) position. + References No definition available. + Details
Name: | ugp_NetAssetLiabilityPositionTotal
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of other net assets in foreign currency but excluding cash, cash equivalents, financial investments, trade receivables, financing and payables. + References No definition available. + Details
Name: | ugp_OtherNetAssetsInForeignExceptCashCashEquivalentsFinancialInvestmentsTradeReceivablesFinancingAndPayables
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of current trade payables for foreign suppliers arising from imports, net of advances to foreign suppliers. + References No definition available. + Details
Name: | ugp_PayablesArisingFromImports
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant