XML 172 R153.htm IDEA: XBRL DOCUMENT
v3.23.1

Provisions and Contingencies - Balances of escrow deposits (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Disclosure of other provisions [line items] |  |
Total - non-current assets | R$ 946,383 | R$ 871,261
Tax matters [member] |  |
Disclosure of other provisions [line items] |  |
Total - non-current assets | 790,979 | 731,326
Labor litigation [member] |  |
Disclosure of other provisions [line items] |  |
Total - non-current assets | 42,624 | 48,147
Civil and other [member] |  |
Disclosure of other provisions [line items] |  |
Total - non-current assets | R$ 112,780 | R$ 91,788

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 2022-03-24 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_55&doctype=Standard -URIDate 2022-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: |