XML 102 R83.htm IDEA: XBRL DOCUMENT
v3.23.1

Trade receivables, reseller financing and other receivables - Trade receivables (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Summary of trade receivables [line items] |  |
Trade receivables, gross of allowance for expected credit losses | R$ 4,533,327 | R$ 3,813,350
Loss allowance for expected credit losses | (173,287) | (185,278)
Current | 4,149,111 | 3,375,246
Non-current | 61,463 | 63,749
Trade receivables [member] |  |
Summary of trade receivables [line items] |  |
Loss allowance for expected credit losses | (322,753) | (374,355)
Trade receivables | 4,210,574 | 3,438,995
Current | 4,149,111 | 3,375,246
Non-current | 61,463 | 63,749
Trade receivables [member] | Domestic customers [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of allowance for expected credit losses | 4,527,167 | 3,805,756
Related parties | 64 | 57
Trade receivables [member] | foreign customers [member] |  |
Summary of trade receivables [line items] |  |
Trade receivables, gross of allowance for expected credit losses | 3,401 | 3,137
Related parties | R$ 2,695 | R$ 4,400

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 The amount of current trade receivables. [Refer: Trade receivables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_b&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 68 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_68&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CurrentTradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of non-current trade receivables. [Refer: Trade receivables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NoncurrentTradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount due from customers for goods and services sold. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_TradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Summary of trade receivables. + References No definition available. + Details
Name: | ugp_SummaryOfTradeReceivablesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of trade receivables due from related parties, gross of allowance for doubtful accounts. + References No definition available. + Details
Name: | ugp_TradeReceivablesDueFromRelatedPartiesGross
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of trade receivables, gross of allowance for doubtful accounts. + References No definition available. + Details
Name: | ugp_TradeReceivablesGross
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | srt_MajorCustomersAxis=ugp_DomesticCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=ugp_ForeignCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |