XML 99 R80.htm IDEA: XBRL DOCUMENT
v3.23.1

Discontinued operations (Details 3 - Textuals 1) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Discontinued operations |  |  |
Receipt of the intercompany loan owed by subsidiary | R$ 0 | R$ 2,334 | R$ 0
Income from discontinued operations | 301,858 | 65,264 | 280,633
Total Discontinued operations |  |  |
Discontinued operations |  |  |
Income from discontinued operations | 301,858 | 65,264 | 280,633
Total Discontinued operations | Extrafarma [member] |  |  |
Discontinued operations |  |  |
Income from discontinued operations | (98,524) | (401,665) | 0
Total Discontinued operations | Oxiteno S. A. Industria e Comercio [member] |  |  |
Discontinued operations |  |  |
Proceeds from the sale of subsidiary | 6,200,000 |  |
Sale price of subsidiary | 2,300,000 |  |
Receipt of the intercompany loan owed by subsidiary | 3,900,000 |  |
Income from discontinued operations | R$ 326,028 | R$ 249,303 | R$ 0

X
- Definition The aggregate cash flows arising from losing 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_CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfAnalysisOfSingleAmountOfDiscontinuedOperationsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The profit (loss) from discontinued operations. [Refer: Discontinued operations [member]; Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2022-03-24 -Paragraph 33 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_a&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph B12 -Subparagraph b -Clause vii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_vii&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 82 -Subparagraph ea -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_82_ea&doctype=Standard -URIDate 2022-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 98 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_98_e&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ProfitLossFromDiscontinuedOperations
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | ifrs-full_ContinuingAndDiscontinuedOperationsAxis=ifrs-full_DiscontinuedOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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