XML 139 R113.htm IDEA: XBRL DOCUMENT
v3.25.1

Loans, financing, debentures and derivative financial instruments - Additional Information (Detail) R$ in Thousands, $ in Millions | Dec. 31, 2024 BRL (R$) | Dec. 31, 2024 USD ($) | Dec. 31, 2023 BRL (R$) | Dec. 31, 2022 BRL (R$)
--- | --- | --- | --- | ---
Disclosure of detailed information about borrowings [line items] |  |  |  |
Transaction costs | R$ 18,928 |  | R$ 19,626 | R$ 30,420
Amount appropriated to profit or loss in the future | 69,914 |  | 84,516 |
Amount of financing with real guarantees | 114,472 |  |  |
Amount of guarantees and promissory notes | 13,586,936 |  | 10,966,890 |
Collateral guarantees to secure letters of credits | 97,947 |  | 103,600 |
Loan 1 [member] |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |
Notional amount | $ |  | $ 300 |  |
IPP [member] |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |
Maximum amount of future payments related to these collaterals | R$ 219,700 |  | R$ 397,152 |

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

X
- Definition The nominal or face amount of a financial instrument, used to calculate payments made on that instrument. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_112_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NotionalAmount
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount appropriated to profit or loss in the future. + References No definition available. + Details
Name: | ugp_AmountAppropriatedToProfitOrLossInFuture
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of collateral in the form of letters of credit for commercial and legal proceedings. + References No definition available. + Details
Name: | ugp_CollateralAssetsLettersOfCreditOrGuarantees
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of collateral financing with real guarantees. + References No definition available. + Details
Name: | ugp_CollateralFinancingRealGuarantees
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of guarantees and promissory notes. + References No definition available. + Details
Name: | ugp_GuaranteesDebtors
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The maximum potential amount of future payments on guarantee liabilities. + References No definition available. + Details
Name: | ugp_MaximumPotentialAmountOfFuturePaymentsOnGuarantees
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of accrued transaction costs of financial instruments. + References No definition available. + Details
Name: | ugp_TransactionCostsFinancialInstruments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_ClassesOfLiabilitiesAxis=ugp_Loan1Member
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: |