XML 131 R104.htm IDEA: XBRL DOCUMENT
v3.19.1

Taxes to Recover - Summary of Recoverable Income Tax and Social Contribution Taxes (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2018 | Dec. 31, 2017 | Jan. 01, 2017
--- | --- | --- | ---
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |  |
Recoverable and social contribution taxes | R$ 362,784 | R$ 295,172 |
Current | 257,182 | 216,630 |
Non-current | 105,602 | 78,542 | R$ 35,864
IRPJ and CSLL [member] |  |  |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |  |  |
Recoverable and social contribution taxes | R$ 362,784 | R$ 295,172 |

X
- Definition The amount of current recoverable income and social contribution taxes. + References No definition available. + Details
Name: | ugp_CurrentRecoverableIncomeAndSocialContributionTaxes
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] + References No definition available. + Details
Name: | ugp_DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Non-current recoverable income and social contribution taxes. + References No definition available. + Details
Name: | ugp_NonCurrentRecoverableIncomeAndSocialContributionTaxes
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Recoverable and social contribution taxes. + References No definition available. + Details
Name: | ugp_RecoverableAndSocialContributionTaxes
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ugp_TaxesAxis=ugp_IrpjandcsllMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |