XML 36 R188.htm IDEA: XBRL DOCUMENT
v3.20.1

Risks and Financial Instruments - Summary of allowance for doubtful accounts on trade receivables by geographic area (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
Brasil [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 550,928 | 513,136
Mexico [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 1,123 | 621
Uruguay [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 267 | 257
Outros países da América Latina [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 561 | 1,750
Estados Unidos e Canadá [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 889 | 1,394
Europa [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | 7,075 | 6,842
Outros [member] |  |
Statement [Line Items] |  |
Allowances for doubful accounts on trade receivable | R$ 49 | R$ 779

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: | srt_StatementGeographicalAxis=country_BR
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_MX
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_UY
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=srt_LatinAmericaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_CA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=srt_EuropeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=ugp_OutrosMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |