XML 190 R162.htm IDEA: XBRL DOCUMENT
v3.21.1

Deferred Revenue - Deferred revenue in subsidiaries (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Summary of deferred revenue [line items] |  |
Deferred revenue | R$ 18,282 | R$ 27,626
Current | 18,282 | 27,626
Franchising upfront fee [member] |  |
Summary of deferred revenue [line items] |  |
Deferred revenue | 814 | 956
Loyalty program one [member] |  |
Summary of deferred revenue [line items] |  |
Deferred revenue | 15,424 | 25,096
Loyalty program two [member] |  |
Summary of deferred revenue [line items] |  |
Deferred revenue | R$ 2,044 | R$ 1,574

X
- Definition The amount of liability representing income that has been received but is not yet earned. [Refer: Revenue] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2019-01-01 -Paragraph 78 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_78&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_DeferredIncome
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of short-term liability representing income that has been received but is not yet earned. [Refer: Revenue] + References No definition available. + Details
Name: | ugp_DeferredIncomeCurrent
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Details
Name: | ugp_DeferredRevenueAxis=ugp_FranchisingUpfrontFeeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_DeferredRevenueAxis=ugp_LoyaltyProgramOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_DeferredRevenueAxis=ugp_LoyaltyProgramTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |