XML 198 R179.htm IDEA: XBRL DOCUMENT
v3.23.1

Risks and Financial Instruments - Credit risk exposure (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | R$ 5,767,961 | R$ 4,996,662
Provision for losses | 496,040 | 559,633
Current [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 4,756,388 | 3,901,536
Provision for losses | 22,752 | 23,476
Less than 30 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 29,817 | 109,284
Provision for losses | 2,230 | 8,005
31 to 60 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 22,633 | 57,545
Provision for losses | 2,516 | 11,746
61-90 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 32,522 | 39,177
Provision for losses | 8,617 | 9,016
91-180 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 58,529 | 50,588
Provision for losses | 20,159 | 24,818
More than 180 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 868,072 | 838,532
Provision for losses | R$ 439,766 | R$ 482,572
Weighted average [member] | Current [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 0.50% | 0.60%
Weighted average [member] | Less than 30 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 7.50% | 7.30%
Weighted average [member] | 31 to 60 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 11.10% | 20.40%
Weighted average [member] | 61-90 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 26.50% | 23.00%
Weighted average [member] | 91-180 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 34.40% | 49.10%
Weighted average [member] | More than 180 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 50.70% | 57.50%

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 2022-03-24 -Paragraph 35N -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_35N&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph IG20D -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_IG20D&doctype=Implementation%20Guidance -URIDate 2022-03-24 + 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: |