Community Q&A. I don't have a social security number or a federal tax ID; I came here on a visa. If you have a green card, you may be eligible to apply for a social security number. Otherwise, you will need to file a W-7 form to apply for an ITIN. This form can be filed with your federal tax return (form 1040).