XML 107 R78.htm IDEA: XBRL DOCUMENT
v3.22.1

Presentation of Financial Statements and Summary of Significant Accounting Policies - Summary of Foreign Subsidiaries (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2021
Oxiteno Mexico S.A. de C.V. [member] |  |
Disclosure of subsidiaries [line items] |  |
Functional currency | Mexican Peso |
Location | Mexico |
Oxiteno servicios corporativos S.A. de C.V.[member] |  |
Disclosure of subsidiaries [line items] |  |
Functional currency | Mexican Peso |
Location | Mexico |
Oxiteno servicios industriales S.A. de C.V.[member] |  |
Disclosure of subsidiaries [line items] |  |
Functional currency | Mexican Peso |
Location | Mexico |
Oxiteno USA LLC [member] |  |
Disclosure of subsidiaries [line items] |  |
Functional currency | U.S. Dollar |
Location | United States |
Oxiteno Uruguay S.A. [member] |  |
Disclosure of subsidiaries [line items] |  |
Functional currency | U.S. Dollar | [1]
Location | Uruguay | [1]
[1] | The subsidiary Oxiteno Uruguay S.A. (“Oxiteno Uruguay”) determined its functional currency as the U.S. dollar (“US$”), as its inventory sales, purchases of raw material inputs, and financing activities are performed substantially in this currency.

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 2021-01-01 -Paragraph 53 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=21&code=ifrs-tx-2021-en-r&anchor=para_53&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 21 -IssueDate 2021-01-01 -Paragraph 57 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=21&code=ifrs-tx-2021-en-r&anchor=para_57_c&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_DescriptionOfFunctionalCurrency
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems
Namespace Prefix: | ifrs-full_
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: |