XML 231 R202.htm IDEA: XBRL DOCUMENT
v3.22.1

Risks and Financial Instruments - Fair values and the carrying values of the financial instruments (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, carrying value |  | R$ 8,900,502 | R$ 13,031,666
Financial assets, fair value |  | 8,822,844 | 13,007,571
Financial liabilities, carrying value |  | 23,567,204 | 23,336,595
Financial liabilities, fair value |  | R$ 23,732,653 | R$ 23,998,204
Cash and bank [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial assets, carrying value |  | R$ 334,547 | R$ 405,081
Financial assets, fair value |  | R$ 334,547 | R$ 405,081
Financial investments local currency [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through other comprehensive income | Measured at fair value through other comprehensive income
Financial assets, carrying value |  | R$ 1,943,164 | R$ 2,241,852
Financial assets, fair value |  | R$ 1,943,164 | R$ 2,241,852
Financial investments foreign currency [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial assets, carrying value |  | R$ 2,363 | R$ 14,561
Financial assets, fair value |  | R$ 2,363 | R$ 14,561
Fixed-income securities and funds in local currency1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial assets, carrying value |  | R$ 1,607,608 | R$ 3,643,286
Financial assets, fair value |  | R$ 1,607,608 | R$ 3,643,286
Fixed-income securities and funds in local currency 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through other comprehensive income | Measured at fair value through other comprehensive income
Financial assets, carrying value |  |  | R$ 31,315
Financial assets, fair value |  |  | R$ 31,315
Fixed-income securities (guarantee of loans) [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial assets, carrying value |  |  | R$ 75,251
Financial assets, fair value |  |  | R$ 75,251
Fixed-income securities and funds in foreign currency [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through other comprehensive income | Measured at fair value through other comprehensive income
Financial assets, carrying value |  | R$ 103,239 | R$ 1,278,940
Financial assets, fair value |  | R$ 103,239 | R$ 1,278,940
Currency and interest rate hedging and commodities instruments [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial assets, carrying value |  | R$ 472,552 | R$ 981,874
Financial assets, fair value |  | R$ 472,552 | R$ 981,874
Trade Receivables [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial assets, carrying value |  | R$ 3,438,995 | R$ 3,391,122
Financial assets, fair value |  | R$ 3,367,012 | R$ 3,369,766
Reseller Financing [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial assets, carrying value |  | R$ 998,034 | R$ 968,384
Financial assets, fair value |  | R$ 992,359 | R$ 965,645
Financing 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial liabilities, carrying value |  | R$ 1,011,374 | R$ 1,308,928
Financial liabilities, fair value |  | R$ 1,011,374 | R$ 1,308,928
Financing 2 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial liabilities, carrying value |  | R$ 8,082,323 | R$ 9,406,013
Financial liabilities, fair value |  | R$ 8,380,088 | R$ 10,186,947
Debentures [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial liabilities, carrying value |  | R$ 4,599,525 | R$ 5,450,751
Financial liabilities, fair value |  | R$ 4,529,439 | R$ 5,363,621
Debentures 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial liabilities, carrying value |  | R$ 2,487,244 | R$ 1,093,365
Financial liabilities, fair value |  | R$ 2,487,244 | R$ 1,093,365
Lease payable [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial liabilities, carrying value |  | R$ 1,348,311 | R$ 1,833,288
Financial liabilities, fair value |  | R$ 1,348,311 | R$ 1,833,288
Commodities, currency and interest rate hedging instruments [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial liabilities, carrying value |  | R$ 197,177 | R$ 117,159
Financial liabilities, fair value |  | R$ 197,177 | R$ 117,159
Trade payables [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category |  | Measured at amortized cost | Measured at amortized cost
Financial liabilities, carrying value |  | R$ 5,789,954 | R$ 4,040,652
Financial liabilities, fair value |  | R$ 5,727,724 | R$ 4,008,457
Subscription warrants - indemnification [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Category | [1] | Measured at fair value through profit or loss | Measured at fair value through profit or loss
Financial liabilities, carrying value |  | R$ 51,296 | R$ 86,439
Financial liabilities, fair value | [1] | R$ 51,296 | R$ 86,439
[1] | Refers to subscription warrants issued by the Company in the Extrafarma acquisition.

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_DisclosureOfFinancialInstrumentsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of assets that are: (a) cash; (b) an equity instrument of another entity; (c) a contractual right: (i) to receive cash or another financial asset from another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially favourable to the entity; or (d) a contract that will, or may be, settled in the entity’s own equity instruments and is: (i) a non-derivative for which the entity is, or may be, obliged to receive a variable number of the entity’s own equity instruments; or (ii) a derivative that will, or may be, settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity’s own equity instruments. For this purpose the entity’s own equity instruments do not include puttable financial instruments classified as equity instruments in accordance with paragraphs 16A-16B of IAS 32, instruments that impose on the entity an obligation to deliver to another party a pro rata share of the net assets of the entity only on liquidation and are classified as equity instruments in accordance with paragraphs 16C-16D of IAS 32, or instruments that are contracts for the future receipt or delivery of the entity’s own equity instruments. [Refer: Financial instruments, class [member]; Financial liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 25 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_25&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 35H -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35H&doctype=Standard -URIDate 2021-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 35I -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35I&doctype=Standard -URIDate 2021-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 35M -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35M&doctype=Standard -URIDate 2021-03-24 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 35N -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35N&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_FinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The fair value of financial assets. [Refer: At fair value [member]; Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 25 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_25&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_FinancialAssetsAtFairValue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of liabilities that are: (a) a contractual obligation: (i) to deliver cash or another financial asset to another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially unfavourable to the entity; or (b) a contract that will, or may be, settled in the entity’s own equity instruments and is: (i) a non-derivative for which the entity is, or may be, obliged to deliver a variable number of the entity’s own equity instruments; or (ii) a derivative that will, or may be, settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity’s own equity instruments. For this purpose, rights, options or warrants to acquire a fixed number of the entity’s own equity instruments for a fixed amount of any currency are equity instruments if the entity offers the rights, options or warrants pro rata to all of its existing owners of the same class of its own non-derivative equity instruments. Also, for those purposes the entity’s own equity instruments do not include puttable financial instruments that are classified as equity instruments in accordance with paragraphs 16A-16B of IAS 32, instruments that impose on the entity an obligation to deliver to another party a pro rata share of the net assets of the entity only on liquidation and are classified as equity instruments in accordance with paragraphs 16C-16D of IAS 32, or instruments that are contracts for the future receipt or delivery of the entity’s own equity instruments. As an exception, an instrument that meets the definition of a financial liability is classified as an equity instrument if it has all the features and meets the conditions in paragraphs 16A-16B or paragraphs 16C-16D of IAS 32. [Refer: Financial instruments, class [member]; Financial assets; Derivatives [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 25 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_25&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_FinancialLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fair value of financial liabilities. [Refer: At fair value [member]; Financial liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 25 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_25&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_FinancialLiabilitiesAtFairValue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The description of category of financial assets and liabilities. + References No definition available. + Details
Name: | ugp_CategoryOfFinancialAssetsAndLiabilities
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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

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

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

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

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

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

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

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

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

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

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_Financing2Member
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_Debentures1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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