XML 148 R122.htm IDEA: XBRL DOCUMENT
v3.25.1

Provisions and contingent liabilities - Balances of escrow deposits (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Disclosure of other provisions [line items] |  |
Total - non-current assets | R$ 446,076 | R$ 1,032,717
Tax [member] |  |
Disclosure of other provisions [line items] |  |
Total - non-current assets | 306,593 | 856,830
Labor [member] |  |
Disclosure of other provisions [line items] |  |
Total - non-current assets | 24,070 | 37,715
Civil and other [member] |  |
Disclosure of other provisions [line items] |  |
Total - non-current assets | R$ 115,413 | R$ 138,172

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