XML 154 R128.htm IDEA: XBRL DOCUMENT
v3.25.1

Equity - Balance of Other Comprehensive Income (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Valuation Adjustments |  |  |
Disclosure of classes of share capital [line items] |  |  |
Beginning balance | R$ 154,108 | R$ 179,974 | R$ (422,138)
Changes in fair value of financial instruments | 12,238 | (11,091) | 911,954
IRPJ and CSLL on fair value | (3,691) | 3,691 | (309,503)
Actuarial gain (loss) of post-employment benefits | 24,587 | (28,710) | (610)
IRPJ and CSLL on actuarial gains | (9,164) | 10,244 | 271
Currency translation adjustment of foreign associates | 36,134 |  |
Ending balance | 214,212 | 154,108 | 179,974
Fair value of cash flow hedging instruments [member] |  |  |
Disclosure of classes of share capital [line items] |  |  |
Beginning balance | (7,684) | 0 | (601,301)
Changes in fair value of financial instruments | 12,186 | (11,375) | 910,804
IRPJ and CSLL on fair value | (3,691) | 3,691 | (309,503)
Actuarial gain (loss) of post-employment benefits | 0 | 0 | 0
IRPJ and CSLL on actuarial gains | 0 | 0 | 0
Currency translation adjustment of foreign associates | 0 |  |
Ending balance | (811) | (7,684) | 0
Cumulative translation adjustments [member] |  |  |
Disclosure of classes of share capital [line items] |  |  |
Beginning balance | 0 | 0 | 0
Changes in fair value of financial instruments | 0 | 0 | 0
IRPJ and CSLL on fair value | 0 | 0 | 0
Actuarial gain (loss) of post-employment benefits | 0 | 0 | 0
IRPJ and CSLL on actuarial gains | 0 | 0 | 0
Currency translation adjustment of foreign associates | 36,134 |  |
Ending balance | 36,134 | 0 | 0
Fair value of financial instruments [member] |  |  |
Disclosure of classes of share capital [line items] |  |  |
Beginning balance | 0 | 0 | (403)
Changes in fair value of financial instruments | 0 | 0 | 403
IRPJ and CSLL on fair value | 0 | 0 | 0
Actuarial gain (loss) of post-employment benefits | 0 | 0 | 0
IRPJ and CSLL on actuarial gains | 0 | 0 | 0
Currency translation adjustment of foreign associates | 0 |  |
Ending balance | 0 | 0 | 0
Actuarial gains (losses) of post-employment benefits [member] |  |  |
Disclosure of classes of share capital [line items] |  |  |
Beginning balance | (36,608) | (18,142) | (17,803)
Changes in fair value of financial instruments | 0 | 0 | 0
IRPJ and CSLL on fair value | 0 | 0 | 0
Actuarial gain (loss) of post-employment benefits | 24,587 | (28,710) | (610)
IRPJ and CSLL on actuarial gains | (9,164) | 10,244 | 271
Currency translation adjustment of foreign associates | 0 |  |
Ending balance | (21,185) | (36,608) | (18,142)
Non-controlling shareholders interest change [member] |  |  |
Disclosure of classes of share capital [line items] |  |  |
Beginning balance | 197,369 | 197,369 | 197,369
Changes in fair value of financial instruments | 0 | 0 | 0
IRPJ and CSLL on fair value | 0 | 0 | 0
Actuarial gain (loss) of post-employment benefits | 0 | 0 | 0
IRPJ and CSLL on actuarial gains | 0 | 0 | 0
Currency translation adjustment of foreign associates | 0 |  |
Ending balance | 197,369 | 197,369 | 197,369
Others |  |  |
Disclosure of classes of share capital [line items] |  |  |
Beginning balance | 1,031 | 747 | 0
Changes in fair value of financial instruments | 52 | 284 | 747
IRPJ and CSLL on fair value | 0 | 0 | 0
Actuarial gain (loss) of post-employment benefits | 0 | 0 | 0
IRPJ and CSLL on actuarial gains | 0 | 0 | 0
Currency translation adjustment of foreign associates | 0 |  |
Ending balance | R$ 1,083 | R$ 1,031 | R$ 747

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

X
- Definition The gains (losses) recognised in other comprehensive income on exchange differences on the translation of financial statements of foreign operations, before tax, before reclassification adjustments. [Refer: Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_91_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationBeforeTax
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of income tax relating to amounts recognised in other comprehensive income in relation to financial assets measured at fair value through other comprehensive income applying paragraph 4.1.2A of IFRS 9. [Refer: Financial assets measured at fair value through other comprehensive income; Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 90 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_90&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2024-01-01 -Paragraph 81 -Subparagraph ab -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2024-en-r&anchor=para_81_ab&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_IncomeTaxRelatingToFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of income tax relating to amounts recognised in other comprehensive income in relation to remeasurements of defined benefit plans. [Refer: Other comprehensive income; Reserve of remeasurements of defined benefit plans; Defined benefit plans [domain]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 90 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_90&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2024-01-01 -Paragraph 81 -Subparagraph ab -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2024-en-r&anchor=para_81_ab&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_IncomeTaxRelatingToRemeasurementsOfDefinedBenefitPlansOfOtherComprehensiveIncome
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of other comprehensive income, before tax, after reclassification adjustments, related to financial assets measured at fair value through other comprehensive income applying paragraph 4.1.2A of IFRS 9. [Refer: Financial assets measured at fair value through other comprehensive income; Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_91_b&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_7&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 20 -Subparagraph a -Clause viii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_20_a_viii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_OtherComprehensiveIncomeBeforeTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of other comprehensive income, before tax, related to gains (losses) on remeasurements of defined benefit plans, which comprise actuarial gains and losses; the return on plan assets, excluding amounts included in net interest on the net defined benefit liability (asset); and any change in the effect of the asset ceiling, excluding amounts included in net interest on the net defined benefit liability (asset). [Refer: Other comprehensive income; Defined benefit plans [domain]; Plan assets [member]; Net defined benefit liability (asset)] [Contrast: Decrease (increase) in net defined benefit liability (asset) resulting from gain (loss) on remeasurement in other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_91_b&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_7&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_135_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition A component of equity representing the reserves of accumulated valuation adjustments. + References No definition available. + Details
Name: | ugp_ReserveOfValuationAdjustments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_ComponentsOfEquityAxis=ugp_ValuationAdjustmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ComponentsOfEquityAxis=ifrs-full_ReserveOfCashFlowHedgesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ComponentsOfEquityAxis=ifrs-full_ReserveOfExchangeDifferencesOnTranslationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ComponentsOfEquityAxis=ifrs-full_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ComponentsOfEquityAxis=ifrs-full_ReserveOfRemeasurementsOfDefinedBenefitPlansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ComponentsOfEquityAxis=ugp_NoncontrollingShareholdersInterestChangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ComponentsOfEquityAxis=ugp_OtherValuationAdjustmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |