XML 177 R149.htm IDEA: XBRL DOCUMENT
v3.21.1

Trade Payables - Summary of Trade Payables (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Summary of trade payables [line items] |  |
Trade payables | R$ 2,745,019 | R$ 2,158,478
Domestic suppliers [member] |  |
Summary of trade payables [line items] |  |
Trade payables | 2,306,398 | 1,800,348
Trade payables to related parties | 5,102 | 96,908
Domestic suppliers reverse factoring [member] |  |
Summary of trade payables [line items] |  |
Trade payables | 1,021,424 | 262,870
Trade payables to related parties | 61,989 | 193,080
Foreign suppliers [member] |  |
Summary of trade payables [line items] |  |
Trade payables | 307,486 | 237,618
Trade payables to related parties | 126,033 | 23,604
Foreign suppliers reverse factoring [member] |  |
Summary of trade payables [line items] |  |
Trade payables | R$ 212,220 | R$ 85,643

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 2019-01-01 -Paragraph 54 -Subparagraph k -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_54_k&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_TradeAndOtherCurrentPayables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of current payables due to related parties. [Refer: Related parties [member]; Payables to related parties] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2019-01-01 -Paragraph 78 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_78&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_TradeAndOtherCurrentPayablesToRelatedParties
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_DomesticSuppliersReverseFactoringMember
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_ForeignSuppliersReverseFactoringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |