XML 183 R158.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Risks and Financial Instruments - Assets and liabilities in foreign currencies (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Assets in foreign currency |  |  |
Cash, cash equivalents and financial investments in foreign currency (except hedging instruments) |  | R$ 371,474 | R$ 311,017
Foreign trade receivables, net of allowance for expected credit losses |  | 84,855 | 6,131
Other receivables |  | 715,877 | 727,057
Other assets of foreign subsidiaries |  | 152,393 | 280,738
Assets in foreign currency |  | 1,324,599 | 1,324,943
Liabilities in foreign currency |  |  |
Financing in foreign currency, gross of transaction costs and negative goodwill of notes in the foreign market | [1] | (5,297,013) | (5,213,100)
Payables arising from imports |  | (1,730,426) | (1,939,984)
Liabilities in foreign currency |  | (7,027,439) | (7,153,084)
Balance (gross) of foreign currency hedging instruments |  | 5,309,125 | 5,274,302
Net liability position – total |  | (393,715) | (553,839)
Net liability position - effect on statement of income |  | (382,858) | (553,839)
Net liability position - effect on equity |  | R$ (10,857) | R$ 0
[1] | As of December 31, 2023, the amount of negative goodwill of notes in the foreign market was R$ 8,107 (R$ 10,968 as of December 31, 2022).

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 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 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 (liability) asset position - effect on statement of income. + References No definition available. + Details
Name: | ugp_NetAssetLiabilityPositionEffectStatementIncome
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_NetAssetLiabilityPositionShareholdersEffectEquity
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 of foreign subsidiaries in foreign currency but excluding cash, cash equivalents, financial investments, trade receivables, financing and payables. + References No definition available. + Details
Name: | ugp_OtherNetAssetsOfForeignSubsidiariesInForeignCurrencyExceptCashCashEquivalentsFinancialInvestmentsTradeReceivablesFinancingAndPayables
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of other receivables in foreign currency. + References No definition available. + Details
Name: | ugp_OtherReceivablesInForeignCurrency
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