XML 124 R95.htm IDEA: XBRL DOCUMENT
v3.22.1

Trade Receivables and Reseller Financing - Breakdown of Expected Losses on Doubtful Accounts (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | --- | ---
Summary of trade receivables [line items] |  |  |
Loss allowance for expected credit losses | R$ 185,278 | R$ 197,011 |
Reseller Financing - Ipiranga [member] |  |  |
Summary of trade receivables [line items] |  |  |
Loss allowance for expected credit losses | 185,278 | 197,011 | R$ 156,006
Reseller Financing - Ipiranga [member] | Current [member] |  |  |
Summary of trade receivables [line items] |  |  |
Loss allowance for expected credit losses | 1,514 | 22,872 |
Reseller Financing - Ipiranga [member] | Less than 30 days [member] |  |  |
Summary of trade receivables [line items] |  |  |
Loss allowance for expected credit losses | 6,410 | 785 |
Reseller Financing - Ipiranga [member] | 31 to 60 days [member] |  |  |
Summary of trade receivables [line items] |  |  |
Loss allowance for expected credit losses | 8,697 | 1,812 |
Reseller Financing - Ipiranga [member] | 61-90 days [member] |  |  |
Summary of trade receivables [line items] |  |  |
Loss allowance for expected credit losses | 6,255 | 2,397 |
Reseller Financing - Ipiranga [member] | 91-180 days [member] |  |  |
Summary of trade receivables [line items] |  |  |
Loss allowance for expected credit losses | 9,892 | 14,684 |
Reseller Financing - Ipiranga [member] | More than 180 days [member] |  |  |
Summary of trade receivables [line items] |  |  |
Loss allowance for expected credit losses | R$ 152,510 | R$ 154,461 |

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 2021-01-01 -Paragraph 16 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_16&doctype=Standard&book=b -URIDate 2021-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=ugp_ResellerFinancingIpirangaMember
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: |