XML 149 R124.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Loans, financing, debentures and derivative financial instruments - Narrative of Debentures (Detail) - BRL (R$) R$ in Thousands | 1 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2023 | Mar. 31, 2023 | Oct. 31, 2022 | Apr. 30, 2022 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Summary of loans debentures and finance leases [line items] |  |  |  |  |  |  |
Amount of guarantees and promissory notes | R$ 10,966,890 |  |  |  | R$ 10,966,890 | R$ 9,371,295 |
Collateral guarantees to secure letters of credits | 103,600 |  |  |  | 103,600 | 115,451 |
Amount of contract settled |  |  |  |  | 3,149,525 | 5,848,611 | R$ 2,426,222
IPP [member] |  |  |  |  |  |  |
Summary of loans debentures and finance leases [line items] |  |  |  |  |  |  |
Maximum amount of future payments related to these collaterals | 397,152 |  |  |  | R$ 397,152 | R$ 550,908 |
Debentures fifth issue [member] | IPP [member] |  |  |  |  |  |  |
Summary of loans debentures and finance leases [line items] |  |  |  |  |  |  |
Amount of contract settled |  |  |  | R$ 660,139 |  |  |
Debentures sixth issue [member] | IPP [member] |  |  |  |  |  |  |
Summary of loans debentures and finance leases [line items] |  |  |  |  |  |  |
Amount of contract settled |  | R$ 1,725,000 |  |  |  |  |
Debentures seventh issue [member] | IPP [member] |  |  |  |  |  |  |
Summary of loans debentures and finance leases [line items] |  |  |  |  |  |  |
Amount of contract settled |  |  | R$ 730,384 |  |  |  |
Debentures eighth issue [member] | IPP [member] |  |  |  |  |  |  |
Summary of loans debentures and finance leases [line items] |  |  |  |  |  |  |
Amount of contract settled | R$ 660,000 |  |  |  |  |  |

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 cash outflow to settle borrowings, classified as financing activities. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2023-01-01 -Paragraph 17 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_17_d&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 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
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_IpirangaProdutosdePetroleoSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ugp_DebenturesFifthIssueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ugp_DebenturesSixthIssueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ugp_DebenturesSeventhIssueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ugp_DebenturesEighthIssueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |