XML 182 R163.htm IDEA: XBRL DOCUMENT
v3.23.1

Costs and expenses by nature - Costs and expenses by nature (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Expenses by nature [abstract] |  |  |  |
Raw materials and materials for use and consumption | [1] | R$ (135,651,809) | R$ (104,233,143) | R$ (68,851,960)
Personnel expenses |  | (1,657,783) | (1,575,066) | (1,414,567)
Freight and storage |  | (1,033,718) | (899,188) | (1,073,971)
Decarbonization obligation | [2] | (638,542) | (161,281) | (124,287)
Services provided by third parties |  | (442,379) | (399,904) | (184,532)
Depreciation and amortization |  | (732,241) | (653,118) | (595,531)
Amortization of right-of-use assets |  | (288,419) | (260,716) | (242,670)
Advertising and marketing |  | (102,205) | (106,352) | (143,694)
Extemporaneous tax credits | [3] | 34,247 | 213,183 | 136,561
Other expenses and income, net |  | 45,604 | (54,432) | (102,900)
Total |  | (140,467,245) | (108,130,017) | (72,597,551)
Classified as: |  |  |  |
Cost of products and services sold |  | (136,276,257) | (104,827,966) | (70,056,447)
Selling and marketing |  | (2,141,985) | (1,931,666) | (1,611,152)
General and administrative expenses |  | (1,534,481) | (1,466,551) | (993,986)
Other operating income (expenses), net |  | (514,522) | 96,166 | 64,034
Total |  | R$ (140,467,245) | R$ (108,130,017) | R$ (72,597,551)
[1] | Includes credits of PIS and COFINS registered on 2022 that refers to Law 192. For more information, see Note 8.
[2] | Refers to the obligation adopted by RenovaBio to meet decarbonization targets for the gas and oil sector. The amounts are presented in Other operating income (expenses), net.
[3] | Refers substantially to PIS and COFINS credits recorded in 2021 and 2022. On March 15, 2017, due to general repercussions, the STF decided that ICMS does not compose the PIS and COFINS calculation basis. After filing of the Federal Government's Motion for Clarification, the STF definitively ruled about the thesis on May 13, 2021, reaffirming the exclusion of the ICMS from the PIS and COFINS calculation basis and modulating the effects of the decision for the lawsuits filed after March 15, 2017. Certain subsidiaries have credits arising from favorable decisions on the exclusion of ICMS from the PIS and COFINS calculation basis, and the respective subsidies for proving the amounts to be refunded were duly confirmed by Management and recorded in Other operating income (expenses), net in the statement of income.

X
- Definition The amount of all expenses directly or indirectly attributed to the goods or services sold. Attributed expenses include, but are not limited to, costs previously included in the measurement of inventory that has now been sold, such as depreciation and maintenance of factory buildings and equipment used in the production process, unallocated production overheads, and abnormal amounts of production costs of inventories. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_99&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_103&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CostOfSales
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of depreciation and amortisation expense. Depreciation and amortisation are the systematic allocations of depreciable amounts of assets over their useful lives. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 28 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28_e&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph B13 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B13_d&doctype=Appendix&subtype=B -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 23 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_23_e&doctype=Standard -URIDate 2022-03-24 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 102 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_102&doctype=Standard -URIDate 2022-03-24 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_99&doctype=Standard -URIDate 2022-03-24 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 104 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_104&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DepreciationAndAmortisationExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The expense of all forms of consideration given by an entity in exchange for a service rendered by employees or for the termination of employment. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 102 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_102&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_99&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 104 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_104&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_EmployeeBenefitsExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expenses aggregated according to their nature (for example, depreciation, purchases of materials, transport costs, employee benefits and advertising costs), and not reallocated among functions within the entity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_99&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ExpenseByNature
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | ifrs-full_ExpenseByNatureAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of expense relating to general and administrative activities of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_GeneralAndAdministrativeExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of operating income (expense) that the entity does not separately disclose in the same statement or note. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_85&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_OtherOperatingIncomeExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of raw materials and consumables used in the production process or in the rendering of services. [Refer: Current raw materials] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 102 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_102&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_99&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_RawMaterialsAndConsumablesUsed
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expense relating to the marketing and selling of goods or services. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_85&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_SalesAndMarketingExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expense arising from services. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_85&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ServicesExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of Advertising and marketing expenses. + References No definition available. + Details
Name: | ugp_AdvertisingAndMarketingExpense
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of amortization of right-of-use assets. + References No definition available. + Details
Name: | ugp_AmortizationOfRightToUseAsset
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | ugp_ClassifiedByFunctionAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of operating expense arising from decarbonization obligation. + References No definition available. + Details
Name: | ugp_ExpensesFromDecarbonizationObligation
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of extemporaneous tax credits. + References No definition available. + Details
Name: | ugp_ExtemporaneousTaxCredits
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of Freight and storage expenses. + References No definition available. + Details
Name: | ugp_FreightAndStorageExpense
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of income (expense) by function that the entity does not separately disclose in the same statement or note. + References No definition available. + Details
Name: | ugp_OtherOperatingIncomeExpenseByFunction
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration