XML 119 R92.htm IDEA: XBRL DOCUMENT
v3.19.1

Trade Receivables and Reseller Financing - Trade receivables (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2018 | Dec. 31, 2017 | Jan. 01, 2017
--- | --- | --- | ---
Summary of trade receivables [line items] |  |  |
Trade receivables | R$ 4,150,876 | R$ 3,907,626 |
Current | 4,069,307 | 3,861,325 | R$ 3,177,112
Non-current | 81,569 | 46,301 | R$ 49,601
Domestic customers [member] |  |  |
Summary of trade receivables [line items] |  |  |
Trade receivables | 4,290,996 | 4,024,919 |
foreign customers [member] |  |  |
Summary of trade receivables [line items] |  |  |
Trade receivables | 244,960 | 230,508 |
Estimated losses on doubtful accounts [member] |  |  |
Summary of trade receivables [line items] |  |  |
Trade receivables | R$ (385,080) | R$ (347,801) |

X
- Definition The amount of current trade receivables. [Refer: Trade receivables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2018-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2018-03-01&anchor=para_78_b&doctype=Standard -URIDate 2018-03-16 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2018-01-01 -Paragraph 68 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2018-03-01&anchor=para_68&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_CurrentTradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of non-current trade receivables. [Refer: Trade receivables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2018-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2018-03-01&anchor=para_78_b&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_NoncurrentTradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount due from customers for goods and services sold. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2018-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2018-03-01&anchor=para_78_b&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_TradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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: | ugp_TradeReceivablesAxis=ugp_DomesticCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_TradeReceivablesAxis=ugp_ForeignCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_TradeReceivablesAxis=ugp_EstimatedLossesOnDoubtfulAccountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |