XML 140 R114.htm IDEA: XBRL DOCUMENT
v3.25.1

Trade Payables - Summary of Trade Payables (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2024 | Dec. 31, 2023
Summary of trade payables [line items] |  |  |
Trade payables |  | R$ 3,518,385 | R$ 4,682,671
Trade and other current payables |  | 3,518,385 | 4,682,671
Trade payables - reverse factoring |  | 1,014,504 | 1,039,366
Domestic suppliers [member] |  |  |
Summary of trade payables [line items] |  |  |
Trade payables |  | 2,558,813 | 2,907,042
Trade payables |  | 23,432 | 82,843
Foreign suppliers [member] |  |  |
Summary of trade payables [line items] |  |  |
Trade payables |  | 776,052 | 1,628,177
Trade payables |  | R$ 160,088 | R$ 64,609
Trade payables reverse factoring [member] |  |  |
Summary of trade payables [line items] |  |  |
Trade Payables Average Payment Term |  | 12 days |
Trade Payables Comparable Suppliers [Member] |  |  |
Summary of trade payables [line items] |  |  |
Trade Payables Average Payment Term | [1] | 8 days |
[1] | Comparable suppliers are those that have not adhered to reverse financing agreements, considering specific characteristics of payment conditions.

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 2024-01-01 -Paragraph 54 -Subparagraph k -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_54_k&doctype=Standard -URIDate 2024-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: Total for all related parties [member]; Payables to related parties] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 78 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_78&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_TradeAndOtherCurrentPayablesToRelatedParties
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 2024-01-01 -Paragraph 78 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_78&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 70 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_70&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_TradeAndOtherCurrentPayablesToTradeSuppliers
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
- Definition Trade payables average payment term, number of days. + References No definition available. + Details
Name: | ugp_TradePayablesAveragePaymentTerm
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
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_ForeignSuppliersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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