XML 183 R154.htm IDEA: XBRL DOCUMENT
v3.22.1

Trade Payables - Summary of Trade Payables (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Summary of trade payables [line items] |  |
Trade payables | R$ 3,670,895 | R$ 2,745,019
Trade payables to related parties | 3,534 | 3,711
Trade payables – reverse factoring | 2,119,059 | 1,295,633
Domestic suppliers [member] |  |
Summary of trade payables [line items] |  |
Trade payables | 3,010,912 | 2,306,398
Trade payables to related parties | 1,422 | 5,102
Domestic suppliers reverse factoring [member] |  |
Summary of trade payables [line items] |  |
Trade payables | 1,948,033 | 1,021,424
Trade payables to related parties | 89,339 | 61,989
Foreign suppliers [member] |  |
Summary of trade payables [line items] |  |
Trade payables | 445,805 | 307,486
Trade payables to related parties | 212,756 | 126,033
Foreign suppliers reverse factoring [member] |  |
Summary of trade payables [line items] |  |
Trade payables | R$ 81,687 | R$ 212,220

X
- Definition The current amount of payment due to suppliers for goods and services used in entity's business. [Refer: Current liabilities; Trade payables] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 78 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_78&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 70 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_70&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_TradeAndOtherCurrentPayablesToTradeSuppliers
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of payables due to related parties. [Refer: Related parties [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 78 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_78&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_TradeAndOtherPayablesToRelatedParties
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
- Definition Trade current payables- reverse factoring. + References No definition available. + Details
Name: | ugp_TradeCurrentPayablesReverseFactoring
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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: |