XML 129 R104.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Investments in subsidiaries, joint ventures and associates (Details - Textuals) - BRL (R$) R$ in Thousands |  | 12 Months Ended
--- | --- | ---
Feb. 01, 2022 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Disclosure of joint ventures [line items] |  |  |  |  |  |
Sale value of joint venture after adjustments resulting from changes in working capital and net debt position |  |  | R$ 0 |  | R$ (220,190) | R$ (158,733)
Quimica da Bahia Industria e Comercio S.A. [member] |  |  |  |  |  |
Disclosure of joint ventures [line items] |  |  |  |  |  |
Proportion of ownership interest in joint venture |  | 50.00% | 50.00% | [1] | 50.00% |
Connect car [member] |  |  |  |  |  |
Disclosure of joint ventures [line items] |  |  |  |  |  |
Proportion of ownership interest in joint venture | [2] |  |  |  |  | 50.00%
Opla |  |  |  |  |  |
Disclosure of joint ventures [line items] |  |  |  |  |  |
Proportion of ownership interest in joint venture | [3] |  | 50.00% |  |  |
Opla | Ultracargo Logística S.A. |  |  |  |  |  |
Disclosure of joint ventures [line items] |  |  |  |  |  |
Percentage of equity interest acquired |  |  | 50.00% |  |  |
[1] | The Company acquired a 50% interest in Química da Bahia on February 1, 2022. Until January 31, 2022, Química da Bahia was an associate of Oxiteno S.A.
[2] | The balances presented refer to September 30, 2021, due to the completion of the sale of ConectCar on October 1, 2021.
[3] | The subsidiary Ultracargo Logística acquired a 50% interest in Opla on July 1, 2023. For more information, see Note 28.c.

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 2023-01-01 -Paragraph 33 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2023-en-r&anchor=para_33_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_CashFlowsFromUsedInInvestingActivitiesDiscontinuedOperations
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_DisclosureOfJointVenturesLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of voting equity interests acquired in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2023-01-01 -Paragraph B64 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2023-en-r&anchor=para_B64_c&doctype=Appendix&subtype=B -URIDate 2023-03-23 + Details
Name: | ifrs-full_PercentageOfVotingEquityInterestsAcquired
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The proportion of ownership interest in a joint venture attributable to the entity. [Refer: Joint ventures [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2023-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2023-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInJointVenture
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_JointVenturesAxis=ugp_QuimicaDaBahiaIndustriaEcomercioMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ugp_ConnectCarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ugp_TerminalDeCombustiveisPauliniaSAOplaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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