XML 149 R132.htm IDEA: XBRL DOCUMENT
v3.23.1

Salaries and social security - Summary of detailed information about salaries and social security (Detail) - USD ($) $ in Millions | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | --- | ---
Disclosure Of Salaries And Social Security [Abstract] |  |  |
Salaries and social security current | $ 68 | $ 49 | $ 39
Salaries and social security non current | 1 | 32 | 46
Other employee benefits non current | 1 | 32 | 46
Salaries and social security current | 297 | 229 | 178
Bonuses and incentives provision current | 113 | 67 | 52
Vacation provision current | 77 | 70 | 57
Other employee benefits current | $ 39 | $ 43 | $ 30

X
- Definition The amount of accruals for employee benefits (other than termination benefits) that are expected to be settled wholly within twelve months after the end of the annual reporting period in which the employees render the related services. [Refer: Accruals classified as current] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 78 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ShorttermEmployeeBenefitsAccruals
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Bonuses and incentives provision, current. + References No definition available. + Details
Name: | ypf_BonusesAndIncentivesProvisionCurrent
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disclosure of salaries and social security. + References No definition available. + Details
Name: | ypf_DisclosureOfSalariesAndSocialSecurityAbstract
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Other employee benefits current. + References No definition available. + Details
Name: | ypf_OtherEmployeeBenefitsCurrent
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Other employee benefits non current. + References No definition available. + Details
Name: | ypf_OtherEmployeeBenefitsNonCurrent
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Salaries And Social Security + References No definition available. + Details
Name: | ypf_SalariesAndSocialSecurity
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Salaries and social security, payables, current. + References No definition available. + Details
Name: | ypf_SalariesAndSocialSecurityPayablesCurrent
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Vacation provision, current. + References No definition available. + Details
Name: | ypf_VacationProvisionCurrent
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant