XML 167 R148.htm IDEA: XBRL DOCUMENT
v3.23.1

Employee Benefits and Private Pension Plan - Post-employment benefit expense (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Disclosure of defined benefit plans [line items] |  |  |
Employee benefit expense | R$ 20,944 | R$ 15,585 | R$ 11,622
Health and dental care plan [member] |  |  |
Disclosure of defined benefit plans [line items] |  |  |
Employee benefit expense | 14,660 | 15,265 | 11,127
Indemnification of FGTS [member] |  |  |
Disclosure of defined benefit plans [line items] |  |  |
Employee benefit expense | 4,766 | 4,409 | 6,199
Seniority bonus [member] |  |  |
Disclosure of defined benefit plans [line items] |  |  |
Employee benefit expense | 563 | (4,886) | (6,821)
Life insurance [member] |  |  |
Disclosure of defined benefit plans [line items] |  |  |
Employee benefit expense | R$ 955 | R$ 797 | R$ 1,117

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_DisclosureOfDefinedBenefitPlansLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of post-employment benefit expense included in profit or loss relating to defined benefit plans. [Refer: Profit (loss); Defined benefit plans [member]] [Contrast: Increase (decrease) in net defined benefit liability (asset) resulting from expense (income) in profit or loss] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 5 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_5&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_135_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_PostemploymentBenefitExpenseDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ugp_HealthAndDentalCareMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ugp_IndemnificationOfFGTSMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ugp_SeniorityBonusMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ugp_LifeInsuranceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |