XML 118 R99.htm IDEA: XBRL DOCUMENT
v3.23.1

Related Parties - Additional Information (Detail) - BRL (R$) R$ in Thousands |  | 12 Months Ended
--- | --- | ---
Apr. 19, 2017 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Disclosure of transactions between related parties [line items] |  |  |  |
Provision for expected losses on accounts receivable or guarantees |  | R$ 0 |  |
Common shares approved as incentive ownership plan | 11,128,102 |  |  |
General and administrative expense |  | 1,534,481 | R$ 1,466,551 | R$ 993,986
Deferred stock plan [member] | Management |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Amortization (reversal of amortization) of share based plans recognized as general and administrative |  | 1,204 | (1,902) | (64)
Percentage of Common shares may deliver to participants to company's share capital | 1.00% |  |  |
Deferred stock plan [member] | Management | Discontinued operations [member] |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Amortization (reversal of amortization) of share based plans recognized as general and administrative |  |  | (1,325) | (2,296)
Restricted and Performance Stock [member] |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
General and administrative expense |  | R$ 38,204 | R$ 24,067 | R$ 10,440
Bottom of range [member] | Management |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Period of transfter of ownership shares |  | 3 years |  |
Bottom of range [member] | Deferred stock plan [member] |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Period of amortization from grant date |  | 5 years |  |
Bottom of range [member] | Deferred stock plan [member] | Management |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Period of transfter of ownership shares |  | 5 years |  |
Top of range [member] | Management |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Period of transfter of ownership shares |  | 6 years |  |
Top of range [member] | Deferred stock plan [member] |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Period of amortization from grant date |  | 7 years |  |
Top of range [member] | Deferred stock plan [member] | Management |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Period of transfter of ownership shares |  | 7 years |  |

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of expense relating to general and administrative activities of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_GeneralAndAdministrativeExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of shares reserved for issue under options and contracts for the sale of shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 79 -Subparagraph a -Clause vii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_79_a_vii&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_SharesReservedForIssueUnderOptionsAndContractsForSaleOfShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of amortization (reversal of amortization) of share based plans recognized as general and administrative expense from related party transactions. + References No definition available. + Details
Name: | ugp_AmortizationReversalOfAmortizationOfShareBasedPlansRecognizedAsGeneralAndAdministrativeExpense
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The participation percentage of reporting entity's share capital. + References No definition available. + Details
Name: | ugp_ParticipationPercentageOfShareCapital
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The period of amortization from grant date of share based plans. + References No definition available. + Details
Name: | ugp_PeriodOfAmortizationFromGrantDate
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The transfter period term of ownership shares. + References No definition available. + Details
Name: | ugp_PeriodOfTransfterOfOwnershipShares
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of provision for expected losses on accounts receivable or guarantees are recorded by the reporting entity. + References No definition available. + Details
Name: | ugp_ProvisionForExpectedLossesOnAccountsReceivableOrGuarantees
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ugp_SharebasedPaymentPlanNameAxis=ugp_DeferredStockUnitPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ifrs-full_KeyManagementPersonnelOfEntityOrParentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ContinuingAndDiscontinuedOperationsAxis=ifrs-full_DiscontinuedOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_SharebasedPaymentPlanNameAxis=ugp_RestrictedAndPerformanceStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |