XML 140 R115.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Intangible Assets - Balances of goodwill (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Goodwill |  | R$ 943,125 | R$ 917,775
Ipiranga [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment | [1] | Ipiranga |
Goodwill | [1] | 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
Neogás [Member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Ultragaz |
Goodwill |  | R$ 7,761 | 0
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 | [2] | Ultragaz |
Goodwill | [2] | R$ 103,051 | 99,679
Serra Diesel |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment |  | Ultrapar |
Goodwill |  | R$ 14,217 | 0
TEAS Terminal Exportador de Alcool de Santos Ltda. [member] |  |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |  |
Segment | [3] | Ultracargo |
Goodwill | [3] | R$ 797 | R$ 797
[1] | Including R$ 246,163 presented as goodwill at the Parent.
[2] | For further information, see Notes 28.a and 28.b
[3] | On April 27, 2023, the Company was merged into Ultracargo Logística S.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 2023-01-01 -Paragraph B67 -Subparagraph d -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2023-en-r&anchor=para_B67_d_ii&doctype=Appendix&subtype=B -URIDate 2023-03-23 + 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 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_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_NeogasGroupMember
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_SerraDieselMember
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: |