XML 97 R78.htm IDEA: XBRL DOCUMENT
v3.23.1

Discontinued operations (Details 2) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Discontinued operations |  |  |  |  |  |  |
Net revenue from sales and services |  | R$ 143,634,708 |  | R$ 109,732,842 |  | R$ 74,058,056 |
Cost of products and services sold |  | (136,276,257) |  | (104,827,966) |  | (70,056,447) |
Gross profit |  | 7,358,451 |  | 4,904,876 |  | 4,001,609 |
Operating income (expenses) |  |  |  |  |  |  |
Selling marketing and administrative |  | (2,141,985) |  | (1,931,666) |  | (1,611,152) |
Other operating income (expenses), net |  | (514,522) |  | 96,166 |  | 64,034 |
Operating income (loss) |  | 3,336,752 |  | 1,787,014 |  | 1,545,960 |
Income (loss) before finance result and income and social contribution taxes |  | 3,348,933 |  | 1,769,380 |  | 1,501,929 |
Financial result, net |  | (1,469,208) |  | (762,732) |  | (550,348) |
Income (loss) before income and social contribution taxes |  | 1,879,725 |  | 1,006,648 |  | 951,581 |
Net income (loss) for the year |  | 301,858 |  | 65,264 |  | 280,633 |
Depreciation and amortization for the year |  | 1,525,567 |  | 1,196,355 |  | 1,127,637 |
Net cash provided by (used in) operating activities |  | 30,550 |  | 982,519 |  | 874,106 |
Net cash (used in) provided by investing activities |  | (220,190) |  | (158,733) |  | (487,390) |
Net cash provided by (used in) financing activities |  | (179,025) |  | (552,967) |  | (919,684) |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  | (19,316) |  | 56,553 |  | 114,822 |
Extrafarma [member] |  |  |  |  |  |  |
Operating income (expenses) |  |  |  |  |  |  |
Impairment |  | (427,529) |  |  |  |  |
Eliminations |  |  |  |  |  |  |
Discontinued operations |  |  |  |  |  |  |
Net revenue from sales and services |  | (272,574) |  | (214,715) |  | (193,046) |
Cost of products and services sold |  | 266,122 |  | 194,118 |  | 133,384 |
Gross profit |  | (6,452) |  | (20,597) |  | (59,662) |
Operating income (expenses) |  |  |  |  |  |  |
Other operating income (expenses), net |  | 0 |  | 0 |  | 0 |
Operating income (loss) |  | 0 |  | 0 |  | 0 |
Income (loss) before finance result and income and social contribution taxes |  | 0 |  | 0 |  | 0 |
Depreciation and amortization for the year |  | (346) |  | 0 |  | 0 |
Total Discontinued operations |  |  |  |  |  |  |
Discontinued operations |  |  |  |  |  |  |
Net revenue from sales and services |  | 3,267,533 |  | 9,065,795 |  | 7,183,046 |
Cost of products and services sold |  | (2,485,069) |  | (6,901,181) |  | (5,571,767) |
Gross profit |  | 782,464 |  | 2,164,614 |  | 1,611,279 |
Operating income (expenses) |  |  |  |  |  |  |
Selling marketing and administrative |  | (639,966) |  | (1,664,015) |  |  |
Impairment |  |  |  | (427,529) |  |  |
Other operating income (expenses), net |  | 246,110 |  | 25,815 |  |  |
Operating income (loss) |  | 388,608 |  | 98,885 |  | 266,095 |
Share of profit (loss) of subsidiaries, joint ventures and associates |  | (231) |  | 48 |  |  |
Income (loss) before finance result and income and social contribution taxes |  | 388,377 |  | 98,933 |  | 266,509 |
Financial result, net |  | 52,525 |  | (146,970) |  | 280,974 |
Income (loss) before income and social contribution taxes |  | 440,902 |  | (48,037) |  | 547,483 |
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 |  | 280,633 |
Depreciation and amortization for the year |  |  |  | 463,414 | [2] | 428,962 | [3]
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 |  | (418,146) |
Total Discontinued operations | Oxiteno S. A. Industria e Comercio [member] |  |  |  |  |  |  |
Discontinued operations |  |  |  |  |  |  |
Net revenue from sales and services |  | 2,039,287 |  | 7,102,771 |  | 5,210,704 |
Cost of products and services sold |  | (1,580,000) |  | (5,540,773) |  | (4,188,711) |
Gross profit |  | 459,287 |  | 1,561,998 |  | 1,021,993 |
Operating income (expenses) |  |  |  |  |  |  |
Selling marketing and administrative |  | (201,365) |  | (978,221) |  |  |
Impairment |  |  |  | 0 |  |  |
Other operating income (expenses), net |  | 10,736 |  | 26,924 |  |  |
Operating income (loss) |  | 268,658 |  | 610,701 |  | 344,394 |
Share of profit (loss) of subsidiaries, joint ventures and associates |  | (231) |  | 48 |  |  |
Income (loss) before finance result and income and social contribution taxes |  | 268,427 |  | 610,749 |  | 344,808 |
Financial result, net |  | 23,153 |  | (431,441) |  | 1,482 |
Income (loss) before income and social contribution taxes |  | 291,580 |  | 179,308 |  | 346,290 |
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 |  | 0 |
Depreciation and amortization for the year |  |  |  | 308,564 | [2] | 275,063 | [3]
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) |  | (515,927) |
Total Discontinued operations | Extrafarma [member] |  |  |  |  |  |  |
Discontinued operations |  |  |  |  |  |  |
Net revenue from sales and services |  | 1,235,487 |  | 1,986,932 |  | 1,988,411 |
Cost of products and services sold |  | (912,310) |  | (1,384,316) |  | (1,399,125) |
Gross profit |  | 323,177 |  | 602,616 |  | 589,286 |
Operating income (expenses) |  |  |  |  |  |  |
Selling marketing and administrative |  | (438,601) |  | (685,794) |  |  |
Impairment |  |  |  | (427,529) |  |  |
Other operating income (expenses), net |  | (5,951) |  | (1,109) |  |  |
Operating income (loss) |  | (121,375) |  | (511,816) |  | (78,299) |
Share of profit (loss) of subsidiaries, joint ventures and associates |  | 0 |  | 0 |  |  |
Income (loss) before finance result and income and social contribution taxes |  | (121,375) |  | (511,816) |  | (78,299) |
Financial result, net |  | (25,059) |  | (45,265) |  | (38,938) |
Income (loss) before income and social contribution taxes |  | (146,434) |  | (557,081) |  | (117,237) |
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) |  | 0 |
Depreciation and amortization for the year |  |  |  | 154,850 | [2] | 153,899 | [3]
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) |  | 116,184 |
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 income (expenses) |  |  |  |  |  |  |
Selling marketing and administrative |  | 0 |  |  |  |  |
Other operating income (expenses), net |  | 241,325 |  |  |  |  |
Operating income (loss) |  | 241,325 |  |  |  |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  | 0 |  |  |  |  |
Income (loss) before finance 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) | [4] | (23,908) | [5] | (16,069) |
Cost of products and services sold |  | 7,241 | [4] | 23,908 | [5] | 16,069 |
Gross profit |  | 0 | [4] | 0 | [5] | 0 |
Operating income (expenses) |  |  |  |  |  |  |
Selling marketing and administrative |  | 0 | [4] | 0 | [5] |  |
Impairment | [5] |  |  | 0 |  |  |
Other operating income (expenses), net |  | 0 | [4] | 0 | [5] |  |
Operating income (loss) |  | 0 | [4] | 0 | [5] | 0 |
Share of profit (loss) of subsidiaries, joint ventures and associates |  | 0 | [4] | 0 | [5] |  |
Income (loss) before finance result and income and social contribution taxes |  | 0 | [4] | 0 | [5] | 0 |
Financial result, net |  | 54,431 | [4] | 329,736 | [5] | 318,430 |
Income (loss) before income and social contribution taxes |  | 54,431 | [4] | 329,736 | [5] | 318,430 |
Income and social contribution taxes |  | (18,507) | [4] | (112,110) | [5] |  |
Net effect of cessation of depreciation | [1],[4] | 0 |  |  |  |  |
Net income (loss) for the year |  | 35,924 | [4] | 217,626 | [5] | 0 |
Depreciation and amortization for the year |  |  |  | 0 | [2],[5] | 0 | [3]
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 |  | R$ (18,403) |
[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] | Balances included for complete breakdown of segment information.
[4] | Elimination between continuing and discontinued operations related to the interest on the intercompany loan between Ultrapar International and Oxiteno.
[5] | 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 2022-03-24 -Paragraph 33 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_c&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 33 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_c&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 33 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_c&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_99&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_103&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_85&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_103&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 126 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_126_a&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2022-03-24 -Paragraph 129 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_129_a&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_85&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 28 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28_b&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 23 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_23&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2022-03-24 -Paragraph 33 -Subparagraph b -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_b_i&doctype=Standard -URIDate 2022-03-24 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_103&doctype=Standard -URIDate 2022-03-24 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 102 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_102&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 33 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_a&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph B12 -Subparagraph b -Clause vii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_vii&doctype=Appendix&subtype=B -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 82 -Subparagraph ea -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_82_ea&doctype=Standard -URIDate 2022-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 98 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_98_e&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 28 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28_a&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 23 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_23_a&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 32 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_32&doctype=Standard -URIDate 2022-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 33 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_33_a&doctype=Standard -URIDate 2022-03-24 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 34 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_34&doctype=Standard -URIDate 2022-03-24 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2022-03-24 -Paragraph 33 -Subparagraph b -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_b_i&doctype=Standard -URIDate 2022-03-24 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph B12 -Subparagraph b -Clause v -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_v&doctype=Appendix&subtype=B -URIDate 2022-03-24 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph B10 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B10_b&doctype=Appendix&subtype=B -URIDate 2022-03-24 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 82 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_82_a&doctype=Standard -URIDate 2022-03-24 Reference 10: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_103&doctype=Standard -URIDate 2022-03-24 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 102 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_102&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_85&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_85&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 33 -Subparagraph b -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_b_ii&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph h -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_h_ii&doctype=Standard -URIDate 2022-03-24 + 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_SignificantInvestmentsInSubsidiariesAxis=ugp_ExtrafarmaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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_UltraparMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |