XML 181 R152.htm IDEA: XBRL DOCUMENT
v3.22.1

Loans, financing, debentures and hedge derivative financial instruments - Summary of Appropriated Profit or Loss in The Future (Detail) R$ in Thousands | Dec. 31, 2021 BRL (R$)
--- | ---
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | R$ 82,584
Up to 1 year |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 19,262
From 1 to 2 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 15,257
From 2 to 3 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 11,133
From 3 to 4 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 10,210
From 4 to 5 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 9,783
More than 5 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 16,939
Debentures [member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 54,490
Debentures [member] | Up to 1 year |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 15,060
Debentures [member] | From 1 to 2 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 11,129
Debentures [member] | From 2 to 3 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 6,990
Debentures [member] | From 3 to 4 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 6,075
Debentures [member] | From 4 to 5 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 5,886
Debentures [member] | More than 5 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 9,350
Notes in foreign market [member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 28,018
Notes in foreign market [member] | Up to 1 year |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 4,126
Notes in foreign market [member] | From 1 to 2 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 4,128
Notes in foreign market [member] | From 2 to 3 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 4,143
Notes in foreign market [member] | From 3 to 4 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 4,135
Notes in foreign market [member] | From 4 to 5 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 3,897
Notes in foreign market [member] | More than 5 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 7,589
Banco do Brasil [member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 76
Banco do Brasil [member] | Up to 1 year |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future | 76
Banco do Brasil [member] | From 1 to 2 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future |
Banco do Brasil [member] | From 2 to 3 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future |
Banco do Brasil [member] | From 3 to 4 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future |
Banco do Brasil [member] | From 4 to 5 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future |
Banco do Brasil [member] | More than 5 years [Member] |
Disclosure of detailed information about borrowings [line items] |
Amount appropriated to profit or loss in the future |

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: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_DebenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_NotesInForeignMarketMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_BancoDoBrasilMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |