How employers report wages paid and tax withheld to the SSA. The W2 form is used for this. The SSA takes this data and credits the company.