XML 168 R139.htm IDEA: XBRL DOCUMENT
v3.22.1

Intangible Assets - Balances of goodwill (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Goodwill |  | R$ 818,096 | R$ 931,808
Extrafarma [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Goodwill acquisition gross |  | 661,553 | 661,553
Goodwill acquisition impairment | [1] | R$ 661,553 | 593,280
Segment |  | Extrafarma |
Goodwill |  |  | 68,273
Ipiranga [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Ipiranga |
Goodwill | [2] | R$ 276,724 | 276,724
Uniao Terminais [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Ultracargo |
Goodwill |  | R$ 211,089 | 211,089
Texaco [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Ipiranga |
Goodwill |  | R$ 177,759 | 177,759
Iconic (CBLSA)[member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Ipiranga |
Goodwill |  | R$ 69,807 | 69,807
Oxiteno Uruguay S.A. [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Oxiteno |
Goodwill | [3] |  | 44,856
Temmar [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Ultracargo |
Goodwill |  | R$ 43,781 | 43,781
DNP [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Ipiranga |
Goodwill |  | R$ 24,736 | 24,736
Repsol [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Ultragaz |
Goodwill |  | R$ 13,403 | 13,403
TEAS Terminal Exportador de Alcool de Santos Ltda. [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Ultracargo |
Goodwill |  | R$ 797 | 797
Others [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Oxiteno |
Goodwill | [3] |  | R$ 583
[1] | For further information, see Note 3.a.
[2] | Including R$ 246,163 presented as goodwill at parent Company Ultrapar.
[3] | For further information about reclassification, see Note 3.c.1.

X
- Definition The amount of additional goodwill recognised, except goodwill included in a disposal group that, on acquisition, meets the criteria to be classified as held for sale in accordance with IFRS 5. [Refer: Goodwill; Disposal groups classified as held for sale [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2021-01-01 -Paragraph B67 -Subparagraph d -Clause ii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2021-en-r&anchor=para_B67_d_ii&doctype=Appendix&subtype=B -URIDate 2021-03-24 + Details
Name: | ifrs-full_AdditionalRecognitionGoodwill
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_DisclosureOfReconciliationOfChangesInGoodwillLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of impairment loss recognised in profit or loss for goodwill. [Refer: Impairment loss recognised in profit or loss; Goodwill] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2021-01-01 -Paragraph B67 -Subparagraph d -Clause v -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2021-en-r&anchor=para_B67_d_v&doctype=Appendix&subtype=B -URIDate 2021-03-24 + Details
Name: | ifrs-full_ImpairmentLossRecognisedInProfitOrLossGoodwill
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Acquisitions through business combinations intangible assets and goodwill gross. + References No definition available. + Details
Name: | ugp_AcquisitionsThroughBusinessCombinationsIntangibleAssetsAndGoodwillGross
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The description of goodwill acquisition segment. + References No definition available. + Details
Name: | ugp_GoodwillAcquisitionSegment
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_ExtrafarmaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_IpirangaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_UniaoTerminaisMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_TexacoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_IconicCblsamemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_TemmarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_DNPMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_RepsolMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_TEASTerminalExportadorDeAlcoolDeSantosLtdaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ifrs-full_BusinessCombinationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |