XML 171 R158.htm IDEA: XBRL DOCUMENT
v3.20.1

Trade Payables - Customer and Third Parties Indemnification - Additional Information (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | ---
Disclosure of trade payables and receivables [line items] |  |
Indeminites to customers and third parties | R$ 0 | R$ 3,501
Ultracargo fire accident in Santos [member] |  |
Disclosure of trade payables and receivables [line items] |  |
Indeminites to customers and third parties |  | R$ 3,501

X
- Definition The amount to be paid due to the Ultracargo incident. + References No definition available. + Details
Name: | ugp_CustomersAndThirdPartiesPayables
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disclosure of trade payables and receivables [line items] + References No definition available. + Details
Name: | ugp_DisclosureOfTradePayablesAndReceivablesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ugp_OtherOperatingIncomeNetAxis=ugp_UltraCargoFireMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |