In YITH > PDF Invoices > General options > “Checkout options” you will find the SSN (Social Security Number) and VAT field options.
You can decide to show/hide them on the checkout page, and to make them mandatory or not.
(Making the fields mandatory applies to ALL users).
The VAT and SSN fields can be shown in PDF documents generated by the plugin, as explained on this page of documentation.