XML 165 R140.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Subscription warrants - indemnification - Additional information (Detail) - BRL (R$) R$ in Thousands |  | 12 Months Ended |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Jan. 31, 2014 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021 | Aug. 09, 2023 | Feb. 15, 2023 | Aug. 03, 2022 | Feb. 23, 2022 | Aug. 11, 2021 | Feb. 24, 2021
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |  |  |  |  |
Finance expenses |  | R$ (1,880,014) | R$ (2,175,897) | R$ (1,222,886) |  |  |  |  |  |
Finance income |  | R$ 880,884 | 706,689 | 460,154 |  |  |  |  |  |
Extrafarma [member] |  |  |  |  |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |  |  |  |  |
Subscription warrants shares issued | 7 |  |  |  |  |  |  |  |  |
Maximum number of shares to be issued - subscription warrants | 6,411,244 |  |  |  |  |  |  |  |  |
Rights outstanding |  |  |  |  | 8,199 | 31,211 | 21,472 | 43,925 | 31,032 | 70,939
Number of shares canceled and not issued which linked to subscription warrants – indemnification | 715,871 |  |  |  |  |  |  |  |  |
Subscription warrants, shares |  | 3,293,074 |  |  |  |  |  |  |  |
Subscription warrants - indemnification |  | R$ 87,299 | 42,776 |  |  |  |  |  |  |
Finance expenses |  | R$ 45,084 |  |  |  |  |  |  |  |
Finance income |  |  | R$ 5,099 | R$ 33,180 |  |  |  |  |  |

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_DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of costs associated with financing activities of the entity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 82 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_82_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_FinanceCosts
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of income associated with interest and other financing activities of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_85&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_FinanceIncome
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The number of warrants rights outstanding for exercise of the rights. + References No definition available. + Details
Name: | ugp_ExerciseOfWarrantsRightsOutstanding
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of shares to be issued for subscription warrants. + References No definition available. + Details
Name: | ugp_MaximumNumberOfSharesToBeIssuedSubscriptionWarrants
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of shares were canceled and not issued which are linked to subscription warrants – indemnification according to association agreement. + References No definition available. + Details
Name: | ugp_NumberOfSharesCanceledAndNotIssuedWhichLinkedToSubscriptionWarrantsIndemnification
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of subscription warrants indemnification. + References No definition available. + Details
Name: | ugp_SubscriptionWarrants
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The number of shares outstanding for subscription warrants. + References No definition available. + Details
Name: | ugp_SubscriptionWarrantsShares
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares issued for subscription warrants. + References No definition available. + Details
Name: | ugp_SubscriptionWarrantsSharesIssued
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_ExtrafarmaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |