XML 184 R159.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Risks and Financial Instruments - Additional Information (Detail) $ in Thousands | 12 Months Ended |  |  |  |
--- | --- | --- | --- | --- | ---
Dec. 31, 2023 BRL (R$) Customers | Dec. 31, 2022 BRL (R$) | Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($) | Dec. 31, 2021 BRL (R$) | Dec. 31, 2020 BRL (R$)
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |  |  |
Net liability position |  | R$ 393,715,000 | R$ 553,839,000 |  |  |  |
Maximum percentage of identified risk to cover by derivative financial instruments |  | 100.00% |  |  |  |  |
Gross indebtedness |  | R$ 11,768,017,000 | 11,750,361,000 |  |  | R$ 16,377,643,000 | R$ 17,376,216,000
Cash, cash equivalents, and short-term financial investments |  | 6,218,622,000 |  |  |  |  |
Notional amount of foreign exchange hedging instruments for highly probable future transactions designated as cash flow hedge, related to notes in the foreign market | $ |  |  |  | $ 234,000 | $ 0 |  |
Unrealized gain (loss) of other comprehensive income, net of deferred income and social contribution taxes |  | 7,166,000 | 0 |  |  |  |
Negative goodwill of notes in the foreign market |  | R$ 8,107,000 | R$ 10,968,000 |  |  |  |
Customer concentrations risk | Customer one | Bottom of range [member] |  |  |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |  |  |
Number of customers | Customers |  | 0 |  |  |  |  |
Percentage of entity's consolidated revenue |  | 10.00% |  |  |  |  |
Brazilian real per US dollar [member] |  |  |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |  |  |
Average foreign exchange rate | [1] | 4,941.6000 |  |  |  |  |
Closing foreign exchange rate |  | 4,841.3000 |  |  |  |  |
Later than one year [member] |  |  |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |  |  |
Gross indebtedness |  | R$ 2,363,334,000 |  |  |  |  |
[1] | Average US dollar on December 31, 2023, according to benchmark rates as published by B3.

X
- Definition The average exchange rate used by the entity. Exchange rate is the ratio of exchange for two currencies. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_AverageForeignExchangeRate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of outstanding funds that the entity is obligated to repay. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_55&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_Borrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The spot exchange rate at the end of the reporting period. Exchange rate is the ratio of exchange for two currencies. Spot exchange rate is the exchange rate for immediate delivery. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ClosingForeignExchangeRate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition The percentage of the entity's revenue. [Refer: Revenue] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 8 -IssueDate 2023-01-01 -Paragraph 34 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_34&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_PercentageOfEntitysRevenue
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of cash and cash equivalents and short term financial investments. + References No definition available. + Details
Name: | ugp_CashCashEquivalentsAndShortTermFinancialInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of unrealized gain (loss) of cash flow hedge in other comprehensive income net, related to notes in the foreign market. + References No definition available. + Details
Name: | ugp_CashFlowHedgeUnrealizedGainLossOfOtherComprehensiveIncomeNetRelatedToNotesInForeignMarket
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The maximum percentage of identified risk to cover by derivative financial instruments. + References No definition available. + Details
Name: | ugp_MaximumPercentageOfIdentifiedRiskToCoverByDerivativeFinancialInstruments
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of negative goodwill of notes in the foreign market. + References No definition available. + Details
Name: | ugp_NegativeGoodwillOfNotesInForeignMarket
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of total net asset (liability) position. + References No definition available. + Details
Name: | ugp_NetAssetLiabilityPositionTotal
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The notional amount of foreign exchange hedging instruments for highly probable future transactions designated as cash flow hedge related to notes in foreign market. + References No definition available. + Details
Name: | ugp_NotionalAmountOfForeignExchangeHedgingInstrumentsForHighlyProbableFutureTransactionsDesignatedAsCashFlowHedgeRelatedToNotesInForeignMarket
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The number of customers which reporting entity generate revenue from product or services. + References No definition available. + Details
Name: | ugp_NumberOfCustomers
Namespace Prefix: | ugp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ConcentrationsOfRiskAxis=ugp_CustomerConcentrationsRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=ugp_CustomerOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_HedgingInstrumentsAxis=ugp_BrazilianRealPerUSDollarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |