XML 190 R165.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Risks and Financial Instruments - Credit risk exposure (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | R$ 5,459,359 | R$ 5,767,961
Allowance for expected credit losses | 468,850 | 496,040
Current [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 4,412,278 | 4,756,388
Allowance for expected credit losses | 24,131 | 22,752
Less than 30 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 61,451 | 29,817
Allowance for expected credit losses | 4,683 | 2,230
31 to 60 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 57,753 | 22,633
Allowance for expected credit losses | 2,841 | 2,516
61-90 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 23,845 | 32,522
Allowance for expected credit losses | 3,646 | 8,617
91-180 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 47,430 | 58,529
Allowance for expected credit losses | 15,609 | 20,159
More than 180 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 856,602 | 868,072
Allowance for expected credit losses | R$ 417,940 | R$ 439,766
Weighted average [member] | Current [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 0.50% | 0.50%
Weighted average [member] | Less than 30 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 17.60% | 7.50%
Weighted average [member] | 31 to 60 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 4.90% | 11.10%
Weighted average [member] | 61-90 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 15.30% | 26.50%
Weighted average [member] | 91-180 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 32.90% | 34.40%
Weighted average [member] | More than 180 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 48.80% | 50.70%

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

X
- Definition The rate of expected credit losses, calculated as percentage of the gross carrying amount. Expected credit losses are the weighted average of credit losses with the respective risks of a default occurring as the weights. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 35N -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35N&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph IG20D -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_IG20D&doctype=Implementation%20Guidance -URIDate 2023-03-23 + Details
Name: | ifrs-full_ExpectedCreditLossRate
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of allowances for doubful accounts on trade receivables and other receivables. + References No definition available. + Details
Name: | ugp_AllowancesForDoubfulAccountsOnTradeReceivablesAndOtherReceivables
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of gross trade receivables and other receivables. + References No definition available. + Details
Name: | ugp_TradeAndOtherReceivablesGross
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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: |

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