XML 172 R139.htm IDEA: XBRL DOCUMENT
v3.20.1

Loans and Debentures - Summary of Principal Maturity Schedule (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | ---
Summary of loans debentures and finance leases [line items] |  |
Long term consolidated debt | R$ 13,275,281 | R$ 12,888,935
From 1 to 2 years [member] |  |
Summary of loans debentures and finance leases [line items] |  |
Long term consolidated debt | 1,424,775 | 960,038
From 2 to 3 years [member] |  |
Summary of loans debentures and finance leases [line items] |  |
Long term consolidated debt | 3,115,495 | 1,548,092
From 3 to 4 years [member] |  |
Summary of loans debentures and finance leases [line items] |  |
Long term consolidated debt | 3,451,988 | 3,216,293
From 4 to 5 years [member] |  |
Summary of loans debentures and finance leases [line items] |  |
Long term consolidated debt | 765,263 | 3,428,130
More than 5 years [member] |  |
Summary of loans debentures and finance leases [line items] |  |
Long term consolidated debt | R$ 4,517,760 | R$ 3,736,382

X
- Definition Disclosure of further information and subclassifications of Loans, classified in a manner appropriate to the entity's policies and operations. + References No definition available. + Details
Name: | ugp_NoncurrentDebt
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_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: |