XML 218 R190.htm IDEA: XBRL DOCUMENT
v3.21.1

Risks and Financial Instruments - Credit Risk Exposure (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | R$ 579,107 | R$ 560,892
Weighted average [member] | Current [member] |  |
Statement [Line Items] |  |
Expected credit loss rate | 1.20% | 1.30%
Weighted average [member] | less than 30 days [member] |  |
Statement [Line Items] |  |
Expected credit loss rate | 2.20% | 2.10%
Weighted average [member] | 31-60 days [member] |  |
Statement [Line Items] |  |
Expected credit loss rate | 8.20% | 7.10%
Weighted average [member] | 61-90 days [member] |  |
Statement [Line Items] |  |
Expected credit loss rate | 10.90% | 20.40%
Weighted average [member] | 91-180 days [member] |  |
Statement [Line Items] |  |
Expected credit loss rate | 36.80% | 41.80%
Weighted average [member] | more than 180 days [member] |  |
Statement [Line Items] |  |
Expected credit loss rate | 55.70% | 53.10%
Accounting balance [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | R$ 4,938,613 | R$ 5,051,328
Accounting balance [member] | Current [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 3,751,067 | 3,843,803
Accounting balance [member] | less than 30 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 134,836 | 185,612
Accounting balance [member] | 31-60 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 43,207 | 37,801
Accounting balance [member] | 61-90 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 42,589 | 24,861
Accounting balance [member] | 91-180 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 76,158 | 91,633
Accounting balance [member] | more than 180 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 890,756 | 867,618
Provision for losses [member] | Current [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 44,091 | 50,198
Provision for losses [member] | less than 30 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 2,939 | 3,975
Provision for losses [member] | 31-60 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 3,563 | 2,688
Provision for losses [member] | 61-90 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 4,630 | 5,062
Provision for losses [member] | 91-180 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 28,062 | 38,337
Provision for losses [member] | more than 180 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | R$ 495,822 | R$ 460,632

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 2019-01-01 -Paragraph IG20D -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2019-en-r&anchor=para_IG20D&doctype=Implementation%20Guidance -URIDate 2019-03-27 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2019-01-01 -Paragraph 35N -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2019-en-r&anchor=para_35N&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_ExpectedCreditLossRate
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Balance of allowance for doubtful accounts. + References No definition available. + Details
Name: | ugp_AllowancesForDoubfulAccountsOnTradeReceivable
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | ugp_StatementLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_WeightedAverageMember
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=ugp_LessThanOneMonthMember
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_TypeOfMeasurementOfExpectedCreditLossesAxis=ugp_AccountingBalanceCreditLossesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypeOfMeasurementOfExpectedCreditLossesAxis=ugp_ProvisionForLossesCreditLossesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |