XML 156 R137.htm IDEA: XBRL DOCUMENT
v3.23.1

Loans, financing, debentures and derivative financial instruments - Summary of Foreign Loan Maturity (Detail) € in Thousands, R$ in Thousands, $ in Thousands | 12 Months Ended |  |  |  |
--- | --- | --- | --- | --- | ---
Dec. 31, 2022 EUR (€) | Dec. 31, 2022 BRL (R$) | Dec. 31, 2022 USD ($) | Dec. 31, 2021 BRL (R$) | Dec. 31, 2020 BRL (R$) | Dec. 31, 2019 BRL (R$)
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |  |
Loan maturity, amount |  |  | R$ 11,750,361 |  | R$ 16,377,643 | R$ 17,376,216 | R$ 14,392,722
IPP [member] | Foreign loans [member] |  |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |  |
Loan maturity, amount |  | € 9,793 | R$ 1,216,340 | $ 222,665 |  |  |
Cost in percentage of DI |  | 106.70% | 106.70% | 106.70% |  |  |
Charges [member] | IPP [member] | Foreign loans [member] |  |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |  |
Loan maturity, amount | [1] | € 84 | R$ 7,386 | $ 1,326 |  |  |
Cost in percentage of DI | [1] | 0.00% | 0.00% | 0.00% |  |  |
Foreign loan one [member] | IPP [member] | Foreign loans [member] |  |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |  |
Borrowings, maturity date |  | Mar/2023 |  |  |  |  |
Loan maturity, amount |  | € 9,709 | R$ 54,072 | $ 0 |  |  |
Cost in percentage of DI |  | 111.60% | 111.60% | 111.60% |  |  |
Foreign loan two [member] | IPP [member] | Foreign loans [member] |  |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |  |
Borrowings, maturity date |  | Sept/2023 |  |  |  |  |
Loan maturity, amount |  | € 0 | R$ 313,062 | $ 60,000 |  |  |
Cost in percentage of DI |  | 105.00% | 105.00% | 105.00% |  |  |
Foreign loan three [member] | IPP [member] | Foreign loans [member] |  |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |  |
Borrowings, maturity date |  | Sept/2023 |  |  |  |  |
Loan maturity, amount |  | € 0 | R$ 339,151 | $ 65,000 |  |  |
Cost in percentage of DI |  | 104.80% | 104.80% | 104.80% |  |  |
Foreign loan four [member] | IPP [member] | Foreign loans [member] |  |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |  |
Borrowings, maturity date |  | Sept/2025 |  |  |  |  |
Loan maturity, amount |  | € 0 | R$ 502,669 | $ 96,339 |  |  |
Cost in percentage of DI |  | 108.50% | 108.50% | 108.50% |  |  |
[1] | Includes interest, transaction costs and mark to market.

X
- Definition The amount of outstanding funds that the entity is obligated to repay. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_55&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_Borrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The adjustment to the basis (reference rate) used for calculation of the interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_7&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_BorrowingsAdjustmentToInterestRateBasis
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maturity of borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_7&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_BorrowingsMaturity
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
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
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_IpirangaProdutosdePetroleoSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ugp_ForeignLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_ForeignLoanAxis=ugp_ChargesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_ForeignLoanAxis=ugp_ForeignLoanOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_ForeignLoanAxis=ugp_ForeignLoanTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_ForeignLoanAxis=ugp_ForeignLoanThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_ForeignLoanAxis=ugp_ForeignLoanFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |