XML 183 R157.htm IDEA: XBRL DOCUMENT
v3.25.1

Discontinued operations (Details) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Discontinued operations |  |  |  |
Net revenue from sales and services |  | R$ 133,498,913 | R$ 126,048,701 | R$ 143,634,708
Cost of products and services sold |  | (123,811,893) | (116,730,469) | (136,276,257)
Gross profit |  | 9,687,020 | 9,318,232 | 7,358,451
Selling, marketing and administrative |  | (2,499,547) | (2,253,226) | (2,141,985)
Other operating income (expenses), net |  | (414,092) | (602,865) | (514,522)
Operating income before share of profit (loss) of subsidiaries, joint ventures and associates, financial result and income and social contribution taxes |  | 5,073,126 | 4,565,917 | 3,336,752
Income before financial result and income and social contribution taxes |  | 4,943,451 | 4,577,825 | 3,348,933
Financial result, net |  | (931,934) | (999,130) | (1,469,208)
Income (loss) before income and social contribution taxes |  | 4,011,517 | 3,578,695 | 1,879,725
Net income (loss) for the year |  | 0 | 0 | 301,858
Depreciation and amortization for the year |  | 1,730,770 | 1,753,723 | 1,525,567
Net cash (consumed) provided by operating activities |  | 0 | 0 | 30,550
Net cash (consumed) provided by investing activities |  | 0 | 0 | (220,190)
Net cash (consumed) provided by financing activities |  | 0 | 0 | (179,025)
Effect of exchange rate variation on cash and cash equivalents in foreign currency |  | 0 | 0 | (19,316)
Eliminations [member] |  |  |  |
Discontinued operations |  |  |  |
Net revenue from sales and services |  | (209,986) | (203,794) | (272,574)
Cost of products and services sold |  | 200,377 | 184,868 | 266,122
Gross profit |  | (9,609) | (18,926) | (6,452)
Other operating income (expenses), net |  | 0 | 0 | 0
Operating income before share of profit (loss) of subsidiaries, joint ventures and associates, financial result and income and social contribution taxes |  | 6,104 | (59,056) | 0
Income before financial result and income and social contribution taxes |  | 6,104 | (59,056) | 0
Depreciation and amortization for the year |  | R$ (5,953) | R$ (492) | (346)
Total Discontinued operations |  |  |  |
Discontinued operations |  |  |  |
Net revenue from sales and services |  |  |  | 3,267,533
Cost of products and services sold |  |  |  | (2,485,069)
Gross profit |  |  |  | 782,464
Selling, marketing and administrative |  |  |  | (639,966)
Other operating income (expenses), net |  |  |  | 246,110
Operating income before share of profit (loss) of subsidiaries, joint ventures and associates, financial result and income and social contribution taxes |  |  |  | 388,608
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | (231)
Income before financial result and income and social contribution taxes |  |  |  | 388,377
Financial result, net |  |  |  | 52,525
Income (loss) before income and social contribution taxes |  |  |  | 440,902
Income and social contribution taxes |  |  |  | (217,500)
Net effect of cessation of depreciation | [1] |  |  | 78,456
Net income (loss) for the year |  |  |  | 301,858
Net cash (consumed) provided by operating activities |  |  |  | 30,550
Net cash (consumed) provided by investing activities |  |  |  | (220,190)
Net cash (consumed) provided by financing activities |  |  |  | (179,025)
Effect of exchange rate variation on cash and cash equivalents in foreign currency |  |  |  | (19,316)
Increase (decrease) in cash and cash equivalents |  |  |  | (387,981)
Total Discontinued operations | Oxiteno S. A. Industria e Comercio [member] |  |  |  |
Discontinued operations |  |  |  |
Net revenue from sales and services |  |  |  | 2,039,287
Cost of products and services sold |  |  |  | (1,580,000)
Gross profit |  |  |  | 459,287
Selling, marketing and administrative |  |  |  | (201,365)
Other operating income (expenses), net |  |  |  | 10,736
Operating income before share of profit (loss) of subsidiaries, joint ventures and associates, financial result and income and social contribution taxes |  |  |  | 268,658
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | (231)
Income before financial result and income and social contribution taxes |  |  |  | 268,427
Financial result, net |  |  |  | 23,153
Income (loss) before income and social contribution taxes |  |  |  | 291,580
Income and social contribution taxes |  |  |  | (16,924)
Net effect of cessation of depreciation | [1] |  |  | 51,372
Net income (loss) for the year |  |  |  | 326,028
Net cash (consumed) provided by operating activities |  |  |  | (81,558)
Net cash (consumed) provided by investing activities |  |  |  | 1,011,736
Net cash (consumed) provided by financing activities |  |  |  | (1,245,754)
Effect of exchange rate variation on cash and cash equivalents in foreign currency |  |  |  | (19,316)
Increase (decrease) in cash and cash equivalents |  |  |  | (334,892)
Total Discontinued operations | Extrafarma [member] |  |  |  |
Discontinued operations |  |  |  |
Net revenue from sales and services |  |  |  | 1,235,487
Cost of products and services sold |  |  |  | (912,310)
Gross profit |  |  |  | 323,177
Selling, marketing and administrative |  |  |  | (438,601)
Other operating income (expenses), net |  |  |  | (5,951)
Operating income before share of profit (loss) of subsidiaries, joint ventures and associates, financial result and income and social contribution taxes |  |  |  | (121,375)
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | 0
Income before financial result and income and social contribution taxes |  |  |  | (121,375)
Financial result, net |  |  |  | (25,059)
Income (loss) before income and social contribution taxes |  |  |  | (146,434)
Income and social contribution taxes |  |  |  | 20,826
Net effect of cessation of depreciation | [1] |  |  | 27,084
Net income (loss) for the year |  |  |  | (98,524)
Net cash (consumed) provided by operating activities |  |  |  | (68,370)
Net cash (consumed) provided by investing activities |  |  |  | (25,323)
Net cash (consumed) provided by financing activities |  |  |  | 40,585
Effect of exchange rate variation on cash and cash equivalents in foreign currency |  |  |  | 0
Increase (decrease) in cash and cash equivalents |  |  |  | (53,108)
Total Discontinued operations | Ultrapar [Member] |  |  |  |
Discontinued operations |  |  |  |
Net revenue from sales and services |  |  |  | 0
Cost of products and services sold |  |  |  | 0
Gross profit |  |  |  | 0
Selling, marketing and administrative |  |  |  | 0
Other operating income (expenses), net |  |  |  | 241,325
Operating income before share of profit (loss) of subsidiaries, joint ventures and associates, financial result and income and social contribution taxes |  |  |  | 241,325
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | 0
Income before financial result and income and social contribution taxes |  |  |  | 241,325
Financial result, net |  |  |  | 0
Income (loss) before income and social contribution taxes |  |  |  | 241,325
Income and social contribution taxes |  |  |  | (202,895)
Net effect of cessation of depreciation | [1] |  |  | 0
Net income (loss) for the year |  |  |  | 38,430
Total Discontinued operations | Eliminations [member] |  |  |  |
Discontinued operations |  |  |  |
Net revenue from sales and services | [2] |  |  | (7,241)
Cost of products and services sold | [2] |  |  | 7,241
Gross profit | [2] |  |  | 0
Selling, marketing and administrative | [2] |  |  | 0
Other operating income (expenses), net | [2] |  |  | 0
Operating income before share of profit (loss) of subsidiaries, joint ventures and associates, financial result and income and social contribution taxes | [2] |  |  | 0
Share of profit (loss) of subsidiaries, joint ventures and associates | [2] |  |  | 0
Income before financial result and income and social contribution taxes | [2] |  |  | 0
Financial result, net | [2] |  |  | 54,431
Income (loss) before income and social contribution taxes | [2] |  |  | 54,431
Income and social contribution taxes | [2] |  |  | (18,507)
Net effect of cessation of depreciation | [1],[2] |  |  | 0
Net income (loss) for the year | [2] |  |  | 35,924
Net cash (consumed) provided by operating activities |  |  |  | 180,478
Net cash (consumed) provided by investing activities |  |  |  | (1,206,603)
Net cash (consumed) provided by financing activities |  |  |  | 1,026,144
Effect of exchange rate variation on cash and cash equivalents in foreign currency |  |  |  | 0
Increase (decrease) in cash and cash equivalents |  |  |  | R$ 19
[1] | As of January 1, 2022, the depreciation and amortization of assets classified as held for sale ceased, in compliance with item 25 of IFRS 5.
[2] | Elimination between continuing and discontinued operations related to the intercompany loan between Ultrapar International and Oxiteno.

X
- Definition The cash flows from (used in) the entity's financing activities, related to discontinued operations. [Refer: Discontinued operations [member]; Cash flows from (used in) financing activities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2024-01-01 -Paragraph 33 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2024-en-r&anchor=para_33_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CashFlowsFromUsedInFinancingActivitiesDiscontinuedOperations
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash flows from (used in) the entity's investing activities, related to discontinued operations. [Refer: Discontinued operations [member]; Cash flows from (used in) investing activities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2024-01-01 -Paragraph 33 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2024-en-r&anchor=para_33_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CashFlowsFromUsedInInvestingActivitiesDiscontinuedOperations
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash flows from (used in) the entity's operating activities, related to discontinued operations. [Refer: Discontinued operations [member]; Cash flows from (used in) operating activities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2024-01-01 -Paragraph 33 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2024-en-r&anchor=para_33_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CashFlowsFromUsedInOperatingActivitiesDiscontinuedOperations
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of all expenses directly or indirectly attributed to the goods or services sold. Attributed expenses include, but are not limited to, costs previously included in the measurement of inventory that has now been sold, such as depreciation and maintenance of factory buildings and equipment used in the production process, unallocated production overheads, and abnormal amounts of production costs of inventories. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_99&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_103&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CostOfSales
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of depreciation expense, amortisation expense and impairment loss (reversal of impairment loss) recognised in profit or loss. [Refer: Depreciation and amortisation expense; Impairment loss (reversal of impairment loss) recognised in profit or loss] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_112_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition The amount of income or cost 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 2024-01-01 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_85&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_FinanceIncomeCost
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of revenue less cost of sales. [Refer: Cost of sales; Revenue] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_103&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_GrossProfit
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of operating income (expense) that the entity does not separately disclose in the same statement or note. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_85&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_OtherOperatingIncomeExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The profit (loss) before tax expense or income. [Refer: Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 28 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_28_b&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 23 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_23&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2024-01-01 -Paragraph 33 -Subparagraph b -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2024-en-r&anchor=para_33_b_i&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_103&doctype=Standard -URIDate 2024-03-27 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 102 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_102&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ProfitLossBeforeTax
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The profit (loss) from discontinued operations. [Refer: Discontinued operations [member]; Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2024-01-01 -Paragraph 33 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2024-en-r&anchor=para_33_a&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph B12 -Subparagraph b -Clause vii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_B12_b_vii&doctype=Appendix&subtype=B -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 98 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_98_e&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 82 -Subparagraph ea -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_82_ea&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ProfitLossFromDiscontinuedOperations
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The income arising in the course of an entity's ordinary activities. Income is increases in assets, or decreases in liabilities, that result in increases in equity, other than those relating to contributions from holders of equity claims. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 28 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_28_a&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 23 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_23_a&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 32 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_32&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 33 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_33_a&doctype=Standard -URIDate 2024-03-27 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 34 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_34&doctype=Standard -URIDate 2024-03-27 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2024-01-01 -Paragraph 33 -Subparagraph b -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2024-en-r&anchor=para_33_b_i&doctype=Standard -URIDate 2024-03-27 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph B12 -Subparagraph b -Clause v -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_B12_b_v&doctype=Appendix&subtype=B -URIDate 2024-03-27 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph B10 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_B10_b&doctype=Appendix&subtype=B -URIDate 2024-03-27 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 82 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_82_a&doctype=Standard -URIDate 2024-03-27 Reference 10: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_103&doctype=Standard -URIDate 2024-03-27 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 102 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_102&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_Revenue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of expense relating to the marketing and selling of goods or services. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_85&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_SalesAndMarketingExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The entity's share of the profit (loss) of associates accounted for using the equity method. [Refer: Total for all associates [member]; Investments accounted for using equity method; Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_85&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The tax expense (income) relating to the profit (loss) arising from ordinary activities of discontinued operations. [Refer: Discontinued operations [member]; Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2024-01-01 -Paragraph 33 -Subparagraph b -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2024-en-r&anchor=para_33_b_ii&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2024-01-01 -Paragraph 81 -Subparagraph h -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2024-en-r&anchor=para_81_h_ii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_TaxExpenseRelatingToProfitLossFromOrdinaryActivitiesOfDiscontinuedOperations
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of cessation of depreciation on disposal of investments. + References No definition available. + Details
Name: | ugp_CessationOfDepreciationOnDisposalOfInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The effect of exchange rate changes on cash and cash equivalents from discontinued operations, held or due in a foreign currency. + References No definition available. + Details
Name: | ugp_EffectOfExchangeRateChangesOnCashAndCashEquivalentsDiscontinuedOperations
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The increase (decrease) in cash and cash equivalents from discontinued operations including effect of exchange rate changes on cash and cash equivalents from discontinued operations, held or due in a foreign currency. + References No definition available. + Details
Name: | ugp_IncreaseDecreaseInCashAndCashEquivalentsIncludingEffectOfExchangeRateChangesOnCashAndCashEquivalentsDiscontinuedOperations
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Operating income before financial income (expenses) and income and social contribution taxes. + References No definition available. + Details
Name: | ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndIncomeAndSocialContributionTaxes
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total of Operating income before financial income or expenses and share of profit or loss of joint ventures and associate. + References No definition available. + Details
Name: | ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_SegmentConsolidationItemsAxis=ifrs-full_EliminationOfIntersegmentAmountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ContinuingAndDiscontinuedOperationsAxis=ifrs-full_DiscontinuedOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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