XML 206 R187.htm IDEA: XBRL DOCUMENT
v3.23.1

Commitments - Contracts (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2022
Cargo contract one [member] |  |
Summary of contract commitments [line items] |  |
Port | Aratu | [1]
Minimum movement in tons per years | 900,000 |
Maturity | 2022 |
Cargo contract two [member] |  |
Summary of contract commitments [line items] |  |
Port | Suape |
Minimum movement in tons per years | 250,000 |
Maturity | 2027 |
Cargo contract three [member] |  |
Summary of contract commitments [line items] |  |
Port | Suape |
Minimum movement in tons per years | 400,000 |
Maturity | 2029 |
Cargo contract four [member] |  |
Summary of contract commitments [line items] |  |
Port | Aratu |
Minimum movement in tons per years | 465,403 |
Maturity | 2031 |
Cargo contract five [member] |  |
Summary of contract commitments [line items] |  |
Port | Itaqui |
Minimum movement in tons per years | 1,468,105 |
Maturity | 2049 |
[1] | Contract in renovation phase with the competent organ.

X
- Definition The description of operating lease maturity. + References No definition available. + Details
Name: | ugp_CargoAgreementMaturity
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The description of cargo port. + References No definition available. + Details
Name: | ugp_CargoPort
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The description of minimum cargo movement commitment in tons per years. + References No definition available. + Details
Name: | ugp_MinimumCargoMovementPerYear
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Summary of contract commitments. + References No definition available. + Details
Name: | ugp_SummaryOfContractCommitmentsLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_TypesOfContractsAxis=ugp_CargoContractOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfContractsAxis=ugp_CargoContractTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfContractsAxis=ugp_CargoContractThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfContractsAxis=ugp_CargoContractFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfContractsAxis=ugp_CargoContractFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |