XML 211 R183.htm IDEA: XBRL DOCUMENT
v3.21.1

Risks and Financial Instruments - Assets and liabilities in foreign currencies (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Assets in foreign currency abstract |  |
Cash, cash equivalents and financial investments in foreign currency (except hedging instruments) | R$ 1,413,276 | R$ 455,620
Foreign trade receivables, net of allowance for doubtful accounts and advances to foreign customers | 307,829 | 213,544
Other assets | 1,767,626 | 1,445,022
Assets in foreign currency | 3,488,731 | 2,114,186
Liabilities in foreign currency |  |
Financing in foreign currency, gross of transaction costs and discount | (9,246,707) | (6,895,052)
Payables arising from imports, net of advances to foreign suppliers | (633,013) | (344,523)
Liabilities in foreign currency | (9,879,720) | (7,239,575)
Foreign currency hedging instruments | 4,837,554 | 3,636,418
Net liability position – total | (1,553,435) | (1,488,971)
Net asset (liability) position – income statement effect | 186,306 | 452,178
Net liability position – equity effect | R$ (1,739,741) | R$ (1,941,149)

X
- Definition Assets in foreign currency. + References No definition available. + Details
Name: | ugp_AssetsInForeignCurrency
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Investment that provides a return in the form of fixed periodic payments and the eventual return of principal at maturity. + References No definition available. + Details
Name: | ugp_CashCashEquivalentsAndFinancialInvestmentsInForeignCurrencyExceptHedgingInstruments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Disclosure of further information and subclassifications of Financing, classified in a manner appropriate to the entity's policies and operations. + 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: | credit
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 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 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 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 Net asset (liability) position - Total. + References No definition available. + Details
Name: | ugp_NetAssetLiabilityPositionTotal
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Other net assets in foreign except 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