XML 103 R78.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Inventories - Breakdown of Inventories (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Summary of inventories [line items] |  |  |
Inventories |  | R$ 4,291,431 | R$ 4,906,083
Fuels, lubricants, and greases [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | 3,367,094 | 3,782,522
Raw materials [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | 282,197 | 380,993
Liquified petroleum gas [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | 112,100 | 143,516
Consumable materials and other items for resale [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | 121,537 | 125,239
Purchase for future delivery [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories | [1] | 386,281 | 453,817
Properties for resale [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | R$ 22,222 | R$ 19,996
[1] | Refers substantially to ethanol, biodiesel, and advances for fuel acquisition.

X
- Definition The amount of current inventories. [Refer: Inventories] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 2 -IssueDate 2023-01-01 -Paragraph 36 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=2&code=ifrs-tx-2023-en-r&anchor=para_36_b&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 54 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_g&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 68 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_68&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_Inventories
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | ugp_InventoriesAxis=ugp_FuelsLubricantsAndGreasesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_InventoriesAxis=ugp_RawMaterialsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_InventoriesAxis=ugp_LiquifiedPetroleumGasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_InventoriesAxis=ugp_ConsumableMaterialsAndOtherItemsForResaleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_InventoriesAxis=ugp_PurchaseForFutureDeliveryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_InventoriesAxis=ugp_PropertiesForResaleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |