XML 94 R75.htm IDEA: XBRL DOCUMENT
v3.23.1

Discontinued operations - Schedule of gain (loss) on disposal of investments, net (Details) - BRL (R$) R$ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2022 | Dec. 31, 2021
Assets and liabilities from subsidiaries held for sale and discontinued operations |  |  |
Cash/ Net debt on December 31, 2020 |  | R$ 6,689,168 | R$ 13,262,481
Extrafarma [member] | Assets from subsidiaries held for sale |  |  |
Assets and liabilities from subsidiaries held for sale and discontinued operations |  |  |
Total value of purchase and sale agreement of subsidiary |  | 700,000 |
Cash/ Net debt on December 31, 2020 |  | (99,897) |
Operation sale price |  | 600,103 |
Estimated working capital and net debt adjustments |  | 121,522 |
Cost of investment |  | (1,115,102) |
Reversal of impairment (*) | [1] | 427,529 |
Provision for indemnities |  | (9,995) |
Transaction costs |  | (13,282) |
Gain on disposal of investments before the effect of cessation of depreciation |  | 10,775 |
Cessation of depreciation |  | (27,084) |
Gain (loss) on disposal of investments after the effect of depreciation |  | (16,309) |
Current income and social contribution taxes |  | 138,298 |
Deferred income and social contribution taxes |  | (141,962) |
Gain (loss) on disposal of investments, net |  | R$ (19,973) |
[1] | For more information, see Note .v

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfImpairmentLossAndReversalOfImpairmentLossLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The gains (losses) recognised in association with the loss of control over a subsidiary, which are attributable to the former controlling interest. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph 19 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_19&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_GainsLossesRecognisedWhenControlInSubsidiaryIsLost
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of net debt of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NetDebt
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of reversal of impairment loss recognised in profit or loss. [Refer: Reversal of impairment loss; Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2022-03-24 -Paragraph 126 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_126_b&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 36 -IssueDate 2022-03-24 -Paragraph 129 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_129_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ReversalOfImpairmentLossRecognisedInProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of aggregate sale price of subsidiary. + References No definition available. + Details
Name: | ugp_AggregateSalePriceOfSubsidiary
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of cessation of depreciation on disposal of investments. + References No definition available. + Details
Name: | ugp_CessationOfDepreciationOnDisposalOfInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of cost of investment of subsidiary. + References No definition available. + Details
Name: | ugp_CostOfInvestmentOfSubsidiary
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of current income and social contribution taxes on disposal of investments. + References No definition available. + Details
Name: | ugp_CurrentIncomeAndSocialContributionTaxesOnDisposalOfInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of deferred income and social contribution taxes on disposal of investments. + References No definition available. + Details
Name: | ugp_DeferredIncomeAndSocialContributionTaxesOnDisposalOfInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of estimated working capital and net debt adjustments in disposal group transaction. + References No definition available. + Details
Name: | ugp_EstimatedWorkingCapitalAndNetDebtAdjustmentsInDisposalGroupTransaction
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expenses for provision for indemnities. + References No definition available. + Details
Name: | ugp_ExpensesForProvisionForIndemnities
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of gain (loss) on disposal of investments after the effect of cessation of depreciation. + References No definition available. + Details
Name: | ugp_GainLossOnDisposalOfInvestmentsAfterEffectOfDepreciation
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of gain (loss) on disposal of investments before effect of cessation of depreciation. + References No definition available. + Details
Name: | ugp_GainLossOnDisposalOfInvestmentsBeforeEffectOfCessationOfDepreciation
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of operation sale price of subsidiary. + References No definition available. + Details
Name: | ugp_OperationSalePriceOfSubsidiary
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of transaction costs for sale of subsidiary. + References No definition available. + Details
Name: | ugp_TransactionCostsForSaleOfSubsidiary
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_ExtrafarmaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_AssetsAndLiabilitiesClassifiedAsHeldForSaleAxis=ifrs-full_DisposalGroupsClassifiedAsHeldForSaleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |