XML 223 R194.htm IDEA: XBRL DOCUMENT
v3.22.1

Risks and Financial Instruments - Credit risk exposure (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | R$ 4,996,662 | R$ 4,938,613
Provision for losses | 559,633 | 579,107
Current [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 3,901,536 | 3,751,067
Provision for losses | 23,476 | 44,091
Less than 30 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 109,284 | 134,836
Provision for losses | 8,005 | 2,939
31 to 60 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 57,545 | 43,207
Provision for losses | 11,746 | 3,563
61-90 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 39,177 | 42,589
Provision for losses | 9,016 | 4,630
91-180 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 50,588 | 76,158
Provision for losses | 24,818 | 28,062
More than 180 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Accounting balance | 838,532 | 890,756
Provision for losses | R$ 482,572 | R$ 495,822
Weighted average [member] | Current [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 0.60% | 1.20%
Weighted average [member] | Less than 30 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 7.30% | 2.20%
Weighted average [member] | 31 to 60 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 20.40% | 8.20%
Weighted average [member] | 61-90 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 23.00% | 10.90%
Weighted average [member] | 91-180 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 49.10% | 36.80%
Weighted average [member] | More than 180 days [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Expected credit loss rate | 57.50% | 55.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 2021-01-01 -Paragraph IG20D -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_IG20D&doctype=Implementation%20Guidance -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 35N -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35N&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_ExpectedCreditLossRate
Namespace Prefix: | ifrs-full_
Data Type: | num: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: |