XML 170 R77.htm IDEA: XBRL DOCUMENT
v3.20.1

Presentation of Financial Statements and Summary of Significant Accounting Policies - Summary of Foreign Subsidiaries (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2019
Oxiteno Mexico S.A. de C.V. [member] |
Disclosure of foreign subsidiaries [line items] |
Functional currency | Mexican Peso
Location | Mexico
Oxiteno servicios corporativos S.A. de C.V.[member] |
Disclosure of foreign subsidiaries [line items] |
Functional currency | Mexican Peso
Location | Mexico
Oxiteno servicios industriales S.A. de C.V.[member] |
Disclosure of foreign subsidiaries [line items] |
Functional currency | Mexican Peso
Location | Mexico
Oxiteno USA LLC [member] |
Disclosure of foreign subsidiaries [line items] |
Functional currency | U.S. Dollar
Location | United States
Oxiteno Uruguay [member] |
Disclosure of foreign subsidiaries [line items] |
Functional currency | U.S. Dollar
Location | Uruguay

X
- Definition The description of the currency of the primary economic environment in which the entity operates. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 21 -IssueDate 2019-01-01 -Paragraph 53 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=21&code=ifrs-tx-2019-en-r&anchor=para_53&doctype=Standard -URIDate 2019-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 21 -IssueDate 2019-01-01 -Paragraph 57 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=21&code=ifrs-tx-2019-en-r&anchor=para_57_c&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_DescriptionOfFunctionalCurrency
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of foreign subsidiaries line items. + References No definition available. + Details
Name: | ugp_DisclosureOfForeignSubsidiariesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The description of the geographic location in which the subsidiary operates. + References No definition available. + Details
Name: | ugp_GeographicalAreas
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_OxitenoMexicoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_OxitenoServiciosCorporativosMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_OxitenoServiciosIndustrialesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_OxitenoUSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_OxitenoUruguayMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |