XML 110 R81.htm IDEA: XBRL DOCUMENT
v3.22.1

Assets and liabilities from subsidiaries held for sale and discontinued operations (Details 2) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Assets and liabilities from subsidiaries held for sale and discontinued operations |  |  |  |  |  |  |
Net revenue from sales and services |  | R$ 109,732,842 |  | R$ 74,058,056 | [1] | R$ 83,004,729 | [1]
Cost of products and services sold |  | (104,827,966) |  | (70,056,447) |  | (78,208,786) |
Gross profit |  | 4,904,876 |  | 4,001,609 |  | 4,795,943 |
Operating income (expenses) |  |  |  |  |  |  |
Selling marketing and administrative |  | (1,934,789) |  | (1,595,871) |  | (1,631,760) |
Other operating income, net |  | 96,166 |  | 64,034 |  | 140,029 |
Operating income (loss) before finance income (expenses) and share of profit (loss) of joint ventures and associates |  | 1,787,014 |  | 1,545,960 |  | 2,051,237 |
Share of profit of associates |  | 434 |  | 1,781 |  | 1,754 |
Operating income before finance income (expenses) and income and social contribution taxes |  | 1,769,380 |  | 1,501,929 |  | 2,038,528 |
Financial result, net |  | (762,732) |  | (550,348) | [2] | (673,351) | [2]
Profit (loss) before income and social contribution taxes |  | 1,006,648 |  | 951,581 |  | 1,365,177 |
Profit (loss) for the year |  | 65,264 |  | 280,633 |  | (492,257) |
Depreciation and amortization for the year |  | 1,196,355 |  | 1,127,637 | [3] | 1,123,627 |
Net cash provided by (used in) operating activities |  | 982,519 |  | 874,106 |  | 552,468 |
Net cash used in investing activities |  | (158,733) |  | (487,390) |  | (995,923) |
Net cash provided by (used in) financing activities |  | (552,967) |  | (919,684) |  | (241,907) |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  | 56,553 |  | 114,822 |  | 30,871 |
Extrafarma [member] |  |  |  |  |  |  |
Operating income (expenses) |  |  |  |  |  |  |
Impairment |  | (427,529) |  |  |  |  |
Eliminations |  |  |  |  |  |  |
Assets and liabilities from subsidiaries held for sale and discontinued operations |  |  |  |  |  |  |
Net revenue from sales and services |  | (214,715) |  | (193,046) |  | (127,397) |
Cost of products and services sold |  | 194,118 |  | 133,384 |  | 119,405 |
Gross profit |  | (20,597) |  | (59,662) |  | (7,992) |
Operating income (expenses) |  |  |  |  |  |  |
Selling marketing and administrative |  |  |  |  |  |  |
Other operating income, net |  |  |  |  |  |  |
Operating income (loss) before finance income (expenses) and share of profit (loss) of joint ventures and associates |  |  |  |  |  |  |
Operating income before finance income (expenses) and income and social contribution taxes |  |  |  |  |  |  |
Depreciation and amortization for the year |  |  |  |  |  |  |
Total Discontinued operations |  |  |  |  |  |  |
Assets and liabilities from subsidiaries held for sale and discontinued operations |  |  |  |  |  |  |
Net revenue from sales and services |  | 9,065,795 |  | 7,183,046 |  | (6,293,246) |
Cost of products and services sold |  | (6,901,181) |  | (5,571,767) |  | (4,978,323) |
Gross profit |  | 2,164,614 |  | 1,611,279 |  | 1,314,923 |
Operating income (expenses) |  |  |  |  |  |  |
Selling marketing and administrative |  | (1,664,015) |  |  |  |  |
Impairment |  | (427,529) |  |  |  |  |
Other operating income, net |  | 25,815 |  |  |  |  |
Operating income (loss) before finance income (expenses) and share of profit (loss) of joint ventures and associates |  | 98,885 |  | 266,095 |  | (750,685) |
Share of profit of associates |  | 48 |  |  |  |  |
Operating income before finance income (expenses) and income and social contribution taxes |  | 98,933 |  | 266,509 |  | (750,121) |
Financial result, net |  | (146,970) |  | 280,974 |  | 166,497 |
Profit (loss) before income and social contribution taxes |  | (48,037) |  | 547,483 |  | (583,624) |
Income and social contribution taxes |  | 113,301 |  |  |  |  |
Profit (loss) for the year |  | 65,264 |  | 280,633 |  | 492,257 |
Depreciation and amortization for the year |  | 463,414 | [4] | 428,962 | [3] | 376,328 |
Net cash provided by (used in) operating activities |  | 982,519 |  |  |  |  |
Net cash used in investing activities |  | (158,733) |  |  |  |  |
Net cash provided by (used in) financing activities |  | (552,967) |  |  |  |  |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  | 56,553 |  |  |  |  |
(Decrease) increase in cash and cash equivalents |  | 327,372 |  |  |  |  |
Total Discontinued operations | Oxiteno S. A. Industria e Comercio [member] |  |  |  |  |  |  |
Assets and liabilities from subsidiaries held for sale and discontinued operations |  |  |  |  |  |  |
Net revenue from sales and services |  | 7,102,771 |  | 5,210,704 |  | 4,254,237 |
Cost of products and services sold |  | (5,540,773) |  | (4,188,711) |  | (3,537,570) |
Gross profit |  | 1,561,998 |  | 1,021,993 |  | 716,667 |
Operating income (expenses) |  |  |  |  |  |  |
Selling marketing and administrative |  | (978,221) |  |  |  |  |
Impairment |  | 0 |  |  |  |  |
Other operating income, net |  | 26,924 |  |  |  |  |
Operating income (loss) before finance income (expenses) and share of profit (loss) of joint ventures and associates |  | 610,701 |  | 344,394 |  | (26,287) |
Share of profit of associates |  | 48 |  |  |  |  |
Operating income before finance income (expenses) and income and social contribution taxes |  | 610,749 |  | 344,808 |  | (25,759) |
Financial result, net |  | (431,441) |  | 1,482 |  | 14,464 |
Profit (loss) before income and social contribution taxes |  | 179,308 |  | 346,290 |  | (11,295) |
Income and social contribution taxes |  | 69,995 |  |  |  |  |
Profit (loss) for the year |  | 249,303 |  | 0 |  | (23,896) |
Depreciation and amortization for the year |  | 308,564 | [4] | 275,063 | [3] | (222,004) |
Net cash provided by (used in) operating activities |  | 1,016,580 |  |  |  |  |
Net cash used in investing activities |  | (122,363) |  |  |  |  |
Net cash provided by (used in) financing activities |  | (1,054,930) |  |  |  |  |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  | 56,553 |  |  |  |  |
(Decrease) increase in cash and cash equivalents |  | (104,160) |  |  |  |  |
Total Discontinued operations | Extrafarma [member] |  |  |  |  |  |  |
Assets and liabilities from subsidiaries held for sale and discontinued operations |  |  |  |  |  |  |
Net revenue from sales and services |  | 1,986,932 |  | 1,988,411 |  | 2,060,569 |
Cost of products and services sold |  | (1,384,316) |  | (1,399,125) |  | (1,462,313) |
Gross profit |  | 602,616 |  | 589,286 |  | 598,256 |
Operating income (expenses) |  |  |  |  |  |  |
Selling marketing and administrative |  | (685,794) |  |  |  |  |
Impairment |  | (427,529) |  |  |  |  |
Other operating income, net |  | (1,109) |  |  |  |  |
Operating income (loss) before finance income (expenses) and share of profit (loss) of joint ventures and associates |  | (511,816) |  | (78,299) |  | (724,398) |
Share of profit of associates |  | 0 |  |  |  |  |
Operating income before finance income (expenses) and income and social contribution taxes |  | (511,816) |  | (78,299) |  | (724,398) |
Financial result, net |  | (45,265) |  | (38,938) |  | (32,451) |
Profit (loss) before income and social contribution taxes |  | (557,081) |  | (117,237) |  | (756,849) |
Income and social contribution taxes |  | 155,416 |  |  |  |  |
Profit (loss) for the year |  | (401,665) |  | 0 |  | 637,948 |
Depreciation and amortization for the year |  | 154,850 | [4] | 153,899 | [3] | (154,324) |
Net cash provided by (used in) operating activities |  | (33,273) |  |  |  |  |
Net cash used in investing activities |  | (35,072) |  |  |  |  |
Net cash provided by (used in) financing activities |  | 35,286 |  |  |  |  |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  | 0 |  |  |  |  |
(Decrease) increase in cash and cash equivalents |  | (33,059) |  |  |  |  |
Total Discontinued operations | Eliminations |  |  |  |  |  |  |
Assets and liabilities from subsidiaries held for sale and discontinued operations |  |  |  |  |  |  |
Net revenue from sales and services |  | (23,908) | [5] | (16,069) |  | (21,560) |
Cost of products and services sold |  | 23,908 | [5] | 16,069 |  | 21,560 |
Gross profit |  | 0 | [5] | 0 |  | 0 |
Operating income (expenses) |  |  |  |  |  |  |
Selling marketing and administrative | [5] | 0 |  |  |  |  |
Impairment | [5] | 0 |  |  |  |  |
Other operating income, net | [5] | 0 |  |  |  |  |
Operating income (loss) before finance income (expenses) and share of profit (loss) of joint ventures and associates |  | 0 | [5] | 0 |  | 0 |
Share of profit of associates | [5] | 0 |  |  |  |  |
Operating income before finance income (expenses) and income and social contribution taxes |  | 0 | [5] | 0 |  | 36 |
Financial result, net |  | 329,736 | [5] | 318,430 |  | (184,484) |
Profit (loss) before income and social contribution taxes |  | 329,736 | [5] | 318,430 |  | 184,520 |
Income and social contribution taxes | [5] | (112,110) |  |  |  |  |
Profit (loss) for the year |  | 217,626 | [5] | 0 |  | (121,795) |
Depreciation and amortization for the year |  | 0 | [4],[5] | R$ 0 | [3] | R$ 0 |
Net cash provided by (used in) operating activities |  | (788) |  |  |  |  |
Net cash used in investing activities |  | (1,298) |  |  |  |  |
Net cash provided by (used in) financing activities |  | 466,677 |  |  |  |  |
Effect of exchange rate changes on cash and cash equivalents in foreign currency |  | 0 |  |  |  |  |
(Decrease) increase in cash and cash equivalents |  | R$ 464,591 |  |  |  |  |
[1] | For further information see Note 3.c.3.
[2] | For further details, see Note 3.c.3.
[3] | Balances included for complete breakdown of segment information.
[4] | Balances included for complete breakdown of segment information.
[5] | Elimination between continuing and discontinued operations related to the intercompany loan (PPE) 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 2021-01-01 -Paragraph 33 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2021-en-r&anchor=para_33_c&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 33 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2021-en-r&anchor=para_33_c&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 33 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2021-en-r&anchor=para_33_c&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 99 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_99&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 103 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_103&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_112_c&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 85 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_85&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 103 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_103&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 126 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=36&code=ifrs-tx-2021-en-r&anchor=para_126_a&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2021-01-01 -Paragraph 129 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=36&code=ifrs-tx-2021-en-r&anchor=para_129_a&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 85 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_85&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 28 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_28_b&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 23 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_23&doctype=Standard -URIDate 2021-03-24 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 103 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_103&doctype=Standard -URIDate 2021-03-24 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 102 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_102&doctype=Standard -URIDate 2021-03-24 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2021-01-01 -Paragraph 33 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2021-en-r&anchor=para_33_b_i&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 33 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2021-en-r&anchor=para_33_a&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2021-01-01 -Paragraph B12 -Subparagraph b -Clause vii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B12_b_vii&doctype=Appendix&subtype=B -URIDate 2021-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 82 -Subparagraph ea -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_82_ea&doctype=Standard -URIDate 2021-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 98 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_98_e&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 28 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_28_a&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 23 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_23_a&doctype=Standard -URIDate 2021-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 32 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_32&doctype=Standard -URIDate 2021-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 33 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_33_a&doctype=Standard -URIDate 2021-03-24 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 34 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_34&doctype=Standard -URIDate 2021-03-24 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 82 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_82_a&doctype=Standard -URIDate 2021-03-24 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 103 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_103&doctype=Standard -URIDate 2021-03-24 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 102 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_102&doctype=Standard -URIDate 2021-03-24 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2021-01-01 -Paragraph 33 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2021-en-r&anchor=para_33_b_i&doctype=Standard -URIDate 2021-03-24 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2021-01-01 -Paragraph B12 -Subparagraph b -Clause v -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B12_b_v&doctype=Appendix&subtype=B -URIDate 2021-03-24 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 12 -IssueDate 2021-01-01 -Paragraph B10 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B10_b&doctype=Appendix&subtype=B -URIDate 2021-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 2021-01-01 -Paragraph 85 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_85&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 85 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_85&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 33 -Subparagraph b -Clause ii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2021-en-r&anchor=para_33_b_ii&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2021-01-01 -Paragraph 81 -Subparagraph h -Clause ii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_81_h_ii&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_TaxExpenseRelatingToProfitLossFromOrdinaryActivitiesOfDiscontinuedOperations
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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: |