XML 26 R7.htm IDEA: XBRL DOCUMENT
v3.23.1

Consolidated Statements of Cash Flows-Indirect Method - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Cash flows from operating activities from continuing operations |  |  |
Profit from continuing operations | R$ 1,538,211 | R$ 818,614 | R$ 647,064
Adjustments to reconcile net income to cash provided by operating activities from continuing operations |  |  |
Share of profit (loss) of joint ventures and associates | (12,181) | 17,634 | 44,031
Amortization of contractual assets with customers – exclusive rights | 504,907 | 282,521 | 289,436
Amortization of right-of-use assets | 288,419 | 260,716 | 242,670
Depreciation and amortization | 732,241 | 653,118 | 595,531
PIS and COFINS credits on depreciation | 6,663 | 7,081 | 6,062
Interest and foreign exchange rate variations | 1,625,987 | 1,133,882 | 533,926
Deferred income and social contribution taxes | (296,459) | (242,246) | (234,244)
Current income and social contribution taxes | 637,973 | 430,280 | 538,761
Loss on disposal of property, plant and equipment and intangible assets or assets write-off and other assets | (322,190) | (184,189) | (85,455)
Reversal (loss) allowance for expected credit losses | (49,989) | (3,123) | 15,281
Provision for losses with inventories | 26,356 | (826) | 1,338
Provision for post-employment benefits | 1,939 | (2,393) | (15,867)
Equity instrument granted | 9,944 | 9,364 | 8,793
Provision of decarbonization – CBIO | 638,542 | 161,281 | 124,287
Provision for tax, civil, and labor risks | 61,039 | 93,328 | 21,582
Other provisions and adjustments | 5,448 | 2,332 | (1,912)
Cash flows from operations before changes in working capital | 5,396,850 | 3,437,374 | 2,731,284
(Increase) decrease in assets |  |  |
Trade receivables and reseller financing | (779,239) | (956,779) | 408,949
Inventories | (1,004,819) | (1,626,670) | 108,136
Recoverable taxes | (2,056,104) | (826,133) | (783,210)
Dividends received from joint ventures | 146 | 1,005 | 4,836
Other assets | (224,379) | (19,392) | (136,972)
Increase (decrease) in liabilities |  |  |
Trade payables and trade payables – reverse factoring | 1,557,837 | 2,425,821 | 798,180
Salaries and related charges | 130,586 | 63,066 | 15,644
Taxes payable | (9,442) | 11,733 | 22,925
Other liabilities | 677,016 | (55,099) | (51,329)
Acquisition of CBIO | (635,130) | (176,837) | (125,345)
Payments of contractual assets with customers – exclusivity rights | (710,908) | (420,261) | (356,045)
Payments of contingencies | (84,939) | (24,351) | (39,256)
Income and social contribution taxes paid | (283,331) | (230,036) | (333,784)
Net cash provided by operating activities from continuing operations | 1,974,144 | 1,603,441 | 2,264,013
Net cash provided by operating activities from discontinued operations | 30,550 | 982,519 | 874,106
Net cash provided by operating activities | 2,004,694 | 2,585,960 | 3,138,119
Cash flows from investing activities |  |  |
Financial investments, net of redemptions | 1,567,962 | 1,863,053 | (869,748)
Acquisition of property, plant, and equipment | (929,236) | (1,028,419) | (750,618)
Acquisition of intangible assets | (277,600) | (237,488) | (154,534)
Receipt of intercompany loan owed by Oxiteno S.A. to Ultrapar International | 3,980,699 | 0 | 0
Cash provided by disposal of investments and property, plant and equipment | 2,839,676 | 322,494 | 154,725
Capital increase in joint ventures | (28,000) | (25,700) | (28,840)
Net cash consumed by subsidiaries acquisition | (5,985) | 0 | 0
Transactions with discontinued operations | 987,895 | 0 | 0
Capital decrease in associates and redemption of shares | 0 | 1,500 | 0
Initial direct costs of right-of-use assets | (12,120) | (14,905) | 0
Receipt from related parties | 0 | 2,334 | 0
Net cash provided (consumed) by investing activities from continuing operations | 8,123,291 | 882,869 | (1,649,015)
Net cash consumed by investing activities from discontinued operations | (220,190) | (158,733) | (487,390)
Net cash provided (consumed) by investing activities | 7,903,101 | 724,136 | (2,136,405)
Loans and debentures |  |  |
Proceeds | 1,519,580 | 1,383,611 | 3,387,161
Repayments | (5,848,611) | (2,426,222) | (1,815,130)
Interest and derivatives paid | (1,398,229) | (733,791) | (701,458)
Payments of lease |  |  |
Principal | (351,011) | (304,975) | (250,202)
Interest paid | (6,868) | (15,267) | (5,705)
Dividends paid | (638,280) | (705,753) | (284,767)
Proceeds of financial liabilities of customers | 162,895 | 0 | 0
Payments of financial liabilities of customers | (173,948) | 0 | 0
Capital increase made by non-controlling interests and redemption of shares | 21,682 | 0 | 0
Payment to related parties | (18,926) | (177) | (2,548)
Net cash provided (consumed) by financing activities from continuing operations | (6,731,716) | (2,802,574) | 327,351
Net cash consumed by financing activities from discontinued operations | (179,025) | (552,967) | (919,684)
Net cash consumed by financing activities | (6,910,741) | (3,355,541) | (592,333)
Effect of exchange rate changes on cash and cash equivalents in foreign currency - continuing operations | (24,024) | (4,547) | 21,912
Effect of exchange rate changes on cash and cash equivalents in foreign currency - discontinued operations | (19,316) | 56,553 | 114,822
Increase in cash and cash equivalents - continuing operations | 3,341,695 | 6,561 | 546,115
Decrease in cash and cash equivalents - discontinued operations | (387,981) | 0 | 0
Cash and cash equivalents at the beginning of the year - continuing operations | 2,280,074 | 2,661,494 | 2,115,379
Cash and cash equivalents at the beginning of the year - discontinued operations | 387,981 | 0 | 0
Cash and cash equivalents at the end of the year - continuing operations | 5,621,769 | 2,280,074 | 2,661,494
Cash and cash equivalents at the end of the year - discontinued operations | 0 | 387,981 | 0
Transactions without cash effect: |  |  |
Contingent consideration – subsidiaries purchase | 89,640 | 0 | 0
Addition on right-of-use assets and leases payable | 482,439 | 227,977 | 420,070
Movement without cash effect of escrow deposits and provision for tax, civil and labor risks | 41,888 | 0 | 0
Addition on contractual assets with customers – exclusivity rights | 63,061 | 269,725 | 193,040
Capital increase performed by non-controlling interests | 13,519 | 0 | 0
Reversal fund - private pension | 3,107 | 2,656 | 33,843
Issuance of shares related to the subscription warrants – indemnification – Extrafarma acquisition | R$ 942 | R$ 1,819 | R$ 54,763

X
- Definition Adjustments for decrease (increase) in inventories to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Inventories; Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForDecreaseIncreaseInInventories
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for decrease (increase) in other assets to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Other assets; Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForDecreaseIncreaseInOtherAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for decrease (increase) in trade accounts receivable to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForDecreaseIncreaseInTradeAccountReceivable
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for deferred tax expense to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Deferred tax expense (income); Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForDeferredTaxExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for depreciation and amortisation expense to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Depreciation and amortisation expense; Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForDepreciationAndAmortisationExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for impairment loss (reversal of impairment loss) on trade and other receivables recognised in profit or loss to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Trade and other receivables; Impairment loss; Adjustments for impairment loss (reversal of impairment loss) recognised in profit or loss; Impairment loss (reversal of impairment loss) recognised in profit or loss] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeAndOtherReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for increase (decrease) in other liabilities to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Other liabilities; Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForIncreaseDecreaseInOtherLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for increase (decrease) in trade accounts payable to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForIncreaseDecreaseInTradeAccountPayable
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for losses (gains) on disposal of non-current assets to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Non-current assets; Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 14 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_14&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForLossesGainsOnDisposalOfNoncurrentAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | ifrs-full_AdjustmentsForReconcileProfitLossAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Adjustments for share-based payments to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForSharebasedPayments
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for undistributed profits of investments accounted for using the equity method to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Investments accounted for using equity method; Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForUndistributedProfitsOfInvestmentsAccountedForUsingEquityMethod
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Adjustments for unrealised foreign exchange losses (gains) to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20_b&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Section A Statement of cash flows for an entity other than a financial institution -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&doctype=Illustrative%20Examples&dita_xref=IAS07_IE_A__IAS07_IE_A_TI -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForUnrealisedForeignExchangeLossesGains
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 2022-03-24 -Paragraph 128 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_128_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AmortisationAssetsRecognisedFromCostsIncurredToObtainOrFulfilContractsWithCustomers
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of cash on hand and demand deposits, along with short-term, highly liquid investments that are readily convertible to known amounts of cash and that are subject to an insignificant risk of changes in value. [Refer: Cash; Cash equivalents] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_45&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph B13 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B13_a&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 54 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_i&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashAndCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of cash and cash equivalents that are classified as a part of a disposal group held for sale. [Refer: Cash and cash equivalents; Disposal groups classified as held for sale [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_45&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashAndCashEquivalentsClassifiedAsPartOfDisposalGroupHeldForSale
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash flows from (used in) financing activities, which are activities that result in changes in the size and composition of the contributed equity and borrowings of the entity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 10 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_10&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 50 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_50_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashFlowsFromUsedInFinancingActivities
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 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 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) investing activities, which are the acquisition and disposal of long-term assets and other investments not included in cash equivalents. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 10 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_10&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 50 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_50_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashFlowsFromUsedInInvestingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | ifrs-full_CashFlowsFromUsedInInvestingActivitiesAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 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) operating activities, which are the principal revenue-producing activities of the entity and other activities that are not investing or financing activities. [Refer: Revenue] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 10 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_10&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 50 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_50_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashFlowsFromUsedInOperatingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | ifrs-full_CashFlowsFromUsedInOperatingActivitiesAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 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 cash inflow (outflow) from the entity's operations before changes in working capital. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Section A Statement of cash flows for an entity other than a financial institution -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&doctype=Illustrative%20Examples&dita_xref=IAS07_IE_A__IAS07_IE_A_TI -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate cash flows used in obtaining control of subsidiaries or other businesses, classified as investing activities. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 39 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_39&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from repayment to the entity of loans and advances made to related parties. [Refer: Related parties [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 16 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_16&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashReceiptsFromRepaymentOfAdvancesAndLoansMadeToRelatedParties
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow for repayments of advances and loans from related parties. [Refer: Related parties [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 17 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_17&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashRepaymentsOfAdvancesAndLoansFromRelatedParties
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for dividends paid by the entity, classified as financing activities. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 31 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_31&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DividendsPaidClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from dividends received, classified as operating activities. [Refer: Dividends received] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 31 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_31&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DividendsReceivedClassifiedAsOperatingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow to acquire interests in joint ventures (other than payments for those instruments considered to be cash equivalents or those held for dealing or trading purposes), classified as investing activities. [Refer: Joint ventures [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 16 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_16_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_OtherCashPaymentsToAcquireInterestsInJointVenturesClassifiedAsInvestingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for payment of lease liabilities, classified as financing activities. [Refer: Lease liabilities] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 17 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_17_e&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from borrowings obtained. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 17 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_17_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from proceeds from contributions of non-controlling interests. [Refer: Non-controlling interests] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 17 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_17&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ProceedsFromContributionsOfNoncontrollingInterests
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from the disposal of non-current assets or disposal groups classified as held for sale and discontinued operations. [Refer: Discontinued operations [member]; Disposal groups classified as held for sale [member]; Non-current assets or disposal groups classified as held for sale] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 16 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_16&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ProceedsFromDisposalOfNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleAndDiscontinuedOperations
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from the disposal of property, plant and equipment, intangible assets other than goodwill, investment property and other non-current assets. [Refer: Intangible assets other than goodwill; Investment property; Other non-current assets; Property, plant and equipment] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 16 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_16&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ProceedsFromDisposalsOfPropertyPlantAndEquipmentIntangibleAssetsOtherThanGoodwillInvestmentPropertyAndOtherNoncurrentAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from sales of interests in associates. [Refer: Associates [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 16 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_16&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ProceedsFromSalesOfInterestsInAssociates
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 cash outflow for the purchases of intangible assets, classified as investing activities. [Refer: Intangible assets other than goodwill] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 16 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_16_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_PurchaseOfIntangibleAssetsClassifiedAsInvestingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for the purchases of property, plant and equipment, classified as investing activities. [Refer: Property, plant and equipment] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 16 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_16_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow to settle borrowings, classified as financing activities. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 17 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_17_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Adjustments for noncash addition on rightofuse assets and leases payable. + References No definition available. + Details
Name: | ugp_AdditionOnRightToUseAssetsAndLeasesPayable
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Adjustments for amortization of rightofuse assets to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForAmortizationOfRightOfUseAssets
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for credits on depreciation to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForCreditsOnDepreciation
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Adjustments for current tax expense to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForCurrentTaxExpense
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for decrease (Increase) in recoverable taxes to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForDecreaseIncreaseInRecoverableTaxes
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for increase (decrease) in non-current liabilities from acquisition of decarbonization credits ("CBIO") to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForIncreaseDecreaseInAcquisitionOfDecarbonizationCredits
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for increase (decrease) in noncurrent liabilities from income and social contribution taxes paid to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForIncreaseDecreaseInIncomeAndSocialContributionTaxesPaidNoncurrent
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Adjustments for increase (decrease) in noncurrent payables of contractual assets with customers exclusive rights to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForIncreaseDecreaseInNonCurrentPaymentsOfContractualAssetsWithCustomersExclusiveRights
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Adjustments for increase (decrease) in non-current liabilities from payments of contingencies to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForIncreaseDecreaseInPaymentsOfContingencies
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for increase (decrease) in salaries and related charges to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForIncreaseDecreaseInSalariesAndRelatedCharges
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Adjustments for increase (decrease) in taxes payable to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForIncreaseDecreaseInTaxesPayable
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for non-cash addition on contractual assets with customers - exclusive rights to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForNonCashAdditionOnContractualAssetsWithCustomersExclusiveRights
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for non-cash reversion fund - private pension to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForNonCashReversionFundPrivatePension
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for other provisions and adjustments to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForOtherProvisionsAndAdjustments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for provision for losses in inventories to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForProvisionForLossesInInventories
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for provision for postemployment benefits to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForProvisionForPostemploymentBenefits
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for provision for tax, civil, and labor risks to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForProvisionForTaxCivilAndLaborRisks
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for provision of decarbonization to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForProvisionOfDecarbonization
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | ugp_BorrowingsClassifiedAsFinancingActivitiesAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash inflow from repayment to the entity of loans made to related parties. + References No definition available. + Details
Name: | ugp_CashReceiptsFromRepaymentOfLoansMadeToRelatedParties
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The effect of exchange rate changes on cash and cash equivalents held or due - continuing operations. + References No definition available. + Details
Name: | ugp_EffectOfExchangeRateChangesOnCashAndCashEquivalentsContinuingOperations
Namespace Prefix: | ugp_
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 cash outflow for the financial investments, net of redemptions. + References No definition available. + Details
Name: | ugp_FinancialInvestmentsNetOfRedemptions
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for decrease (Increase) in recoverable taxes to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_IncreaseDecreaseInAssetsAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The increase (decrease) in cash and cash equivalents from continuing operations. + References No definition available. + Details
Name: | ugp_IncreaseDecreaseInCashAndCashEquivalentsContinuingOperations
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The increase (decrease) in cash and cash equivalents from continuing operations. + References No definition available. + Details
Name: | ugp_IncreaseDecreaseInCashAndCashEquivalentsFromDiscontinuedOperations
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | ugp_IncreaseDecreaseInLiabilitiesAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow for initial direct costs of rightofuse assets, classified as investing activities. + References No definition available. + Details
Name: | ugp_InitialDirectCostsOfRightToUseAssets
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for interest paid on borrowings, classified as financing activities. + References No definition available. + Details
Name: | ugp_InterestPaidForBorrowingsClassifiedAsFinancingActivities
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for interest paid on lease liabilities, classified as financing activities. + References No definition available. + Details
Name: | ugp_InterestPaidForLeaseLiabilitiesClassifiedAsFinancingActivities
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The fair value of stock issued in noncash financing activities related to the subscription warrants indemnification for business combination. + References No definition available. + Details
Name: | ugp_IssuanceOfSharesRelatedToSubscriptionWarrantsIndemnificationForBusinessCombination
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The fair value of contingent consideration assumed in noncash related to the business combination. + References No definition available. + Details
Name: | ugp_NonCashContingentConsiderationInBusinessCombination
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The fair value of contributions received from non-controlling interests in noncash investing or financing activities. + References No definition available. + Details
Name: | ugp_NonCashContributionsOfNonControllingInterests
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The fair value of movement of escrow deposits and provision for tax, civil and labor risks in noncash investing or financing activities. + References No definition available. + Details
Name: | ugp_NonCashMovementOfEscrowDepositsAndProvisionForTaxCivilAndLaborRisks
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | ugp_NonCashTransactionsAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow for payment of financial liabilities of customers, classified as financing activities. + References No definition available. + Details
Name: | ugp_PaymentsOfFinancialLiabilitiesOfCustomersClassifiedAsFinancingActivities
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | ugp_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivitiesAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash inflow from financial liabilities of customers. + References No definition available. + Details
Name: | ugp_ProceedsFromFinancialLiabilitiesOfCustomersClassifiedAsFinancingActivities
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration