XML 36 R7.htm IDEA: XBRL DOCUMENT
v3.22.1

Consolidated Statements of Cash Flows-Indirect Method - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Cash flows from operating activities |  |  |
Net income from continuing operations | R$ 818,614 | R$ 647,064 | R$ 895,201
Adjustments to reconcile net income to cash provided by operating activities from continuing operations |  |  |
Share of loss (profit) of joint ventures and associates | 17,634 | 44,031 | 12,708
Amortization of contractual assets with customers – exclusive rights | 282,521 | 289,436 | 355,250
Amortization of right-of-use assets | 260,716 | 242,670 | 216,609
Depreciation and amortization | 653,118 | 595,531 | 551,768
PIS and COFINS credits on depreciation | 7,081 | 6,062 | 4,891
Interest and foreign exchange rate variations | 1,133,882 | 533,926 | 1,043,899
Deferred income and social contribution taxes | (242,246) | (234,244) | 2,633
Current income and social contribution taxes | 430,280 | 538,761 | 467,345
Loss on disposal of property, plant, and equipment and intangibles | (184,189) | (85,455) | (1,700)
Reversion (loss) allowance for expected credit losses | (3,123) | 15,281 | 34,981
Provision for losses in inventories | (826) | 1,338 | (115)
Provision for post-employment benefits | (2,393) | (15,867) | 14,749
Equity instrument granted | 9,364 | 8,793 | 6,222
Provision of decarbonization – CBIO | 161,281 | 124,287 | 0
Provision for tax, civil, and labor risks | 93,328 | 21,582 | 31,595
Other provisions and adjustments | 2,332 | (1,912) | 5,829
Cash flows from operations before changes in working capital | 3,437,374 | 2,731,284 | 3,641,865
(Increase) decrease in current assets |  |  |
Trade receivables and reseller financing | (968,787) | 481,984 | 240,474
Inventories | (1,626,670) | 108,136 | (486,534)
Recoverable taxes | (672,607) | (115,316) | (633,069)
Dividends received from joint ventures | 1,005 | 4,836 | 4,108
Other receivables | (24,360) | (18,922) | 24,335
Prepaid expenses | (61,573) | (70,503) | (13,368)
Increase (decrease) in current liabilities |  |  |
Trade payables | 2,425,821 | 798,180 | 77,131
Salaries and related charges | 63,066 | 15,644 | 9,872
Taxes payable | 11,733 | 22,925 | (10,291)
Post-employment benefits | (2,814) | 1,273 | (15,355)
Other payables | (36,357) | (16,663) | 61,966
Deferred revenue | (10,614) | (9,814) | 769
(Increase) decrease in non-current assets |  |  |
Trade receivables and reseller financing | 12,008 | (73,035) | 11,333
Recoverable taxes | (153,526) | (667,894) | (28,182)
Escrow deposits | (43,324) | (26,492) | (35,064)
Other receivables | 73,903 | (27,738) | (801)
Prepaid expenses | 35,962 | 6,683 | 8,573
Increase (decrease) in non-current liabilities |  |  |
Post-employment benefits | 11,907 | 8,700 | (18,632)
Provision for tax, civil, and labor risks | (28) | (104) | 0
Other payables | (17,193) | (34,721) | 9,637
Deferred revenue | 0 | 0 | (11,850)
Acquisition of CBIO | (176,837) | (125,345) | 0
Payments of contractual assets with customers – exclusive rights | (420,261) | (356,045) | (330,068)
Payments of contingencies | (24,351) | (39,256) | (22,966)
Income and social contribution taxes paid | (230,036) | (333,784) | (111,499)
Net cash provided by operating activities from continuing operations | 1,603,441 | 2,264,013 | 2,372,384
Net cash provided by operating activities from discontinued operations | 982,519 | 874,106 | 552,468
Net cash provided by operating activities | 2,585,960 | 3,138,119 | 2,924,852
Cash flows from investing activities |  |  |
Financial investments, net of redemptions | 1,863,053 | (869,748) | 102,911
Acquisition of property, plant, and equipment | (1,028,419) | (750,618) | (720,779)
Acquisition of intangible assets | (237,488) | (154,534) | (111,251)
Revenue on disposal of investments | 159,657 | 0 | 0
Capital increase in joint ventures | (25,700) | (28,840) | (79,124)
Capital decrease in associates | 1,500 | 0 | 0
Initial direct costs of right-of-use assets | (14,905) | 0 | (68,007)
Related parties | 2,334 | 0 | 0
Proceeds from disposal of property, plant, and equipment and intangibles | 162,837 | 154,725 | 36,912
Net cash provided by (used in) investing activities from continuing operations | 882,869 | (1,649,015) | (839,338)
Net cash provided by (used in) investing activities from discontinued operations | (158,733) | (487,390) | (995,923)
Net cash provided by (used in) investing activities | 724,136 | (2,136,405) | (1,835,261)
Loans and debentures |  |  |
Proceeds | 1,383,611 | 3,387,161 | 2,009,221
Repayments | (2,426,222) | (1,815,130) | (2,460,941)
Interest paid | (733,791) | (701,458) | (1,416,977)
Payments of lease |  |  |
Principal | (304,975) | (250,202) | (210,147)
Interest paid | (15,267) | (5,705) | (11,892)
Dividends paid | (705,753) | (284,767) | (596,436)
Capital increase from non-controlling shareholders | 0 | 0 | 6,996
Related parties | (177) | (2,548) | (146)
Net cash provided by (used in) in financing activities from continuing operations | (2,802,574) | 327,351 | (2,680,322)
Net cash provided by (used in) in financing activities from discontinued operations | (552,967) | (919,684) | (241,907)
Net cash provided by (used in) in financing activities | (3,355,541) | (592,333) | (2,922,229)
Effect of exchange rate changes on cash and cash equivalents in foreign currency - continuing operations | (4,547) | 21,912 | (21,805)
Effect of exchange rate changes on cash and cash equivalents in foreign currency - discontinued operations | 56,553 | 114,822 | 30,871
Increase (decrease) in cash and cash equivalents | 6,561 | 546,115 | (1,823,572)
Cash and cash equivalents at the beginning of the year | 2,661,494 | 2,115,379 | 3,938,951
Cash and cash equivalents at the end of the year | 2,668,055 | 2,661,494 | 2,115,379
Cash and cash equivalents at the end of the year - continuing operations | 2,280,074 | 0 | 0
Cash and cash equivalents at the end of the year - discontinued operations | 387,981 | 0 | 0
Transactions without cash effect: |  |  |
Addition on right-of-use assets and leases payable | 227,977 | 420,070 | 311,106
Addition on contractual assets with customers – exclusive rights | 269,725 | 193,040 | 0
Reversion fund – private pension | 2,656 | 33,843 | 0
Issuance of shares related to the subscription warrants – indemnification – Extrafarma acquisition | R$ 1,819 | R$ 54,763 | R$ 0

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 2021-01-01 -Paragraph 20 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20_a&doctype=Standard -URIDate 2021-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 operating receivables 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 2021-01-01 -Paragraph 20 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20_a&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_AdjustmentsForDecreaseIncreaseInOtherOperatingReceivables
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 2021-01-01 -Paragraph 20 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20_a&doctype=Standard -URIDate 2021-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 decrease (increase) in trade and other receivables to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Trade and other receivables; Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Paragraph 20 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_AdjustmentsForDecreaseIncreaseInTradeAndOtherReceivables
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 2021-01-01 -Paragraph 20 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 20 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20_b&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 20 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20&doctype=Standard -URIDate 2021-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 the increase (decrease) in deferred income including contract liabilities to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Deferred income including contract liabilities; Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Paragraph 20 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20_a&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_AdjustmentsForIncreaseDecreaseInDeferredIncomeIncludingContractLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for increase (decrease) in employee benefit liabilities 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 2021-01-01 -Paragraph 20 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_AdjustmentsForIncreaseDecreaseInEmployeeBenefitLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Adjustments for increase (decrease) in other operating payables 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 2021-01-01 -Paragraph 20 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20_a&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_AdjustmentsForIncreaseDecreaseInOtherOperatingPayables
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 2021-01-01 -Paragraph 20 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20_a&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 14 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_14&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 20 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20_b&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 20 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 20 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20_b&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Section A Statement of cash flows for an entity other than a financial institution -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&doctype=Illustrative%20Examples&dita_xref=IAS07_IE_A__IAS07_IE_A_TI -URIDate 2021-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 2021-01-01 -Paragraph 128 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&anchor=para_128_b&doctype=Standard -URIDate 2021-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 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 2021-01-01 -Paragraph 45 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_45&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_CashAndCashEquivalentsClassifiedAsPartOfDisposalGroupHeldForSale
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of cash and cash equivalents in the statement of cash flows when different from the amount of cash and cash equivalents in the statement of financial position. [Refer: Cash and cash equivalents] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Paragraph 45 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_45&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_CashAndCashEquivalentsIfDifferentFromStatementOfFinancialPosition
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 2021-01-01 -Paragraph 10 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_10&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Paragraph 50 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_50_d&doctype=Standard -URIDate 2021-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 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_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 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) 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 2021-01-01 -Paragraph 10 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_10&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Paragraph 50 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_50_d&doctype=Standard -URIDate 2021-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 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_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 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) 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 2021-01-01 -Paragraph 10 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_10&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Paragraph 50 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_50_d&doctype=Standard -URIDate 2021-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 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_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 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 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 2021-01-01 -Section A Statement of cash flows for an entity other than a financial institution -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&doctype=Illustrative%20Examples&dita_xref=IAS07_IE_A__IAS07_IE_A_TI -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Paragraph 20 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
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 2021-01-01 -Paragraph 16 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_16&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 17 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_17&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 31 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_31&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 31 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_31&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_DividendsReceivedClassifiedAsOperatingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The increase (decrease) in cash and cash equivalents after the effect of exchange rate changes on cash and cash equivalents held in foreign currencies. [Refer: Cash and cash equivalents; Effect of exchange rate changes on cash and cash equivalents] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Paragraph 45 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_45&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_IncreaseDecreaseInCashAndCashEquivalents
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 2021-01-01 -Paragraph 16 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_16_c&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 17 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_17_e&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 17 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_17_c&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 17 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_17&doctype=Standard -URIDate 2021-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 sales of investments other than investments accounted for using the equity method. [Refer: Investments accounted for using equity method; Investments other than investments accounted for using equity method] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Paragraph 16 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_16&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_ProceedsFromSalesOfInvestmentsOtherThanInvestmentsAccountedForUsingEquityMethod
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from sales 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 2021-01-01 -Paragraph 16 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_16_b&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_ProceedsFromSalesOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities
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 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/disclosureRef -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/disclosureRef -Name IFRS -Number 12 -IssueDate 2021-01-01 -Paragraph B12 -Subparagraph b -Clause vi -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B12_b_vi&doctype=Appendix&subtype=B -URIDate 2021-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 81A -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_81A_a&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 16 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_16_a&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 16 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_16_a&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 17 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_17_d&doctype=Standard -URIDate 2021-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 current prepaid expenses to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForDecreaseIncreaseInCurrentPrepaidExpenses
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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

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

X
- Definition Adjustments for decrease (increase) in noncurrent trade receivables and reseller financing to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForDecreaseIncreaseInNonCurrentTradeReceivablesAndResellerFinancing
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 current taxes payable to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForIncreaseDecreaseInCurrentTaxesPayable
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 non-current deferred revenue to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForIncreaseDecreaseInNonCurrentDeferredRevenue
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 noncurrent post employment benefits to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForIncreaseDecreaseInPostEmploymentBenefitsNonCurrent
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Adjustments for increase (decrease) in noncurrent 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_AdjustmentsForIncreaseDecreaseInProvisionForTaxCivilAndLaborRisksNoncurrent
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Adjustments for increase (decrease) in current 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 decrease (increase) in noncurrent prepaid expenses to reconcile profit (loss) to net cash flow from (used in) operating activities. + References No definition available. + Details
Name: | ugp_AdjustmentsForIncreaseDecreasePrepaidExpensesNoncurrent
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 (outflow) from capital reduction in associates. + References No definition available. + Details
Name: | ugp_CapitalReductionInAssociatesClassifiedAsInvestingActivities
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of cash and cash equivalents from continuing operations. + References No definition available. + Details
Name: | ugp_CashAndCashEquivalentsContinuingOperation
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 Increase Decrease in Current Assets [abstract] + References No definition available. + Details
Name: | ugp_IncreaseDecreaseInCurrentAssetsAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Increase Decrease in Current Liabilities [abstract] + References No definition available. + Details
Name: | ugp_IncreaseDecreaseInCurrentLiabilitiesAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Increase Decrease in Non Current Assets Abstract + References No definition available. + Details
Name: | ugp_IncreaseDecreaseInNonCurrentAssetsAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Increase Decrease in Non Current Liabilities Abstract + References No definition available. + Details
Name: | ugp_IncreaseDecreaseInNonCurrentLiabilitiesAbstract
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
- References No definition available. + Details
Name: | ugp_NonCashTransactionsAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
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