XML 169 R142.htm IDEA: XBRL DOCUMENT
v3.19.1

Trade Payables - Summary of Trade Payables (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2018 | Dec. 31, 2017 | Jan. 01, 2017
--- | --- | --- | ---
Summary of trade payables [line items] |  |  |
Trade payables | R$ 2,551,607 | R$ 2,155,498 | R$ 1,709,563
Domestic suppliers [member] |  |  |
Summary of trade payables [line items] |  |  |
Trade payables | 2,079,010 | 1,973,668 |
Domestic suppliers agreement [member] |  |  |
Summary of trade payables [line items] |  |  |
Trade payables | 73,169 |  |
Foreign suppliers [member] |  |  |
Summary of trade payables [line items] |  |  |
Trade payables | 472,597 | R$ 181,830 |
Foreign suppliers agreement [member] |  |  |
Summary of trade payables [line items] |  |  |
Trade payables | R$ 106,901 |  |

X
- Definition The amount of current trade payables and current other payables. [Refer: Current trade payables; Other current payables] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2018-01-01 -Paragraph 54 -Subparagraph k -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2018-03-01&anchor=para_54_k&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_TradeAndOtherCurrentPayables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Summary of trade payable. + References No definition available. + Details
Name: | ugp_SummaryOfTradePayablesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ugp_TradePayablesAxis=ugp_DomesticSuppliersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_TradePayablesAxis=ugp_DomesticSuppliersAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_TradePayablesAxis=ugp_ForeignSuppliersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_TradePayablesAxis=ugp_ForeignSuppliersAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |