XML 140 R121.htm IDEA: XBRL DOCUMENT
v3.23.1

Right-of-use assets and leases payable - Summary of Maturities of Lease Payments of Operating Lease (Detail) R$ in Thousands | Dec. 31, 2022 BRL (R$)
--- | ---
Disclosure of maturity analysis of operating lease payments [line items] |
Future disbursements | R$ 2,404,105
Up to 1 year |
Disclosure of maturity analysis of operating lease payments [line items] |
Future disbursements | 343,792
1 to 2 years |
Disclosure of maturity analysis of operating lease payments [line items] |
Future disbursements | 319,284
2 to 3 years |
Disclosure of maturity analysis of operating lease payments [line items] |
Future disbursements | 277,318
3 to 4 years |
Disclosure of maturity analysis of operating lease payments [line items] |
Future disbursements | 201,227
4 to 5 years |
Disclosure of maturity analysis of operating lease payments [line items] |
Future disbursements | 173,229
More than 5 years |
Disclosure of maturity analysis of operating lease payments [line items] |
Future disbursements | 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: |