Add custom field to user registration form integrate with membership

Hi, i have a question about custom field user registration form integrate with membership

My question:
How is it possible add a custom fields to registration form (like first name, last name, company, vat number) and integrate with membership ?

Because in Italy when a company ship a services need a invoice with a vat number. And i need into registration form these fields for my invoice of membership paid.

Thank you