XML 168 R143.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Equity - Balance of Other Comprehensive Income (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Valuation Adjustments |  |  |
Disclosure of classes of share capital [line items] |  |  |
Beginning balance | R$ 179,974 | R$ (422,138) | R$ (464,990)
Changes in fair value of financial instruments | (11,091) | 911,954 | 11,364
IRPJ and CSLL on fair value | 3,691 | (309,503) | (4,060)
Actuarial gain (loss) of post-employment benefits | (28,710) | (610) | 49,550
IRPJ and CSLL on actuarial gains | 10,244 | 271 | (14,002)
Ending balance | 154,108 | 179,974 | (422,138)
Fair value of cash flow hedging instruments [member] |  |  |
Disclosure of classes of share capital [line items] |  |  |
Beginning balance | 0 | (601,301) | (609,277)
Changes in fair value of financial instruments | (11,375) | 910,804 | 12,036
IRPJ and CSLL on fair value | 3,691 | (309,503) | (4,060)
Actuarial gain (loss) of post-employment benefits | 0 | 0 | 0
IRPJ and CSLL on actuarial gains | 0 | 0 | 0
Ending balance | (7,684) | 0 | (601,301)
Fair value of financial instruments [member] |  |  |
Disclosure of classes of share capital [line items] |  |  |
Beginning balance | 0 | (403) | 269
Changes in fair value of financial instruments | 0 | 403 | (672)
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
Ending balance | 0 | 0 | (403)
Actuarial gains (losses) of post-employment benefits [member] |  |  |
Disclosure of classes of share capital [line items] |  |  |
Beginning balance | (18,142) | (17,803) | (53,351)
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 | (28,710) | (610) | 49,550
IRPJ and CSLL on actuarial gains | 10,244 | 271 | (14,002)
Ending balance | (36,608) | (18,142) | (17,803)
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
Ending balance | 197,369 | 197,369 | 197,369
Others |  |  |
Disclosure of classes of share capital [line items] |  |  |
Beginning balance | 747 | 0 | 0
Changes in fair value of financial instruments | 284 | 747 | 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
Ending balance | R$ 1,031 | R$ 747 | R$ 0

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 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 12 -IssueDate 2023-01-01 -Paragraph 81 -Subparagraph ab -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_ab&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 90 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_90&doctype=Standard -URIDate 2023-03-23 + 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 [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2023-01-01 -Paragraph 81 -Subparagraph ab -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_ab&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 90 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_90&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_91_b&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 20 -Subparagraph a -Clause viii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_20_a_viii&doctype=Standard -URIDate 2023-03-23 + 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 [member]; 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/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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_91_b&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard -URIDate 2023-03-23 + 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_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: |