XML 194 R165.htm IDEA: XBRL DOCUMENT
v3.22.1

Provisions and Contingencies - Balances of escrow deposits (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Disclosure of other provisions [line items] |  |
Total - non-current assets | R$ 871,261 | R$ 949,796
Tax matters [member] |  |
Disclosure of other provisions [line items] |  |
Total - non-current assets | 731,326 | 789,624
Labor litigation [member] |  |
Disclosure of other provisions [line items] |  |
Total - non-current assets | 48,147 | 57,603
Civil and other [member] |  |
Disclosure of other provisions [line items] |  |
Total - non-current assets | R$ 91,788 | R$ 102,569

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfOtherProvisionsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of long-term deposits held by the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 55 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_55&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_LongtermDeposits
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_ClassesOfProvisionsAxis=ugp_TaxMattersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfProvisionsAxis=ugp_LaborLitigationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfProvisionsAxis=ugp_CivilEnvironmentalAndRegulatoryClaimsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |