XML 136 R117.htm IDEA: XBRL DOCUMENT
v3.23.1

Investments in joint controlled entities and associates (Details - Textuals) - BRL (R$) R$ in Thousands |  |  | 12 Months Ended
--- | --- | --- | ---
Feb. 01, 2022 | Oct. 01, 2021 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Disclosure of joint ventures [line items] |  |  |  |  |  |  |
Sale value of joint venture after adjustments resulting from changes in working capital and net debt position |  |  | R$ (220,190) |  | R$ (158,733) |  | R$ (487,390)
Gain (loss) on disposal of Conectcar |  |  |  |  |  |  | R$ 85,455
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] |  |  |
Connect car [member] |  |  |  |  |  |  |
Disclosure of joint ventures [line items] |  |  |  |  |  |  |
Proportion of ownership interest in joint venture |  |  | 0.00% | [2] | 50.00% | [3] | 50.00%
Connect car [member] | IPP [member] |  |  |  |  |  |  |
Disclosure of joint ventures [line items] |  |  |  |  |  |  |
Proportion of ownership interest in joint venture |  | 50.00% |  |  |  |  |
Sale value of joint venture |  | R$ 165,000 |  |  |  |  |
Sale value of joint venture after adjustments resulting from changes in working capital and net debt position |  | R$ 158,000 |  |  |  |  |
[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 subsidiary IPP held an interest in ConectCar, which is primarily engaged in automatic payment of tolls and parking. On June 25, 2021, the sale of ConectCar to Porto Seguro S.A., through its subsidiary Portoseg S.A. – Crédito, Financiamento e Investimento, was announced. The transactions were completed on October 1, 2021. The sale value of the 50% interest in the subsidiary IPP was R$ 165 million, and, after adjustments resulting from changes in working capital and net debt position, totaled R$ 158 million.
[3] | The balances presented refer to September 30, 2021, due to the completion of the sale of ConectCar on October 1, 2021.

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 2022-03-24 -Paragraph 33 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_c&doctype=Standard -URIDate 2022-03-24 + 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 gains (losses) on disposals of investments. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 98 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_98_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_GainsLossesOnDisposalsOfInvestments
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 2022-03-24 -Paragraph 17 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2022-03-24 -Paragraph 16 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph 21 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInJointVenture
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of sale value of joint venture. + References No definition available. + Details
Name: | ugp_SaleValueOfJointVenture
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_SignificantInvestmentsInSubsidiariesAxis=ugp_IpirangaProdutosdePetroleoSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |