XML 161 R187.htm IDEA: XBRL DOCUMENT
v3.20.1

Risks and Financial Instruments - Credit Risk Exposure (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | ---
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | R$ 560,892 | R$ 524,779
Weighted average [member] | Current [member] |  |
Statement [Line Items] |  |
Expected credit loss rate | 1.30% | 1.50%
Weighted average [member] | less than 30 days [member] |  |
Statement [Line Items] |  |
Expected credit loss rate | 2.10% | 4.00%
Weighted average [member] | 31-60 days [member] |  |
Statement [Line Items] |  |
Expected credit loss rate | 7.10% | 7.90%
Weighted average [member] | 61-90 days [member] |  |
Statement [Line Items] |  |
Expected credit loss rate | 20.40% | 11.30%
Weighted average [member] | 91-180 days [member] |  |
Statement [Line Items] |  |
Expected credit loss rate | 41.80% | 55.80%
Weighted average [member] | more than 180 days [member] |  |
Statement [Line Items] |  |
Expected credit loss rate | 53.10% | 58.60%
Accounting balance [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | R$ 5,051,328 | R$ 5,391,185
Accounting balance [member] | Current [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 3,843,803 | 4,372,784
Accounting balance [member] | less than 30 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 185,612 | 132,884
Accounting balance [member] | 31-60 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 37,801 | 68,733
Accounting balance [member] | 61-90 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 24,861 | 59,006
Accounting balance [member] | 91-180 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 91,633 | 105,703
Accounting balance [member] | more than 180 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 867,618 | 652,075
Provision for losses [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 560,892 | 524,779
Provision for losses [member] | Current [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 50,198 | 66,208
Provision for losses [member] | less than 30 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 3,975 | 5,344
Provision for losses [member] | 31-60 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 2,688 | 5,396
Provision for losses [member] | 61-90 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 5,062 | 6,664
Provision for losses [member] | 91-180 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 38,337 | 58,959
Provision for losses [member] | more than 180 days [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | R$ 460,632 | R$ 382,208

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