XML 97 R72.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Trade receivables, reseller financing and other receivables - Breakdown of Loss Allowance for Expected Credit Losses (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | --- | --- | ---
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | R$ 134,383 | R$ 173,287 |  |
Trade receivables [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | 334,467 | 322,753 | R$ 374,355 | R$ 382,096
Trade receivables [member] | Current [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | 15,866 | 21,425 |  |
Trade receivables [member] | Less than 30 days [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | 3,088 | 1,747 |  |
Trade receivables [member] | 31 to 60 days [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | 1,984 | 1,384 |  |
Trade receivables [member] | 61-90 days [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | 1,851 | 4,913 |  |
Trade receivables [member] | 91-180 days [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | 11,088 | 15,222 |  |
Trade receivables [member] | More than 180 days [member] |  |  |  |
Summary of trade receivables [line items] |  |  |  |
Allowance for expected credit losses | R$ 300,590 | R$ 278,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 Expired 2023-01-01 -Name IFRS -Number 7 -IssueDate 2023-01-01 -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 2023-03-23 + 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: |