XML 153 R128.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Trade Payables - Summary of Trade Payables (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Summary of trade payables [line items] |  |
Trade payables to related parties | R$ 147,452 | R$ 259,644
Trade payables | 4,682,671 | 4,710,952
Trade payables - reverse factoring | 1,039,366 | 2,666,894
Domestic suppliers [member] |  |
Summary of trade payables [line items] |  |
Trade payables | 2,842,433 | 2,777,021
Foreign suppliers [member] |  |
Summary of trade payables [line items] |  |
Trade payables | 1,692,786 | 1,674,287
Domestic suppliers reverse factoring [member] |  |
Summary of trade payables [line items] |  |
Trade payables | 1,039,366 | 2,429,497
Foreign suppliers reverse factoring [member] |  |
Summary of trade payables [line items] |  |
Trade payables | R$ 0 | R$ 237,397

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 2023-01-01 -Paragraph 78 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 70 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_70&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 78 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78&doctype=Standard -URIDate 2023-03-23 + 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_ForeignSuppliersMember
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_ForeignSuppliersReverseFactoringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |