XML 180 R155.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Segment information - Financial Information of Segments (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Income |  |  |
Net revenue from sales and services | R$ 126,048,701 | R$ 143,634,708 | R$ 109,732,842
Transactions with third parties | 126,048,701 | 143,634,708 | 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 and marketing expenses | 2,253,226 | 2,141,985 | 1,934,789
Loss allowance (reversion) for expected credit losses |  |  | 3,123
General and administrative expenses | (2,018,159) | (1,534,481) | (1,466,551)
Gain (loss) on disposal of property, plant and equipment and intangible assets | 121,935 | 169,289 | 184,189
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
Share of profit (loss) of subsidiaries, joint ventures and associates | 11,908 | 12,181 | (17,634)
Income before financial result and income and social contribution taxes | 4,577,825 | 3,348,933 | 1,769,380
Depreciation of PP&E and amortization of intangible assets charges | 840,377 | 732,241 | 653,118
Amortization of contractual assets with customers – exclusivity rights | 607,446 | 504,907 | 282,521
Amortization of right-of-use assets | 305,899 | 288,419 | 260,716
Total of depreciation and amortization | 1,753,722 | 1,525,567 | 1,196,355
Expenses related to restructuring activities | 167,929 | 157,621 | 154,640
Elimination of intersegment amounts [member] |  |  |
Income |  |  |
Net revenue from sales and services | (491,271) | (272,574) | (214,715)
Transactions with third parties | (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) |  |  |
Selling and marketing expenses | 0 | 0 | 0
Loss allowance (reversion) for expected credit losses |  |  | 0
General and administrative expenses | 24,739 | 6,452 | 20,597
Gain (loss) on disposal of property, plant and equipment and intangible assets | (59,056) | 0 | 0
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
Share of profit (loss) of subsidiaries, joint ventures and associates | 0 | 0 | 0
Income before financial result and income and social contribution taxes | (59,056) | 0 | 0
Depreciation of PP&E and amortization of intangible assets charges | (492) | 0 | 0
Amortization of contractual assets with customers – exclusivity rights | 0 | (346) | 0
Amortization of right-of-use assets | 0 | 0 | 0
Total of depreciation and amortization | (492) | (346) | 0
Ipiranga [member] |  |  |
Income |  |  |
Net revenue from sales and services | 114,374,621 | 131,337,966 | 99,382,617
Transactions with third parties | 114,087,604 | 131,253,637 | 99,382,547
Cost of products and services sold | (107,929,732) | (126,569,490) | (96,110,408)
Gross profit | 6,444,889 | 4,768,476 | 3,272,209
Operating revenues (expenses) |  |  |
Selling and marketing expenses | 1,606,134 | 1,552,636 | 1,409,350
Loss allowance (reversion) for expected credit losses |  |  | 23,536
General and administrative expenses | (1,208,306) | (828,753) | (846,441)
Gain (loss) on disposal of property, plant and equipment and intangible assets | 169,276 | 168,709 | 183,862
Other operating income (expenses), net | (658,614) | (525,966) | 74,574
Operating income before financial result and share of profit of subsidiaries, joint ventures and associates and income and social contribution taxes | 3,141,111 | 2,029,830 | 1,298,390
Share of profit (loss) of subsidiaries, joint ventures and associates | (7,508) | (10,052) | (859)
Income before financial result and income and social contribution taxes | 3,133,603 | 2,019,778 | 1,297,531
Depreciation of PP&E and amortization of intangible assets charges | 404,831 | 353,962 | 325,942
Amortization of contractual assets with customers – exclusivity rights | 606,036 | 503,751 | 280,975
Amortization of right-of-use assets | 209,994 | 191,178 | 182,245
Total of depreciation and amortization | 1,220,861 | 1,048,891 | 789,162
Ipiranga [member] | Elimination of intersegment amounts [member] |  |  |
Income |  |  |
Transactions with third parties | 287,017 | 84,329 | 70
Ultragaz [member] |  |  |
Income |  |  |
Net revenue from sales and services | 10,670,793 | 11,483,398 | 9,744,659
Transactions with third parties | 10,669,365 | 11,480,697 | 9,740,657
Cost of products and services sold | (8,485,215) | (9,446,354) | (8,626,340)
Gross profit | 2,185,578 | 2,037,044 | 1,118,319
Operating revenues (expenses) |  |  |
Selling and marketing expenses | 626,554 | 576,087 | 438,697
Loss allowance (reversion) for expected credit losses |  |  | (20,482)
General and administrative expenses | (298,171) | (257,315) | (202,002)
Gain (loss) on disposal of property, plant and equipment and intangible assets | 13,199 | (1,381) | 2,138
Other operating income (expenses), net | 20,191 | 6,235 | 10,976
Operating income before financial result and share of profit of subsidiaries, joint ventures and associates and income and social contribution taxes | 1,294,243 | 1,208,496 | 470,252
Share of profit (loss) of subsidiaries, joint ventures and associates | 26 | 13 | (104)
Income before financial result and income and social contribution taxes | 1,294,269 | 1,208,509 | 470,148
Depreciation of PP&E and amortization of intangible assets charges | 291,462 | 239,204 | 211,014
Amortization of contractual assets with customers – exclusivity rights | 1,410 | 1,502 | 1,546
Amortization of right-of-use assets | 61,124 | 56,177 | 46,579
Total of depreciation and amortization | 353,996 | 296,883 | 259,139
Ultragaz [member] | Elimination of intersegment amounts [member] |  |  |
Income |  |  |
Transactions with third parties | 1,428 | 2,701 | 4,002
Ultracargo Vila do Conde [member] |  |  |
Income |  |  |
Net revenue from sales and services | 1,015,564 | 867,148 | 713,096
Transactions with third parties | 815,249 | 684,350 | 518,762
Cost of products and services sold | (355,798) | (340,621) | (285,406)
Gross profit | 659,766 | 526,527 | 427,690
Operating revenues (expenses) |  |  |
Selling and marketing expenses | 11,395 | 12,701 | 9,213
Loss allowance (reversion) for expected credit losses |  |  | 69
General and administrative expenses | (167,344) | (134,208) | (127,117)
Gain (loss) on disposal of property, plant and equipment and intangible assets | 103 | (887) | (1,754)
Other operating income (expenses), net | 2,335 | 3,330 | 3,876
Operating income before financial result and share of profit of subsidiaries, joint ventures and associates and income and social contribution taxes | 483,465 | 382,061 | 293,551
Share of profit (loss) of subsidiaries, joint ventures and associates | 11,764 | (3,880) | 602
Income before financial result and income and social contribution taxes | 495,229 | 378,181 | 294,153
Depreciation of PP&E and amortization of intangible assets charges | 105,274 | 94,337 | 76,421
Amortization of contractual assets with customers – exclusivity rights | 0 | 0 | 0
Amortization of right-of-use assets | 30,454 | 37,124 | 25,440
Total of depreciation and amortization | 135,728 | 131,461 | 101,861
Ultracargo Vila do Conde [member] | Elimination of intersegment amounts [member] |  |  |
Income |  |  |
Transactions with third parties | 200,315 | 182,798 | 194,334
Others [member] |  |  |
Income |  |  |
Net revenue from sales and services | 478,994 | 218,770 | 22,452
Transactions with third parties | 476,483 | 216,024 | 6,143
Cost of products and services sold | (426,256) | (185,914) | 70
Gross profit | 52,738 | 32,856 | 22,522
Operating revenues (expenses) |  |  |
Selling and marketing expenses | 9,143 | 561 | 6,184
Loss allowance (reversion) for expected credit losses |  |  | 0
General and administrative expenses | (369,077) | (320,657) | (198,044)
Gain (loss) on disposal of property, plant and equipment and intangible assets | (1,587) | 2,848 | (48)
Other operating income (expenses), net | 33,223 | 1,879 | 1,581
Operating income before financial result and share of profit of subsidiaries, joint ventures and associates and income and social contribution taxes | (293,846) | (283,635) | (180,173)
Share of profit (loss) of subsidiaries, joint ventures and associates | 7,626 | 26,100 | (17,273)
Income before financial result and income and social contribution taxes | (286,220) | (257,535) | (197,446)
Depreciation of PP&E and amortization of intangible assets charges | 39,302 | 44,738 | 25,376
Amortization of contractual assets with customers – exclusivity rights | 0 | 0 | 0
Amortization of right-of-use assets | 4,327 | 3,940 | 6,185
Total of depreciation and amortization | 43,629 | 48,678 | 31,561
Others [member] | Elimination of intersegment amounts [member] |  |  |
Income |  |  |
Transactions with third parties | 2,511 | 2,746 | 16,309
Reportable segments [member] |  |  |
Income |  |  |
Net revenue from sales and services | 126,539,972 | 143,907,282 | 109,925,105
Transactions with third parties | 126,048,701 | 143,634,708 | 109,726,699
Cost of products and services sold | (117,197,001) | (136,542,379) | (105,022,154)
Gross profit | 9,342,971 | 7,364,903 | 4,902,951
Operating revenues (expenses) |  |  |
Selling and marketing expenses | 2,253,226 | 2,141,985 | 1,928,605
Loss allowance (reversion) for expected credit losses |  |  | 3,123
General and administrative expenses | (2,042,898) | (1,540,933) | (1,289,104)
Gain (loss) on disposal of property, plant and equipment and intangible assets | 180,991 | 169,289 | 184,237
Other operating income (expenses), net | (602,865) | (514,522) | 94,585
Operating income before financial result and share of profit of subsidiaries, joint ventures and associates and income and social contribution taxes | 4,624,973 | 3,336,752 | 1,967,187
Share of profit (loss) of subsidiaries, joint ventures and associates | 11,908 | 12,181 | (361)
Income before financial result and income and social contribution taxes | 4,636,881 | 3,348,933 | 1,966,826
Depreciation of PP&E and amortization of intangible assets charges | 840,869 | 732,241 | 627,742
Amortization of contractual assets with customers – exclusivity rights | 607,446 | 505,253 | 282,521
Amortization of right-of-use assets | 305,899 | 288,419 | 254,531
Total of depreciation and amortization | 1,754,214 | 1,525,913 | 1,164,794
Reportable segments [member] | Elimination of intersegment amounts [member] |  |  |
Income |  |  |
Transactions with third parties | R$ 491,271 | R$ 272,574 | 198,406
Abastece Aí [member] |  |  |
Income |  |  |
Net revenue from sales and services |  |  | 84,733
Transactions with third parties |  |  | 84,733
Cost of products and services sold |  |  | 0
Gross profit |  |  | 84,733
Operating revenues (expenses) |  |  |
Selling and marketing expenses |  |  | 71,345
Loss allowance (reversion) for expected credit losses |  |  | 0
General and administrative expenses |  |  | (113,544)
Gain (loss) on disposal of property, plant and equipment and intangible assets |  |  | (9)
Other operating income (expenses), net |  |  | 5,159
Operating income before financial result and share of profit of subsidiaries, joint ventures and associates and income and social contribution taxes |  |  | (95,006)
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  | 0
Income before financial result and income and social contribution taxes |  |  | (95,006)
Depreciation of PP&E and amortization of intangible assets charges |  |  | 14,365
Amortization of contractual assets with customers – exclusivity rights |  |  | 0
Amortization of right-of-use assets |  |  | 267
Total of depreciation and amortization |  |  | 14,632
Abastece Aí [member] | Elimination of intersegment amounts [member] |  |  |
Income |  |  |
Transactions with third parties |  |  | R$ 0

X
- Definition The amount of amortisation for assets recognised from the costs incurred to obtain or fulfil contracts with customers. [Refer: Assets recognised from costs to obtain or fulfil contracts with customers; Amortisation expense] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 15 -IssueDate 2023-01-01 -Paragraph 128 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_128_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_AmortisationAssetsRecognisedFromCostsIncurredToObtainOrFulfilContractsWithCustomers
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 The amount of depreciation and amortisation expense. Depreciation and amortisation are the systematic allocations of depreciable amounts of assets over their useful lives. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2023-01-01 -Paragraph 28 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_28_e&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 e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_23_e&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph B13 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B13_d&doctype=Appendix&subtype=B -URIDate 2023-03-23 Reference 4: 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 Reference 5: 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 6: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 104 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_104&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_DepreciationAndAmortisationExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expense relating to restructuring. Restructuring is a programme that is planned and controlled by management and materially changes either the scope of a business undertaken by an entity or the manner in which that business is conducted. Such programmes include: (a) the sale or termination of a line of business; (b) closure of business locations in a country or region or the relocation of activities from one country or region to another; (c) changes in management structure; and (d) fundamental reorganisations that have a material effect on the nature and focus of the entity's operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 98 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_98_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ExpenseOfRestructuringActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The gains (losses) on disposals of non-current assets. [Refer: Non-current assets] + 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_GainsLossesOnDisposalsOfNoncurrentAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of expense relating to general and administrative activities of the entity. + 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_GeneralAndAdministrativeExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 or reversal of impairment loss recognised in profit or loss for trade receivables. [Refer: Impairment loss recognised in profit or loss; Reversal of impairment loss recognised in profit or loss; Trade receivables] + 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_ImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeReceivables
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
- References No definition available. + Details
Name: | ifrs-full_ProfitLossAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 revenue from contracts with customers. A customer is a party that has contracted with an entity to obtain goods or services that are an output of the entity’s ordinary activities in exchange for consideration. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 15 -IssueDate 2023-01-01 -Paragraph 114 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_114&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 15 -IssueDate 2023-01-01 -Paragraph 113 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_113_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_RevenueFromContractsWithCustomers
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of amortization of right-of-use assets. + References No definition available. + Details
Name: | ugp_AmortizationOfRightToUseAsset
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
- Definition The amount of expense relating to the selling and marketing of goods or services. + References No definition available. + Details
Name: | ugp_SellingAndMarketingExpenses
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The entity's share of the profit (loss) of subsidiaries, joint ventures and associates. + References No definition available. + Details
Name: | ugp_ShareOfProfitLossOfSubsidiariesAssociatesAndJointVentures
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_IpirangaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_UltragazMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_UltracargoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ifrs-full_AllOtherSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ifrs-full_ReportableSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_AbasteceAiMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |