XML 159 R134.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

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

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 2023-01-01 -Paragraph 5 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_5&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_135_b&doctype=Standard -URIDate 2023-03-23 + 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: |