XML 147 R122.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Loans, financing, debentures and derivative financial instruments - Summary of Appropriated Profit or Loss in The Future (Detail) R$ in Thousands | Dec. 31, 2023 BRL (R$)
--- | ---
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | R$ 84,516
Up to 1 year |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 18,583
1 to 2 years |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 17,685
2 to 3 years |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 17,336
3 to 4 years |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 13,624
4 to 5 years |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 8,277
More than 5 years |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | R$ 9,011

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

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

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

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

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

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