XML 191 R166.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Risks and Financial Instruments - Summary of loss allowance for expected credit losses balances by geographic area (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Disclosure of detailed information about financial instruments [line items] |  |
Allowance for expected credit losses | R$ 468,850 | R$ 496,040
Brazil [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Allowance for expected credit losses | 467,545 | 495,929
United States of America and Canada [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Allowance for expected credit losses | 9 | 61
Other Latin American countries [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Allowance for expected credit losses | 40 | 31
Europe [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Allowance for expected credit losses | 425 | 5
Others [member] |  |
Disclosure of detailed information about financial instruments [line items] |  |
Allowance for expected credit losses | R$ 831 | R$ 14

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_DisclosureOfFinancialInstrumentsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of allowances for doubful accounts on trade receivables and other receivables. + References No definition available. + Details
Name: | ugp_AllowancesForDoubfulAccountsOnTradeReceivablesAndOtherReceivables
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | srt_StatementGeographicalAxis=country_BR
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=ugp_UnitedStatesOfAmericaAndCanadaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=ugp_OtherLatinAmericanCountriesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=srt_EuropeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=ugp_AsiaAndOthersRegionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |