W2 - document type
Overview
Form W-2 (or, Wage and Tax Statement) is an Internal Revenue Service (IRS) tax form used in the United States to report wages paid to employees and the taxes withheld from them.
This model is trained to extract up to 23 fields of relevant data on W-2 that can be either used as a base for future training or adjusted to meet business process requirements.
Particularities
The model automatically detects data such as:
- Employer Name, Address, FED ID, SSA Number, Social Security Wages, Federal Income Tax Withheld, Medicare Wages and Tips, Dependent Care Benefits.
Extracted fields
If you are using using public endpoints, such as https://du.uipath.com/ie/invoices, all fields are available. However, if you are using custom-trained extractors, the availability of extracted fields is dependant on the version you are currently using. You can also check the list of fields and types on any endpoint in the /info/model object. To access this, simply add /info/model to any endpoint, like so: https://du.uipath.com/ie/invoices/info/model. For an enhanced reading experience of the fields list, it's recommended to install a JSON viewer extension in your browser.
Table 1. List of extracted fields for W2
| Display Name | Field Name | Field Type | Content Type |
|---|---|---|---|
| a Employee Social Security Number | ssn | regular | id-no |
| b Employer FED ID Number | ein | regular | id-no |
| c Employer Address | employer-addr | regular | string |
| e/f Employee Name | employee-name | regular | string |
| e/f Employee Address | employee-addr | regular | string |
| Field 1: Wages, tips and other comp. | 1-wages | regular | number |
| Field 2 Federal Income Tax Withheld | 2-fed-tax-withhelf | regular | number |
| Field 3 Social Security Wages | 3-soc-sec-wages | regular | number |
| Field 4 Social Security Tax Withheld | 4-socsec-tax-withheld | regular | number |
| Field 5 Medicare Wages | 5-medicare-wages | regular | number |
| Field 6 Medicare Tax Withheld | 6-medicare-tax-withheld | regular | number |
| Field 7 Social Security Tips | 7-socsec-tips | regular | number |
| Field 8 Allocated Tips | 8-allocated-tips | regular | number |
| Field 10 Dependent Care Benefits | 10-dep-care-benefits | regular | number |
| Field 11 Nonqualified Plans | 11-nonqual-plans | regular | number |
| 12 Codes | 12-code | items | id-no |
| 12 Amounts | 12-amount | items | number |
| Field 13 Option Statutory Employee | 13-statutory | regular | string |
| Field 13 Option Retirement Plan | 13-retirement | regular | string |
| Field 13 Option Third Party Sick Pay | 13-third-party | regular | string |
| Field 14 Other Information | 14-other | regular | string |
| 9 Advance EIC Payment | 9-advance-eic-payment | regular | number |
| Tax Year | year | regular | number |
| Employee First Name | employee-first-name | regular | string |
| Employee Suffix | employee-suffix | regular | string |
Samples
Here is a sample of a W2 form:
