XML 147 R128.htm IDEA: XBRL DOCUMENT
v3.23.1

Intangible Assets - Balances of goodwill (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Goodwill |  | R$ 917,775 | R$ 818,096
Extrafarma [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Extrafarma |
Goodwill acquisition gross |  | R$ 0 | 661,553
Goodwill acquisition impairment | [1] | 0 | 661,553
Goodwill |  | R$ 0 | 0
Ipiranga [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment | [2] | 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
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
Stella [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment | [3] | Ultragaz |
Goodwill | [3] | R$ 99,679 | 0
TEAS Terminal Exportador de Alcool de Santos Ltda. [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Ultracargo |
Goodwill |  | R$ 797 | R$ 797
[1] | For further information, see Note 4.a
[2] | Including R$ 246,163 presented as goodwill at the Parent.
[3] | For further information, see Note 33.a.

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 2022-03-24 -Paragraph B67 -Subparagraph d -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B67_d_ii&doctype=Appendix&subtype=B -URIDate 2022-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 2022-03-24 -Paragraph B67 -Subparagraph d -Clause v -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B67_d_v&doctype=Appendix&subtype=B -URIDate 2022-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_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_StellaMember
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: |