XML 166 R139.htm IDEA: XBRL DOCUMENT
v3.19.1

Loans, Debentures, and Finance Leases - Summary of Future Disbursements (Installments) Assumed Under Contracts (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | ---
Summary of loans debentures and finance leases [line items] |  |
Future disbursements | R$ 63,194 | R$ 68,176
Up to 1 year [member] |  |
Summary of loans debentures and finance leases [line items] |  |
Future disbursements | 5,124 | 5,113
From 1 to 2 years [member] |  |
Summary of loans debentures and finance leases [line items] |  |
Future disbursements | 5,124 | 5,113
From 2 to 3 years [member] |  |
Summary of loans debentures and finance leases [line items] |  |
Future disbursements | 5,124 | 5,113
From 3 to 4 years [member] |  |
Summary of loans debentures and finance leases [line items] |  |
Future disbursements | 5,124 | 5,113
From 4 to 5 years [member] |  |
Summary of loans debentures and finance leases [line items] |  |
Future disbursements | 5,124 | 5,113
More than 5 years [member] |  |
Summary of loans debentures and finance leases [line items] |  |
Future disbursements | R$ 37,574 | R$ 42,611

X
- Definition The future disbursements (installments) assumed under these contracts. + References No definition available. + Details
Name: | ugp_FutureDisbursementsInstallmentsFinanceLeases
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Summary of loans debentures and finance leases. + References No definition available. + Details
Name: | ugp_SummaryOfLoansDebenturesAndFinanceLeasesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_RangeAxis=ugp_UpTo1YearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ugp_From1To2YearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ugp_From2To3YearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ugp_From3To4YearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ugp_From4To5YearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ugp_MoreThan5YearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |