XML 142 R123.htm IDEA: XBRL DOCUMENT
v3.23.1

Right-of-use assets and leases payable - Details about lease contracts of low amount assets (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Disclosure of maturity analysis of operating lease payments [line items] |  |
Lease payments to be payable | R$ 8,147 | R$ 1,118
Up to 1 year |  |
Disclosure of maturity analysis of operating lease payments [line items] |  |
Lease payments to be payable | 2,458 | 124
Between 1 and 5 years |  |
Disclosure of maturity analysis of operating lease payments [line items] |  |
Lease payments to be payable | 5,689 | 994
More than 5 years [Member] |  |
Disclosure of maturity analysis of operating lease payments [line items] |  |
Lease payments to be payable | R$ 0 | 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_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 for lease contracts of low amount assets. + References No definition available. + Details
Name: | ugp_UndiscountedOperatingLeasePaymentsToBePaidForContractsOfLowAmountAssets
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_LaterThanOneYearAndNotLaterThanFiveYearsMember
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: |