XML 104 R85.htm IDEA: XBRL DOCUMENT
v3.23.1

Trade receivables, reseller financing and other receivables - Breakdown of Loss Allowance for Expected Credit Losses (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | --- | --- | ---
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | R$ 173,287 | R$ 185,278 |  |
Trade receivables [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | 322,753 | 374,355 | R$ 382,096 | R$ 404,886
Trade receivables [member] | Current [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | 21,425 | 21,962 |  |
Trade receivables [member] | Less than 30 days [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | 1,747 | 1,595 |  |
Trade receivables [member] | 31 to 60 days [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | 1,384 | 3,049 |  |
Trade receivables [member] | 61-90 days [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | 4,913 | 2,761 |  |
Trade receivables [member] | 91-180 days [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | 15,222 | 14,926 |  |
Trade receivables [member] | More than 180 days [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | R$ 278,062 | R$ 330,062 |  |

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 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
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ifrs-full_TradeReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=ifrs-full_CurrentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=ifrs-full_NotLaterThanOneMonthMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=ifrs-full_LaterThanOneMonthAndNotLaterThanTwoMonthsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=ifrs-full_LaterThanTwoMonthsAndNotLaterThanThreeMonthsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=ifrs-full_LaterThanThreeMonthsAndNotLaterThanSixMonthsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=ifrs-full_LaterThanSixMonthsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |