XML 169 R152.htm IDEA: XBRL DOCUMENT
v3.23.1

Expenses by Nature - Detailed Information about Expenses by Nature (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Disclosure of expenses [line items] |  |  |  |  |  |
Salaries and social security taxes | $ 1,130 |  | $ 773 | [1] | $ 850 | [2]
Fees and compensation for services | 273 |  | 212 |  | 177 |
Other personnel expenses | 233 |  | 159 |  | 137 |
Taxes, charges and contributions | 1,088 |  | 883 |  | 623 |
Royalties, easements and fees | 1,031 |  | 834 |  | 612 |
Insurance | 76 |  | 81 |  | 81 |
Rental of real estate and equipment | 152 | [3] | 137 | [4] | 124 | [5]
Survey expenses | 18 |  | 3 |  | 7 |
Depreciation of property, plant and equipment | 2,551 |  | 2,816 |  | 2,460 |
Amortization of intangible assets | 43 |  | 51 |  | 48 |
Depreciation of right-of-use assets | 214 |  | 201 |  | 254 |
Industrial inputs, consumable materials and supplies | 466 |  | 383 |  | 320 |
Operation services and other service contracts | 449 | [3] | 453 | [4] | 563 | [5]
Preservation, repair and maintenance | 1,276 | [3] | 949 | [4] | 728 | [5]
Unproductive exploratory drillings | 26 |  | 10 |  | 49 |
Transportation, products and charges | 907 | [3] | 668 | [4] | 536 | [5]
Provision for doubtful trade receivables | 14 |  | 30 |  | 170 |
Publicity and advertising expenses | 103 |  | 61 |  | 40 |
Fuel, gas, energy and miscellaneous | 272 | [3] | 183 | [4] | 275 | [5]
Total | 10,322 |  | 8,887 |  | 8,054 |
Production costs [Member] |  |  |  |  |  |
Disclosure of expenses [line items] |  |  |  |  |  |
Salaries and social security taxes | 781 |  | 537 |  | 563 |
Fees and compensation for services | 46 |  | 47 |  | 37 |
Other personnel expenses | 202 |  | 140 |  | 120 |
Taxes, charges and contributions | 121 |  | 118 |  | 87 |
Royalties, easements and fees | 1,026 |  | 831 |  | 610 |
Insurance | 71 |  | 74 |  | 74 |
Rental of real estate and equipment | 140 |  | 125 |  | 95 |
Depreciation of property, plant and equipment | 2,400 |  | 2,670 |  | 2,319 |
Amortization of intangible assets | 29 |  | 38 |  | 40 |
Depreciation of right-of-use assets | 202 |  | 190 |  | 241 |
Industrial inputs, consumable materials and supplies | 454 |  | 370 |  | 312 |
Operation services and other service contracts | 383 |  | 388 |  | 501 |
Preservation, repair and maintenance | 1,206 |  | 905 |  | 689 |
Transportation, products and charges | 473 |  | 359 |  | 299 |
Fuel, gas, energy and miscellaneous | 170 |  | 88 |  | 196 |
Total | 7,704 |  | 6,880 |  | 6,183 |
Administrative expenses [Member] |  |  |  |  |  |
Disclosure of expenses [line items] |  |  |  |  |  |
Salaries and social security taxes | 222 |  | 148 |  | 178 |
Fees and compensation for services | 194 |  | 136 |  | 118 |
Other personnel expenses | 19 |  | 12 |  | 11 |
Taxes, charges and contributions | 13 |  | 7 |  | 5 |
Insurance | 3 |  | 5 |  | 5 |
Rental of real estate and equipment | 1 |  | 0 |  | 0 |
Depreciation of property, plant and equipment | 61 |  | 60 |  | 58 |
Amortization of intangible assets | 14 |  | 12 |  | 7 |
Industrial inputs, consumable materials and supplies | 2 |  | 4 |  | 2 |
Operation services and other service contracts | 10 |  | 8 |  | 8 |
Preservation, repair and maintenance | 25 |  | 20 |  | 17 |
Publicity and advertising expenses | 82 |  | 43 |  | 31 |
Fuel, gas, energy and miscellaneous | 11 |  | 15 |  | 27 |
Total | 657 |  | 470 |  | 467 |
Selling expenses [Member] |  |  |  |  |  |
Disclosure of expenses [line items] |  |  |  |  |  |
Salaries and social security taxes | 116 |  | 84 |  | 98 |
Fees and compensation for services | 32 |  | 29 |  | 22 |
Other personnel expenses | 11 |  | 6 |  | 5 |
Taxes, charges and contributions | 954 | [6] | 757 | [7] | 530 | [8]
Royalties, easements and fees | 2 |  | 1 |  | 1 |
Insurance | 2 |  | 2 |  | 2 |
Rental of real estate and equipment | 11 |  | 12 |  | 29 |
Depreciation of property, plant and equipment | 90 |  | 86 |  | 83 |
Amortization of intangible assets | 0 |  | 1 |  | 1 |
Depreciation of right-of-use assets | 12 |  | 11 |  | 13 |
Industrial inputs, consumable materials and supplies | 10 |  | 9 |  | 6 |
Operation services and other service contracts | 52 |  | 51 |  | 46 |
Preservation, repair and maintenance | 44 |  | 23 |  | 21 |
Transportation, products and charges | 434 |  | 309 |  | 237 |
Provision for doubtful trade receivables | 14 |  | 30 |  | 170 |
Publicity and advertising expenses | 21 |  | 18 |  | 9 |
Fuel, gas, energy and miscellaneous | 91 |  | 78 |  | 51 |
Total | 1,896 |  | 1,507 |  | 1,324 |
Exploration expenses [Member] |  |  |  |  |  |
Disclosure of expenses [line items] |  |  |  |  |  |
Salaries and social security taxes | 11 |  | 4 |  | 11 |
Fees and compensation for services | 1 |  | 0 |  | 0 |
Other personnel expenses | 1 |  | 1 |  | 1 |
Taxes, charges and contributions | 0 |  | 1 |  | 1 |
Royalties, easements and fees | 3 |  | 2 |  | 1 |
Survey expenses | 18 |  | 3 |  | 7 |
Operation services and other service contracts | 4 |  | 6 |  | 8 |
Preservation, repair and maintenance | 1 |  | 1 |  | 1 |
Unproductive exploratory drillings | 26 |  | 10 |  | 49 |
Fuel, gas, energy and miscellaneous | 0 |  | 2 |  | 1 |
Total | $ 65 |  | $ 30 |  | $ 80 |
[1] | Includes 18 corresponding to Productive Recovery Program II (“REPRO II”) in benefit of OPESSA. See Note 36.
[2] | Includes 18 corresponding to the Work and Production Assistance Program received in benefit of AESA and OPESSA. See Note 36.
[3] | Includes 63 and 104 corresponding to short-term leases and to the lease charge related to the underlying asset performance and/or use, respectively.
[4] | Includes 40 and 58 corresponding to short-term leases and to the lease charge related to the underlying asset performance and/or use, respectively.
[5] | Includes 59 and 76 corresponding to short-term leases and to the lease charge related to the underlying asset performance and/or use, respectively.
[6] | Includes 251 corresponding to export withholdings and 567 corresponding to Turnover Tax.
[7] | Includes 206 corresponding to export withholdings and 450 corresponding to Turnover Tax (see Note 2.d)).
[8] | Includes 134 corresponding to export withholdings and 322 corresponding to Turnover Tax (see Note 2.d)).

X
- Definition The amount of amortisation expense. Amortisation is the systematic allocation of depreciable amounts of intangible assets over their useful lives. + 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_AmortisationExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of depreciation of property, plant and equipment. [Refer: Depreciation and amortisation expense; Property, plant and equipment] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 16 -IssueDate 2022-03-24 -Paragraph 73 -Subparagraph e -Clause vii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_73_e_vii&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 16 -IssueDate 2022-03-24 -Paragraph 75 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_75_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DepreciationPropertyPlantAndEquipment
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of depreciation of right-of-use assets. [Refer: Depreciation and amortisation expense; Right-of-use assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2022-03-24 -Paragraph 53 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_53_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DepreciationRightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
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
- Definition The amount of expense arising from the consumption of fuel and energy. + 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_FuelAndEnergyExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expense arising from purchased insurance. + 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_InsuranceExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expenses that the entity does not separately disclose in the same statement or note when the entity uses the 'nature of expense' form for its analysis of expenses. [Refer: Expenses, by nature] + 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_OtherExpenseByNature
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 recognised on rental activities. + 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_RentalExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expenses incurred for the day-to-day servicing of assets, which may include the cost of labour, consumables or small parts. + 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_RepairsAndMaintenanceExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expense arising from royalties. + 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_RoyaltyExpense
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 tax expense exclusive of income tax expense. + 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_TaxExpenseOtherThanIncomeTaxExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expense arising from transportation services. + 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_TransportationExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Advertising Expenses + References No definition available. + Details
Name: | ypf_AdvertisingExpenses
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line item represents disclosure of expenses. + References No definition available. + Details
Name: | ypf_DisclosureOfExpensesLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Operation services and other service contracts. + References No definition available. + Details
Name: | ypf_OperationServicesAndOtherServiceContracts
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Provision for doubtful trade receivables recognised in profit or loss. + References No definition available. + Details
Name: | ypf_ProvisionForDoubtfulTradeReceivablesRecognisedInProfitOrLoss
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Salaries and social security taxes. + References No definition available. + Details
Name: | ypf_SalariesAndSocialSecurityTaxes
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Survey expenses. + References No definition available. + Details
Name: | ypf_SurveyExpenses
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Unproductive exploratory drillings. + References No definition available. + Details
Name: | ypf_UnproductiveExploratoryDrillings
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ypf_StatementOfComprehensiveIncomeProfitOrLossLocationAxis=ypf_ProductionCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_StatementOfComprehensiveIncomeProfitOrLossLocationAxis=ypf_AdministrativeExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_StatementOfComprehensiveIncomeProfitOrLossLocationAxis=ypf_SellingExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_StatementOfComprehensiveIncomeProfitOrLossLocationAxis=ypf_ExplorationExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |