Veryfi · Schema

W2Form

A processed W-2 wage and tax statement

AIDocument ProcessingFinanceInvoicesOCRReceiptsTax Forms

Properties

Name Type Description
id integer
employee_name string
employee_ssn string Employee Social Security Number (last 4 digits)
employer_name string
employer_ein string Employer Identification Number
tax_year string Tax year of the W-2
wages number Box 1 - Wages, tips, other compensation
federal_tax_withheld number Box 2 - Federal income tax withheld
social_security_wages number Box 3 - Social security wages
social_security_tax number Box 4 - Social security tax withheld
medicare_wages number Box 5 - Medicare wages and tips
medicare_tax number Box 6 - Medicare tax withheld
View JSON Schema on GitHub

JSON Schema

veryfi-w2form-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/W2Form",
  "title": "W2Form",
  "type": "object",
  "description": "A processed W-2 wage and tax statement",
  "properties": {
    "id": {
      "type": "integer"
    },
    "employee_name": {
      "type": "string"
    },
    "employee_ssn": {
      "type": "string",
      "description": "Employee Social Security Number (last 4 digits)"
    },
    "employer_name": {
      "type": "string"
    },
    "employer_ein": {
      "type": "string",
      "description": "Employer Identification Number"
    },
    "tax_year": {
      "type": "string",
      "description": "Tax year of the W-2"
    },
    "wages": {
      "type": "number",
      "format": "float",
      "description": "Box 1 - Wages, tips, other compensation"
    },
    "federal_tax_withheld": {
      "type": "number",
      "format": "float",
      "description": "Box 2 - Federal income tax withheld"
    },
    "social_security_wages": {
      "type": "number",
      "format": "float",
      "description": "Box 3 - Social security wages"
    },
    "social_security_tax": {
      "type": "number",
      "format": "float",
      "description": "Box 4 - Social security tax withheld"
    },
    "medicare_wages": {
      "type": "number",
      "format": "float",
      "description": "Box 5 - Medicare wages and tips"
    },
    "medicare_tax": {
      "type": "number",
      "format": "float",
      "description": "Box 6 - Medicare tax withheld"
    }
  }
}