XML 209 R182.htm IDEA: XBRL DOCUMENT
v3.19.1

Risks and Financial Instruments - Summary of Credit Risk of Cash, Cash Equivalents and Financial Investments (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | ---
Disclosure of external credit grades [line items] |  |
Counterparty credit rating | R$ 6,994,406 | R$ 6,369,928
AAA [member] |  |
Disclosure of external credit grades [line items] |  |
Counterparty credit rating | 5,933,671 | 29,003
AA [member] |  |
Disclosure of external credit grades [line items] |  |
Counterparty credit rating | 707,358 | 6,076,520
A [member] |  |
Disclosure of external credit grades [line items] |  |
Counterparty credit rating | 262,553 | 192,638
BBB [member] |  |
Disclosure of external credit grades [line items] |  |
Counterparty credit rating | R$ 90,824 | R$ 71,767

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

X
- Definition The amount of cash on hand and demand deposits, along with short-term, highly liquid investments that are readily convertible to known amounts of cash and that are subject to an insignificant risk of changes in value. [Refer: Cash; Cash equivalents] + References No definition available. + Details
Name: | ugp_CashCashEquivalentsAndFinancialInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ugp_AAAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ugp_AaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ugp_AMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=ugp_BbbMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |