XML 205 R180.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Discontinued operations (Details) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Discontinued operations |  |  |  |  |  |
Net revenue from sales and services |  | R$ 126,048,701 | R$ 143,634,708 |  | R$ 109,732,842 |
Cost of products and services sold |  | (116,730,469) | (136,276,257) |  | (104,827,966) |
Gross profit |  | 9,318,232 | 7,358,451 |  | 4,904,876 |
Operating revenues (expenses) |  |  |  |  |  |
Selling marketing and administrative |  | (2,253,226) | (2,141,985) |  | (1,931,666) |
Other operating income (expenses), net |  | (602,865) | (514,522) |  | 96,166 |
Operating income before financial result and share of profit of subsidiaries, joint ventures and associates and income and social contribution taxes |  | 4,565,917 | 3,336,752 |  | 1,787,014 |
Income before financial result and income and social contribution taxes |  | 4,577,825 | 3,348,933 |  | 1,769,380 |
Financial result, net |  | (999,130) | (1,469,208) |  | (762,732) |
Income (loss) before income and social contribution taxes |  | 3,578,695 | 1,879,725 |  | 1,006,648 |
Net income (loss) for the year |  | 0 | 301,858 |  | 65,264 |
Depreciation and amortization for the year |  | 1,753,722 | 1,525,567 |  | 1,196,355 |
Net cash provided by (used in) operating activities |  | 0 | 30,550 |  | 982,519 |
Net cash (used in) provided by investing activities |  | 0 | (220,190) |  | (158,733) |
Net cash provided by (used in) financing activities |  | 0 | (179,025) |  | (552,967) |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  | 0 | (19,316) |  | 56,553 |
Eliminations |  |  |  |  |  |
Discontinued operations |  |  |  |  |  |
Net revenue from sales and services |  | (491,271) | (272,574) |  | (214,715) |
Cost of products and services sold |  | 466,532 | 266,122 |  | 194,118 |
Gross profit |  | (24,739) | (6,452) |  | (20,597) |
Operating revenues (expenses) |  |  |  |  |  |
Other operating income (expenses), net |  | 0 | 0 |  | 0 |
Operating income before financial result and share of profit of subsidiaries, joint ventures and associates and income and social contribution taxes |  | (59,056) | 0 |  | 0 |
Income before financial result and income and social contribution taxes |  | (59,056) | 0 |  | 0 |
Depreciation and amortization for the year |  | R$ (492) | (346) |  | 0 |
Total Discontinued operations |  |  |  |  |  |
Discontinued operations |  |  |  |  |  |
Net revenue from sales and services |  |  | 3,267,533 |  | 9,065,795 |
Cost of products and services sold |  |  | (2,485,069) |  | (6,901,181) |
Gross profit |  |  | 782,464 |  | 2,164,614 |
Operating revenues (expenses) |  |  |  |  |  |
Selling marketing and administrative |  |  | (639,966) |  | (1,664,015) |
Impairment |  |  |  |  | (427,529) |
Other operating income (expenses), net |  |  | 246,110 |  | 25,815 |
Operating income before financial result and share of profit of subsidiaries, joint ventures and associates and income and social contribution taxes |  |  | 388,608 |  | 98,885 |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  | (231) |  | 48 |
Income before financial result and income and social contribution taxes |  |  | 388,377 |  | 98,933 |
Financial result, net |  |  | 52,525 |  | (146,970) |
Income (loss) before income and social contribution taxes |  |  | 440,902 |  | (48,037) |
Income and social contribution taxes |  |  | (217,500) |  | 113,301 |
Net effect of cessation of depreciation | [1] |  | 78,456 |  |  |
Net income (loss) for the year |  |  | 301,858 |  | 65,264 |
Depreciation and amortization for the year | [2] |  |  |  | 463,414 |
Net cash provided by (used in) operating activities |  |  | 30,550 |  | 982,519 |
Net cash (used in) provided by investing activities |  |  | (220,190) |  | (158,733) |
Net cash provided by (used in) financing activities |  |  | (179,025) |  | (552,967) |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  |  | (19,316) |  | 56,553 |
Increase (decrease) in cash and cash equivalents |  |  | (387,981) |  | 327,372 |
Total Discontinued operations | Oxiteno S. A. Industria e Comercio [member] |  |  |  |  |  |
Discontinued operations |  |  |  |  |  |
Net revenue from sales and services |  |  | 2,039,287 |  | 7,102,771 |
Cost of products and services sold |  |  | (1,580,000) |  | (5,540,773) |
Gross profit |  |  | 459,287 |  | 1,561,998 |
Operating revenues (expenses) |  |  |  |  |  |
Selling marketing and administrative |  |  | (201,365) |  | (978,221) |
Impairment |  |  |  |  | 0 |
Other operating income (expenses), net |  |  | 10,736 |  | 26,924 |
Operating income before financial result and share of profit of subsidiaries, joint ventures and associates and income and social contribution taxes |  |  | 268,658 |  | 610,701 |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  | (231) |  | 48 |
Income before financial result and income and social contribution taxes |  |  | 268,427 |  | 610,749 |
Financial result, net |  |  | 23,153 |  | (431,441) |
Income (loss) before income and social contribution taxes |  |  | 291,580 |  | 179,308 |
Income and social contribution taxes |  |  | (16,924) |  | 69,995 |
Net effect of cessation of depreciation | [1] |  | 51,372 |  |  |
Net income (loss) for the year |  |  | 326,028 |  | 249,303 |
Depreciation and amortization for the year | [2] |  |  |  | 308,564 |
Net cash provided by (used in) operating activities |  |  | (81,558) |  | 1,016,580 |
Net cash (used in) provided by investing activities |  |  | 1,011,736 |  | (122,363) |
Net cash provided by (used in) financing activities |  |  | (1,245,754) |  | (1,054,930) |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  |  | (19,316) |  | 56,553 |
Increase (decrease) in cash and cash equivalents |  |  | (334,892) |  | (104,160) |
Total Discontinued operations | Extrafarma [member] |  |  |  |  |  |
Discontinued operations |  |  |  |  |  |
Net revenue from sales and services |  |  | 1,235,487 |  | 1,986,932 |
Cost of products and services sold |  |  | (912,310) |  | (1,384,316) |
Gross profit |  |  | 323,177 |  | 602,616 |
Operating revenues (expenses) |  |  |  |  |  |
Selling marketing and administrative |  |  | (438,601) |  | (685,794) |
Impairment |  |  |  |  | (427,529) |
Other operating income (expenses), net |  |  | (5,951) |  | (1,109) |
Operating income before financial result and share of profit of subsidiaries, joint ventures and associates and income and social contribution taxes |  |  | (121,375) |  | (511,816) |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  | 0 |  | 0 |
Income before financial result and income and social contribution taxes |  |  | (121,375) |  | (511,816) |
Financial result, net |  |  | (25,059) |  | (45,265) |
Income (loss) before income and social contribution taxes |  |  | (146,434) |  | (557,081) |
Income and social contribution taxes |  |  | 20,826 |  | 155,416 |
Net effect of cessation of depreciation | [1] |  | 27,084 |  |  |
Net income (loss) for the year |  |  | (98,524) |  | (401,665) |
Depreciation and amortization for the year | [2] |  |  |  | 154,850 |
Net cash provided by (used in) operating activities |  |  | (68,370) |  | (33,273) |
Net cash (used in) provided by investing activities |  |  | (25,323) |  | (35,072) |
Net cash provided by (used in) financing activities |  |  | 40,585 |  | 35,286 |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  |  | 0 |  | 0 |
Increase (decrease) in cash and cash equivalents |  |  | (53,108) |  | (33,059) |
Total Discontinued operations | Ultrapar [Member] |  |  |  |  |  |
Discontinued operations |  |  |  |  |  |
Net revenue from sales and services |  |  | 0 |  |  |
Cost of products and services sold |  |  | 0 |  |  |
Gross profit |  |  | 0 |  |  |
Operating revenues (expenses) |  |  |  |  |  |
Selling marketing and administrative |  |  | 0 |  |  |
Other operating income (expenses), net |  |  | 241,325 |  |  |
Operating income before financial result and share of profit of subsidiaries, joint ventures and associates 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 |  |  |  |  |  |
Discontinued operations |  |  |  |  |  |
Net revenue from sales and services |  |  | (7,241) | [3] | (23,908) | [4]
Cost of products and services sold |  |  | 7,241 | [3] | 23,908 | [4]
Gross profit |  |  | 0 | [3] | 0 | [4]
Operating revenues (expenses) |  |  |  |  |  |
Selling marketing and administrative |  |  | 0 | [3] | 0 | [4]
Impairment | [4] |  |  |  | 0 |
Other operating income (expenses), net |  |  | 0 | [3] | 0 | [4]
Operating income before financial result and share of profit of subsidiaries, joint ventures and associates and income and social contribution taxes |  |  | 0 | [3] | 0 | [4]
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  | 0 | [3] | 0 | [4]
Income before financial result and income and social contribution taxes |  |  | 0 | [3] | 0 | [4]
Financial result, net |  |  | 54,431 | [3] | 329,736 | [4]
Income (loss) before income and social contribution taxes |  |  | 54,431 | [3] | 329,736 | [4]
Income and social contribution taxes |  |  | (18,507) | [3] | (112,110) | [4]
Net effect of cessation of depreciation | [1],[3] |  | 0 |  |  |
Net income (loss) for the year |  |  | 35,924 | [3] | 217,626 | [4]
Depreciation and amortization for the year | [2],[4] |  |  |  | 0 |
Net cash provided by (used in) operating activities |  |  | 180,478 |  | (788) |
Net cash (used in) provided by investing activities |  |  | (1,206,603) |  | (1,298) |
Net cash provided by (used in) financing activities |  |  | 1,026,144 |  | 466,677 |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  |  | 0 |  | 0 |
Increase (decrease) in cash and cash equivalents |  |  | R$ 19 |  | R$ 464,591 |
[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] | Balances included for a complete breakdown of segment information.
[3] | Elimination between continuing and discontinued operations related to the intercompany loan between Ultrapar International and Oxiteno.
[4] | Elimination between the continued operations and discontinued operations related to 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 2023-01-01 -Paragraph 33 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2023-en-r&anchor=para_33_c&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 33 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2023-en-r&anchor=para_33_c&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 33 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2023-en-r&anchor=para_33_c&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_99&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_103&doctype=Standard -URIDate 2023-03-23 + 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 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_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 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_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 2023-01-01 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_103&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_GrossProfit
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of impairment loss recognised in profit or loss. [Refer: Impairment loss; Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2023-01-01 -Paragraph 126 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2023-en-r&anchor=para_126_a&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2023-01-01 -Paragraph 129 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2023-en-r&anchor=para_129_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ImpairmentLossRecognisedInProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 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_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/disclosureRef -Name IFRS -Number 5 -IssueDate 2023-01-01 -Paragraph 33 -Subparagraph b -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2023-en-r&anchor=para_33_b_i&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 8 -IssueDate 2023-01-01 -Paragraph 28 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_28_b&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 8 -IssueDate 2023-01-01 -Paragraph 23 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_23&doctype=Standard -URIDate 2023-03-23 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_103&doctype=Standard -URIDate 2023-03-23 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 102 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_102&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 33 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2023-en-r&anchor=para_33_a&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph B12 -Subparagraph b -Clause vii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B12_b_vii&doctype=Appendix&subtype=B -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 82 -Subparagraph ea -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_82_ea&doctype=Standard -URIDate 2023-03-23 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 98 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_98_e&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 28 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_28_a&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2023-01-01 -Paragraph 23 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_23_a&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2023-01-01 -Paragraph 32 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_32&doctype=Standard -URIDate 2023-03-23 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2023-01-01 -Paragraph 33 -Subparagraph b -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2023-en-r&anchor=para_33_b_i&doctype=Standard -URIDate 2023-03-23 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2023-01-01 -Paragraph 33 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_33_a&doctype=Standard -URIDate 2023-03-23 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -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 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph B12 -Subparagraph b -Clause v -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B12_b_v&doctype=Appendix&subtype=B -URIDate 2023-03-23 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph B10 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B10_b&doctype=Appendix&subtype=B -URIDate 2023-03-23 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 82 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_82_a&doctype=Standard -URIDate 2023-03-23 Reference 10: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_103&doctype=Standard -URIDate 2023-03-23 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 102 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_102&doctype=Standard -URIDate 2023-03-23 + 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 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_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: 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 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_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 2023-01-01 -Paragraph 33 -Subparagraph b -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2023-en-r&anchor=para_33_b_ii&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2023-01-01 -Paragraph 81 -Subparagraph h -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_h_ii&doctype=Standard -URIDate 2023-03-23 + 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
- Definition Operating Income Expenses [abstract] + References No definition available. + Details
Name: | ugp_OperatingIncomeExpensesAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
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: |