XML 110 R91.htm IDEA: XBRL DOCUMENT
v3.23.1

Inventories - Breakdown of Inventories (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Summary of inventories [line items] |  |  |
Inventories |  | R$ 4,906,083 | R$ 3,918,772
Fuels, lubricants and greases [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | 3,782,522 | 3,038,061
Raw materials [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | 380,993 | 293,242
Liquified petroleum gas [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | 143,516 | 146,070
Consumable materials and other items for resale [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | 125,239 | 115,275
Purchase for future delivery [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories | [1] | 453,817 | 301,992
Properties for resale [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | R$ 19,996 | R$ 24,132
[1] | (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 2022-03-24 -Paragraph 36 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=2&code=ifrs-tx-2022-en-r&anchor=para_36_b&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 54 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_g&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 68 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_68&doctype=Standard -URIDate 2022-03-24 + 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: |