XML 122 R93.htm IDEA: XBRL DOCUMENT
v3.22.1

Trade Receivables and Reseller Financing - Composition of Reseller Financing (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Summary of trade receivables [line items] |  |
Reseller financing, gross of loss allowance for expected credit losses | R$ 1,183,312 | R$ 1,165,395
Loss allowance for expected credit losses | (185,278) | (197,011)
Reseller financing | 998,034 | 968,384
Current | 582,562 | 549,129
Non-current | 415,472 | 419,255
Reseller Financing - Ipiranga [member] |  |
Summary of trade receivables [line items] |  |
Reseller financing, gross of loss allowance for expected credit losses | R$ 1,183,312 | R$ 1,165,395

X
- Definition The amount of an allowance account used to record impairments to financial assets due to credit losses. [Refer: Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2023-01-01 -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 16 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_16&doctype=Standard&book=b -URIDate 2021-03-24 + Details
Name: | ifrs-full_AllowanceAccountForCreditLossesOfFinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

X
- Definition The amount of reseller financing current and noncurrent. + References No definition available. + Details
Name: | ugp_ResellerFinancing
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of reseller financing, gross of allowance for doubtful accounts. + References No definition available. + Details
Name: | ugp_ResellerFinancingGross
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Summary of trade receivables. + References No definition available. + Details
Name: | ugp_SummaryOfTradeReceivablesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ugp_TradeReceivablesAxis=ugp_ResellerFinancingIpirangaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |