XML 156 R127.htm IDEA: XBRL DOCUMENT
v3.22.1

Investments (Details - Textuals) - BRL (R$) R$ in Thousands | 1 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2021 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Disclosure of joint ventures [line items] |  |  |  |  |
Sale value of joint venture after adjustments resulting from changes in working capital and net debt position |  | R$ (158,733) |  | R$ (487,390) | R$ (995,923)
Gain (loss) on disposal of Conectcar |  | R$ 76,485 |  |  |
Connect car [member] |  |  |  |  |
Disclosure of joint ventures [line items] |  |  |  |  |
Proportion of ownership interest in joint venture |  | 50.00% | [1] | 50.00% | 50.00%
Disposition of investment |  | R$ (78,099) |  |  |
Gain (loss) on disposal of Conectcar |  | R$ 76,000 |  |  |
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 after adjustments resulting from changes in working capital and net debt position |  | R$ 158,000 |  |  |
Connect car [member] | IPP [member] | Redecard S.A. [member] |  |  |  |  |
Disclosure of joint ventures [line items] |  |  |  |  |
Proportion of ownership interest in joint venture | 50.00% |  |  |  |
[1] | The balances presented refer to September 30, 2021, due to the completion of the sale of ConectCar on October 1, 2021, for further details see note 13.a.1.

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

X
- Definition The decrease in investments in joint ventures resulting from disposition of investment. + References No definition available. + Details
Name: | ugp_DecreaseThroughDispositionOfInvestmentInJointVentures
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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: |

X
- Details
Name: | srt_CounterpartyNameAxis=ugp_RedecardSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |