XML 133 R108.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Right-of-use assets and leases payable - Summary of Maturities of Lease Payments of Operating Lease (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Disclosure of maturity analysis of operating lease payments [line items] |  |
Future disbursements | R$ 2,309,776 | R$ 2,404,105
Up to 1 year |  |
Disclosure of maturity analysis of operating lease payments [line items] |  |
Future disbursements | 418,450 | 343,792
1 to 2 years |  |
Disclosure of maturity analysis of operating lease payments [line items] |  |
Future disbursements | 322,165 | 319,284
2 to 3 years |  |
Disclosure of maturity analysis of operating lease payments [line items] |  |
Future disbursements | 227,785 | 277,318
3 to 4 years |  |
Disclosure of maturity analysis of operating lease payments [line items] |  |
Future disbursements | 189,744 | 201,227
4 to 5 years |  |
Disclosure of maturity analysis of operating lease payments [line items] |  |
Future disbursements | 147,977 | 173,229
More than 5 years |  |
Disclosure of maturity analysis of operating lease payments [line items] |  |
Future disbursements | R$ 1,003,655 | R$ 1,089,255

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

X
- Definition The amount of undiscounted operating lease payments to be paid. Operating lease is a lease that does not transfer substantially all the risks and rewards incidental to ownership of an underlying asset. + References No definition available. + Details
Name: | ugp_UndiscountedOperatingLeasePaymentsToBePaid
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_NotLaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |