XML 208 R189.htm IDEA: XBRL DOCUMENT
v3.23.1

Business combinations - Schedule of the provisional balances of assets acquired and liabilities assumed on the acquisition date (Details) - BRL (R$) R$ in Thousands |  |  | 12 Months Ended
--- | --- | --- | ---
Oct. 01, 2022 | Sep. 12, 2022 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Comprised by |  |  |  |  |
Contingent consideration to be settled |  |  | R$ 89,640 |  |
Net cash outflow resulting from the acquisition |  |  |  |  |
Total |  |  | R$ 5,985 | R$ 0 | R$ 0
Ultragaz Comercial Ltda [member] | Stella GD Intermediação de Geração Distribuída de Energia Ltda [member] |  |  |  |  |
Assets |  |  |  |  |
Cash and cash equivalents | R$ 1,586 |  |  |  |
Receivables | 17 |  |  |  |
Other receivables | 119 |  |  |  |
Property, plant and equipment | 515 |  |  |  |
Intangible assets | 902 |  |  |  |
Goodwill based on expected future profitability | 99,679 |  |  |  |
Liabilities |  |  |  |  |
Trade payables | 14 |  |  |  |
Salaries and related charges | 217 |  |  |  |
Taxes payable | 9 |  |  |  |
Other payables | 5,378 |  |  |  |
Acquisition value | 97,200 |  |  |  |
Comprised by |  |  |  |  |
Cash | 7,560 |  |  |  |
Contingent consideration to be settled | 89,640 |  |  |  |
Total consideration | 97,200 |  |  |  |
Net cash outflow resulting from the acquisition |  |  |  |  |
Consideration in cash | 7,560 | R$ 7,600 |  |  |
Cash and cash equivalents acquired | (1,586) |  |  |  |
Total | R$ 5,974 |  |  |  |

X
- Definition The fair value, at acquisition date, of the consideration transferred in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph B64 -Subparagraph f -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_f&doctype=Appendix&subtype=B -URIDate 2022-03-24 + Details
Name: | ifrs-full_AcquisitiondateFairValueOfTotalConsiderationTransferred
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition The amount of cash and cash equivalents in subsidiaries or other businesses over which control is obtained or lost. [Refer: Subsidiaries [member]; Cash and cash equivalents] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 40 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_40_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashAndCashEquivalentsInSubsidiaryOrBusinessesAcquiredOrDisposed2013
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount recognised as of the acquisition date for cash and cash equivalents acquired in a business combination. [Refer: Cash and cash equivalents; Business combinations [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph B64 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashAndCashEquivalentsRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 fair value, at acquisition date, of cash transferred as consideration in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph B64 -Subparagraph f -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_f_i&doctype=Appendix&subtype=B -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashTransferred
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount, at acquisition date, of contingent consideration arrangements recognised as consideration transferred in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph B64 -Subparagraph g -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_g_i&doctype=Appendix&subtype=B -URIDate 2022-03-24 + Details
Name: | ifrs-full_ContingentConsiderationRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fair value of receivables acquired in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph B64 -Subparagraph h -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_h_i&doctype=Appendix&subtype=B -URIDate 2022-03-24 + Details
Name: | ifrs-full_FairValueOfAcquiredReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the business combination's acquisition date for goodwill. [Refer: Goodwill; Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph IE72 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_IE72&doctype=Illustrative%20Examples -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph B64 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64&doctype=Appendix&subtype=B -URIDate 2022-03-24 + Details
Name: | ifrs-full_GoodwillRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for net identifiable assets acquired or liabilities assumed in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph B64 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph IE72 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_IE72&doctype=Illustrative%20Examples -URIDate 2022-03-24 + Details
Name: | ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for identifiable intangible assets acquired in a business combination. [Refer: Intangible assets other than goodwill; Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph B64 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph IE72 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_IE72&doctype=Illustrative%20Examples -URIDate 2022-03-24 + Details
Name: | ifrs-full_IdentifiableIntangibleAssetsRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The portion of consideration paid or received, consisting of cash and cash equivalents, in respect of both obtaining and losing control of subsidiaries or other businesses. [Refer: Subsidiaries [member]; Cash and cash equivalents; Consideration paid (received)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 40 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_40_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_PortionOfConsiderationPaidReceivedConsistingOfCashAndCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount recognised as of the acquisition date for plant, property and equipment acquired in a business combination. [Refer: Property, plant and equipment; Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph B64 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph IE72 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_IE72&doctype=Illustrative%20Examples -URIDate 2022-03-24 + Details
Name: | ifrs-full_PropertyPlantAndEquipmentRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for trade and other payables assumed in a business combination. [Refer: Trade and other payables; Business combinations [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph B64 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B -URIDate 2022-03-24 + Details
Name: | ifrs-full_TradeAndOtherPayablesRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

X
- Definition The amount recognised as of the acquisition date for employee benefit liabilities assumed in a business combination. + References No definition available. + Details
Name: | ugp_EmployeeBenefitLiabilitiesRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for other payables assumed in a business combination. + References No definition available. + Details
Name: | ugp_OtherPayablesRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for other receivables acquired in a business combination. + References No definition available. + Details
Name: | ugp_OtherReceivablesRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition The amount recognised as of the acquisition date for tax liabilities assumed in a business combination. + References No definition available. + Details
Name: | ugp_TaxLiabilitiesRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_StellaGroupMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |