XML 105 R78.htm IDEA: XBRL DOCUMENT
v3.19.1

Presentation of Financial Statements and Summary of Significant Accounting Policies - Summary of Classification and Measurement of Financial Instruments (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2018 | Dec. 31, 2017
Disclosure of reclassifications or changes in presentation [line items] |  |
Carrying value | R$ 6,994,406 | R$ 6,369,928
Cash and bank deposits [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category | Measured at amortized cost |
Carrying value | R$ 205,482 | 147,926
Financial investments local currency [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category | Measured at fair value through other comprehensive income |
Carrying value | R$ 3,722,308 | 4,821,605
Financial investments foreign currency [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category | Measured at fair value through profit or loss |
Carrying value | R$ 11,161 | 32,473
Fixed income securities local currency1 [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category | Measured at fair value through profit or loss |
Carrying value | R$ 2,462,018 | 1,076,849
Fixed income securities local currency2 [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category | Measured at fair value through other comprehensive income |
Carrying value | R$ 2,208 | 2,720
Fixed income securities local currency3 [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category | Measured at amortized cost |
Carrying value | R$ 73,089 | 73,471
Fixed income securities foreign currency [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category | Measured at fair value through other comprehensive income |
Carrying value | R$ 154,811 | 129,131
Currency interest rate hedging instruments [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category | Measured at fair value through profit or loss |
Carrying value | R$ 363,329 | 85,753
Previously stated [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Carrying value |  | R$ 6,369,928
Previously stated [member] | Cash and bank deposits [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category |  | Loans and receivables
Carrying value |  | R$ 147,926
Previously stated [member] | Financial investments local currency [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category |  | Measured at fair value through profit or loss
Carrying value |  | R$ 4,821,605
Previously stated [member] | Financial investments foreign currency [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category |  | Measured at fair value through profit or loss
Carrying value |  | R$ 32,473
Previously stated [member] | Fixed income securities local currency1 [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category |  | Available for sale
Carrying value |  | R$ 68,742
Previously stated [member] | Fixed income securities local currency2 [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category |  | Measured at fair value through profit or loss
Carrying value |  | R$ 1,076,849
Previously stated [member] | Fixed income securities local currency3 [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category |  | Held to maturity
Carrying value |  | R$ 7,449
Previously stated [member] | Fixed income securities foreign currency [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category |  | Available for sale
Carrying value |  | R$ 129,131
Previously stated [member] | Currency interest rate hedging instruments [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Category |  | Measured at fair value through profit or loss
Carrying value |  | R$ 85,753
Application of IFRS9 [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Measured at fair value through profit or loss |  | 1,195,075
Measured at fair value through other comprehensive income |  | 4,953,456
Measured at amortized cost |  | 221,397
Application of IFRS9 [member] | Cash and bank deposits [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Measured at amortized cost |  | 147,926
Application of IFRS9 [member] | Financial investments local currency [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Measured at fair value through other comprehensive income |  | 4,821,605
Application of IFRS9 [member] | Financial investments foreign currency [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Measured at fair value through profit or loss |  | 32,473
Application of IFRS9 [member] | Fixed income securities local currency1 [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Measured at fair value through other comprehensive income |  | 2,720
Measured at amortized cost |  | 66,022
Application of IFRS9 [member] | Fixed income securities local currency2 [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Measured at fair value through profit or loss |  | 1,076,849
Application of IFRS9 [member] | Fixed income securities local currency3 [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Measured at amortized cost |  | 7,449
Application of IFRS9 [member] | Fixed income securities foreign currency [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Measured at fair value through other comprehensive income |  | 129,131
Application of IFRS9 [member] | Currency interest rate hedging instruments [member] |  |
Disclosure of reclassifications or changes in presentation [line items] |  |
Measured at fair value through profit or loss |  | R$ 85,753

X
- Definition The amount of current financial assets measured at amortised cost. [Refer: Financial assets at amortised cost] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2018-01-01 -Paragraph 8 -Subparagraph f -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2018-03-01&anchor=para_8_f&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_CurrentFinancialAssetsAtAmortisedCost
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of current financial assets at fair value through other comprehensive income. [Refer: Financial assets at fair value through other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2018-01-01 -Paragraph 8 -Subparagraph h -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2018-03-01&anchor=para_8_h&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_CurrentFinancialAssetsAtFairValueThroughOtherComprehensiveIncome
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of current financial assets measured at fair value through profit or loss. [Refer: Financial assets at fair value through profit or loss] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2018-01-01 -Paragraph 8 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2018-03-01&anchor=para_8_a&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_CurrentFinancialAssetsAtFairValueThroughProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfReclassificationsOrChangesInPresentationLineItems
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 2018-01-01 -Paragraph 25 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2018-03-01&anchor=para_25&doctype=Standard -URIDate 2018-03-16 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2018-01-01 -Paragraph 35H -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2018-03-01&anchor=para_35H&doctype=Standard -URIDate 2018-03-16 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2018-01-01 -Paragraph 35I -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2018-03-01&anchor=para_35I&doctype=Standard -URIDate 2018-03-16 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2018-01-01 -Paragraph 35M -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2018-03-01&anchor=para_35M&doctype=Standard -URIDate 2018-03-16 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2018-01-01 -Paragraph 35N -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2018-03-01&anchor=para_35N&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_FinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition 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_EffectOfOverlayApproachReclassificationAxis=ifrs-full_PreviouslyStatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_EffectOfOverlayApproachReclassificationAxis=ugp_ApplicationOfIFRS9Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |