XML 105 R86.htm IDEA: XBRL DOCUMENT
v3.23.1

Trade receivables, reseller financing and other receivables - Summary of Movements in the Allowance for Loss Allowance for Expected Credit Losses (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Disclosure of financial assets [line items] |  |  |
Beginning balance | R$ 185,278 |  |
Ending balance | 173,287 | R$ 185,278 |
Trade receivables [member] |  |  |
Disclosure of financial assets [line items] |  |  |
Beginning balance | 374,355 | 382,096 | R$ 404,886
Additions | 143,828 | 177,872 | 194,220
Reversals | (130,385) | (150,160) | (203,994)
Write-offs | (65,045) | (18,646) | (13,016)
Reclassification to assets held for sale |  | (16,807) |
Ending balance | 322,753 | 374,355 | 382,096
Reseller Financing - Ipiranga [member] |  |  |
Disclosure of financial assets [line items] |  |  |
Beginning balance | 185,278 | 197,011 | 156,006
Additions | 45,987 | 65,536 | 74,745
Reversals | (52,695) | (68,982) | (29,791)
Write-offs | (5,283) | (8,287) | (3,949)
Ending balance | R$ 173,287 | R$ 185,278 | R$ 197,011

X
- Definition The amount of additional allowance for credit losses of financial assets recognised in profit or loss. [Refer: Allowance account for credit losses of financial assets] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Note Expiry date 2023-01-01 -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph 16 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_16&doctype=Standard&book=b -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdditionalAllowanceRecognisedInProfitOrLossAllowanceAccountForCreditLossesOfFinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of an allowance account used to record impairments to financial assets due to credit losses. [Refer: Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2023-01-01 -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph 16 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_16&doctype=Standard&book=b -URIDate 2022-03-24 + Details
Name: | ifrs-full_AllowanceAccountForCreditLossesOfFinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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_DisclosureOfFinancialAssetsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of impairment loss on financial assets. [Refer: Financial assets; Impairment loss] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2023-01-01 -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_20_e&doctype=Standard&book=b -URIDate 2022-03-24 + Details
Name: | ifrs-full_ImpairmentLossOnFinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The decrease in an allowance account for credit losses of financial assets resulting from the reversal of impairment. [Refer: Allowance account for credit losses of financial assets] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Note Expiry date 2023-01-01 -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph 16 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_16&doctype=Standard&book=b -URIDate 2022-03-24 + Details
Name: | ifrs-full_ReversalAllowanceAccountForCreditLossesOfFinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The decrease in an allowance account for credit losses of financial assets resulting from classification as held for sale or inclusion in a disposal group classified as held for sale. + References No definition available. + Details
Name: | ugp_DecreaseThroughClassifiedAsHeldForSaleAllowanceAccountForCreditLossesOfFinancialAssets
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ifrs-full_TradeReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ugp_ResellerFinancingIpirangaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |