XML 118 R89.htm IDEA: XBRL DOCUMENT
v3.22.1

Trade Receivables and Reseller Financing - Trade receivables (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Summary of trade receivables [line items] |  |
Trade receivables, gross of loss allowance for expected credit losses | R$ 3,813,350 | R$ 3,773,218
Loss allowance for expected credit losses | 185,278 | 197,011
Current | 3,375,246 | 3,318,927
Non-current | 63,749 | 72,195
Trade receivables [member] |  |
Summary of trade receivables [line items] |  |
Loss allowance for expected credit losses | 374,355 | 382,096
Trade receivables | 3,438,995 | 3,391,122
Current | 3,375,246 | 3,318,927
Non-current | 63,749 | 72,195
Trade receivables [member] | Domestic customers [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of loss allowance for expected credit losses | 3,805,756 | 3,443,641
Related parties | 57 | 151
Trade receivables [member] | foreign customers [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of loss allowance for expected credit losses | 3,137 | 326,442
Related parties | R$ 4,400 | R$ 2,984

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 trade receivables. [Refer: Trade receivables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_78_b&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 68 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_68&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_CurrentTradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of non-current trade receivables. [Refer: Trade receivables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_78_b&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_NoncurrentTradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount due from customers for goods and services sold. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_78_b&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_TradeReceivables
Namespace Prefix: | ifrs-full_
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
- Definition The amount of trade receivables due from related parties, gross of allowance for doubtful accounts. + References No definition available. + Details
Name: | ugp_TradeReceivablesDueFromRelatedPartiesGross
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

X
- Details
Name: | srt_MajorCustomersAxis=ugp_DomesticCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=ugp_ForeignCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |