XML 113 R85.htm IDEA: XBRL DOCUMENT
v3.21.1

Trade Receivables and Reseller Financing - Trade receivables (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Summary of trade receivables [line items] |  |
Trade receivables | R$ 3,391,122 | R$ 3,689,500
Related parties | 2,824 | 490
Current | 3,318,927 | 3,635,834
Non-current | 72,195 | 53,666
Domestic customers [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 3,443,641 | 3,867,163
Related parties | 151 | 739
foreign customers [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | 326,442 | 223,308
Related parties | 2,984 | 3,176
Expected losses on doubtful accounts [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables | R$ 382,096 | R$ 404,886

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

X
- Definition The amount of receivables due from related parties. [Refer: Related parties [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2019-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_78_b&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_TradeAndOtherReceivablesDueFromRelatedParties
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 2019-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_78_b&doctype=Standard -URIDate 2019-03-27 + 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
- Details
Name: | ugp_TradeReceivablesAxis=ugp_DomesticCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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