XML 159 R140.htm IDEA: XBRL DOCUMENT
v3.23.1

Loans, financing, debentures and derivative financial instruments - Summary of Loan Maturity (Detail) - Debentures [member] R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 BRL (R$)
Disclosure of detailed information about borrowings [line items] |  |
Debentures | R$ 6,035,893 |
Charges | (77,949) | [1]
Mar/2023 |  |
Disclosure of detailed information about borrowings [line items] |  |
Debentures | 1,725,000 |
Dec/2023 |  |
Disclosure of detailed information about borrowings [line items] |  |
Debentures | 660,000 |
Apr/2024 |  |
Disclosure of detailed information about borrowings [line items] |  |
Debentures | 469,937 |
Oct/2024 |  |
Disclosure of detailed information about borrowings [line items] |  |
Debentures | 282,790 |
Nov/2024 |  |
Disclosure of detailed information about borrowings [line items] |  |
Debentures | 90,000 |
Dec/2025 |  |
Disclosure of detailed information about borrowings [line items] |  |
Debentures | 303,845 |
Mar/2028 |  |
Disclosure of detailed information about borrowings [line items] |  |
Debentures | 526,365 |
Sep/2028 |  |
Disclosure of detailed information about borrowings [line items] |  |
Debentures | 1,052,762 |
Jun/2030 |  |
Disclosure of detailed information about borrowings [line items] |  |
Debentures | 334,381 |
Jun/2031 |  |
Disclosure of detailed information about borrowings [line items] |  |
Debentures | 334,381 |
Jun/2032 |  |
Disclosure of detailed information about borrowings [line items] |  |
Debentures | R$ 334,381 |
[1] | Includes interest, transaction cost and mark to market.

X
- Definition The amount of interest and other costs that an entity incurs in connection with the borrowing of funds that are recognised as an expense. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_BorrowingCostsRecognisedAsExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 The amount of notes and debentures issued by the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NotesAndDebenturesIssued
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

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

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

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

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

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

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

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

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

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

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