XML 98 R79.htm IDEA: XBRL DOCUMENT
v3.23.1

Discontinued operations (Details 3) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Discontinued operations |  |  |  |  |  |
Net revenue | 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) |  |  |  |  |  |
Operating income (loss) | 3,336,752 |  | 1,787,014 |  | 1,545,960 |
Share of profit (loss) of subsidiaries, joint ventures and associates | 12,181 |  | (17,634) |  | (44,031) |
Operating income before financial income (expenses) 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 |
Income and social contribution taxes | (341,514) |  | (188,034) |  | (304,517) |
Net income from continuing operations | 1,538,211 |  | 818,614 |  | 647,064 |
Net income from discontinued operations | 301,858 |  | 65,264 |  | 280,633 |
Profit (loss) for the year | 1,840,069 |  | 883,878 |  | 927,697 |
Depreciation and amortization for the year | 1,525,567 |  | 1,196,355 |  | 1,127,637 |
Net cash provided by (used in) operating activities | 1,974,144 |  | 1,603,441 |  | 2,264,013 |
Net cash used in investing activities | 8,123,291 |  | 882,869 |  | (1,649,015) |
Net cash provided by (used in) financing activities | (6,731,716) |  | (2,802,574) |  | 327,351 |
Elimination of intersegment amounts [member] |  |  |  |  |  |
Discontinued operations |  |  |  |  |  |
Net revenue | (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) |  |  |  |  |  |
Operating income (loss) | 0 |  | 0 |  | 0 |
Share of profit (loss) of subsidiaries, joint ventures and associates | 0 |  | 0 |  | 0 |
Operating income before financial income (expenses) 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 | 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 |  |  |  |  | (1,493,238) |
Other operating income, net |  |  |  |  | 148,054 |
Operating income (loss) | 388,608 |  | 98,885 |  | 266,095 |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  |  | 414 |
Operating income before financial income (expenses) 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 |  |  |  |  | (266,850) |
Net income from continuing operations |  |  |  |  | 0 |
Net income from discontinued operations | 301,858 |  | 65,264 |  | 280,633 |
Profit (loss) for the year |  |  |  |  | 280,633 |
Depreciation and amortization for the year |  |  | 463,414 | [1] | 428,962 | [2]
Net cash provided by (used in) operating activities |  |  |  |  | 874,106 |
Net cash used in investing activities |  |  |  |  | (487,390) |
Net cash provided by (used in) financing activities |  |  |  |  | (919,684) |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  |  |  |  | 114,822 |
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 | 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 |  |  |  |  | (831,056) |
Other operating income, net |  |  |  |  | 153,457 |
Operating income (loss) | 268,658 |  | 610,701 |  | 344,394 |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  |  | 414 |
Operating income before financial income (expenses) 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 |  |  |  |  | (118,132) |
Net income from continuing operations |  |  |  |  | 0 |
Net income from discontinued operations | 326,028 |  | 249,303 |  | 0 |
Profit (loss) for the year |  |  |  |  | 228,158 |
Depreciation and amortization for the year |  |  | 308,564 | [1] | 275,063 | [2]
Net cash provided by (used in) operating activities |  |  |  |  | 765,090 |
Net cash used in investing activities |  |  |  |  | (159,349) |
Net cash provided by (used in) financing activities |  |  |  |  | (1,236,490) |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  |  |  |  | 114,822 |
Increase (decrease) in cash and cash equivalents | (334,892) |  | (104,160) |  | (515,927) |
Total Discontinued operations | Extrafarma [member] |  |  |  |  |  |
Discontinued operations |  |  |  |  |  |
Net revenue | 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 |  |  |  |  | (662,182) |
Other operating income, net |  |  |  |  | (5,403) |
Operating income (loss) | (121,375) |  | (511,816) |  | (78,299) |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  |  | 0 |
Operating income before financial income (expenses) 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 |  |  |  |  | (40,453) |
Net income from continuing operations |  |  |  |  | 0 |
Net income from discontinued operations | (98,524) |  | (401,665) |  | 0 |
Profit (loss) for the year |  |  |  |  | (157,690) |
Depreciation and amortization for the year |  |  | 154,850 | [1] | 153,899 | [2]
Net cash provided by (used in) operating activities |  |  |  |  | 111,396 |
Net cash used in investing activities |  |  |  |  | (6,484) |
Net cash provided by (used in) financing activities |  |  |  |  | 11,272 |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  |  |  |  | 0 |
Increase (decrease) in cash and cash equivalents | (53,108) |  | (33,059) |  | 116,184 |
Total Discontinued operations | Elimination of intersegment amounts [member] |  |  |  |  |  |
Discontinued operations |  |  |  |  |  |
Net revenue | (7,241) | [3] | (23,908) | [4] | (16,069) |
Cost of products and services sold | 7,241 | [3] | 23,908 | [4] | 16,069 |
Gross profit | 0 | [3] | 0 | [4] | 0 |
Operating income (expenses) |  |  |  |  |  |
Selling marketing and administrative |  |  |  |  | 0 |
Other operating income, net |  |  |  |  | 0 |
Operating income (loss) | 0 | [3] | 0 | [4] | 0 |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  |  | 0 |
Operating income before financial income (expenses) and income and social contribution taxes | 0 | [3] | 0 | [4] | 0 |
Financial result, net | 54,431 | [3] | 329,736 | [4] | 318,430 |
Income (loss) before income and social contribution taxes | 54,431 | [3] | 329,736 | [4] | 318,430 |
Income and social contribution taxes |  |  |  |  | (108,265) |
Net income from continuing operations |  |  |  |  | 0 |
Net income from discontinued operations | 35,924 | [3] | 217,626 | [4] | 0 |
Profit (loss) for the year |  |  |  |  | 210,165 |
Depreciation and amortization for the year |  |  | 0 | [1],[4] | 0 | [2]
Net cash provided by (used in) operating activities |  |  |  |  | (2,380) |
Net cash used in investing activities |  |  |  |  | (321,557) |
Net cash provided by (used in) financing activities |  |  |  |  | 305,534 |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  |  |  |  | 0 |
Increase (decrease) in cash and cash equivalents | R$ 19 |  | R$ 464,591 |  | R$ (18,403) |
[1] | Balances included for a complete breakdown of segment information.
[2] | Balances included for complete breakdown of segment information.
[3] | Elimination between continuing and discontinued operations related to the interest on 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 continuing operations. [Refer: Continuing 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_CashFlowsFromUsedInFinancingActivitiesContinuingOperations
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 continuing operations. [Refer: Continuing 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_CashFlowsFromUsedInInvestingActivitiesContinuingOperations
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 continuing operations. [Refer: Continuing 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_CashFlowsFromUsedInOperatingActivitiesContinuingOperations
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 effect of exchange rate changes on cash and cash equivalents held or due in a foreign currency. [Refer: Cash and cash equivalents] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 25 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_25&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 28 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_28&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 aggregate amount included in the determination of profit (loss) for the period in respect of current tax and deferred tax. [Refer: Current tax expense (income); Deferred tax expense (income)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 23 -Subparagraph h -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_23_h&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 26 -IssueDate 2022-03-24 -Paragraph 35 -Subparagraph b -Clause viii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=26&code=ifrs-tx-2022-en-r&anchor=para_35_b_viii&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 79 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_79&doctype=Standard -URIDate 2022-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph c -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_c_i&doctype=Standard -URIDate 2022-03-24 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph c -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_c_ii&doctype=Standard -URIDate 2022-03-24 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph B13 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B13_g&doctype=Appendix&subtype=B -URIDate 2022-03-24 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 82 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_82_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_IncomeTaxExpenseContinuingOperations
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The gains (losses) 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 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 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -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_OtherGainsLosses
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The total of income less expenses from continuing and discontinued operations, excluding the components of other comprehensive income. [Refer: Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 18 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_18_b&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2022-03-24 -Paragraph 32 -Subparagraph a -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2022-en-r&anchor=para_32_a_ii&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2022-03-24 -Paragraph 24 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2022-en-r&anchor=para_24_b&doctype=Standard -URIDate 2022-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -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 5: http://www.xbrl.org/2003/role/exampleRef -Note Effective on first application of IFRS 9 -Name IFRS -Number 4 -IssueDate 2022-03-24 -Paragraph 39L -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_39L_e&doctype=Standard -URIDate 2022-03-24 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -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 7: 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 8: http://www.xbrl.org/2003/role/exampleRef -Note Effective 2023-01-01 -Name IFRS -Number 17 -IssueDate 2022-03-24 -Paragraph 113 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_113_b&doctype=Standard -URIDate 2022-03-24 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 81A -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_81A_a&doctype=Standard -URIDate 2022-03-24 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 106 -Subparagraph d -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_106_d_i&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ProfitLoss
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 continuing operations. [Refer: Continuing operations [member]; Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -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/disclosureRef -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 12 -IssueDate 2022-03-24 -Paragraph B12 -Subparagraph b -Clause vi -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_vi&doctype=Appendix&subtype=B -URIDate 2022-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 81A -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_81A_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ProfitLossFromContinuingOperations
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 selling, general and administrative 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_SellingGeneralAndAdministrativeExpense
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 and joint ventures accounted for using the equity method. [Refer: Associates [member]; Investments accounted for using equity method; Joint ventures [member]; Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 28 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28_e&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 g -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_23_g&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Note Effective on first application of IFRS 9 -Name IFRS -Number 4 -IssueDate 2022-03-24 -Paragraph 39M -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_39M_b&doctype=Standard -URIDate 2022-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 82 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_82_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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: |