Schema Tax

Income Verification API Built on Tax Documents

By Schema TaxPublished Updated

An income verification API built on tax documents reads the forms an applicant uploads, such as W-2s, 1099s and a filed Form 1040, and returns wages, contractor pay and return totals as typed fields tied to that applicant. It verifies what the documents say. It does not read pay stubs or IRS transcripts, so some cases need other sources.

What can an income verification API read from tax documents?

An income verification API that reads tax documents can return wages from W-2s, nonemployee pay and other income from 1099s, and summary lines such as total income and adjusted gross income from a filed 1040. Those three sources cover employees, contractors and most households with mixed income, for the years the applicant has documents.

The W-2 gives the employer's view of pay. The 2026 IRS General Instructions for Forms W-2 and W-3 title Box 1 "Wages, tips, other compensation," Box 3 "Social security wages" and Box 5 "Medicare wages and tips." The three can differ for the same person. The same instructions say employer-provided adoption benefits are not reportable in Box 1 but are reported in boxes 3 and 5, which is one example of pay counted for payroll taxes and not for income tax. An integration should store all three rather than pick one.

The 1099s give a payer's view of non-wage income. The IRS Instructions for Forms 1099-MISC and 1099-NEC (December 2026 revision) put nonemployee compensation in Box 1a and require it to be reported when it reaches $2,000, for tax years beginning after 2025. A contractor paid less than that by a client may have no form from that client at all, which matters when you add up income.

The filed 1040 gives the household's own total. On the 2025 Form 1040, line 1z sums wage-type income, line 9 is total income and line 11a is adjusted gross income. These lines include income that never appears on a W-2 or 1099 the applicant can hand you.

What a document-based API cannot read is just as important. Pay stubs are not tax forms and fall outside a tax-form extractor. IRS transcripts are records the IRS produces, not documents the applicant filled in, and Schema Tax, for one, does not read them. The supported forms list shows exactly which forms are in scope.

Income document extraction API fields for wages and self-employment

An income document extraction API should return fields that map cleanly to the two main kinds of earned income: employment income from W-2s and self-employment income from 1099s, the 1040 and, for partners, the K-1. Each field should carry its form type, tax year, box or line number and a name that says what it holds.

Employment income fields

SourceBox or lineExample field nameNote
W-2Box 1wagesWages, tips, other compensation
W-2Box 3ss_wagesSocial security wages
W-2Box 5medicare_wagesMedicare wages and tips
W-2Box cemployer_nameTies the wage to an employer
1040 (2025)Line 1awages_w2_box1Should equal the sum of W-2 Box 1 across the household's W-2s

Self-employment and other income fields

SourceBox or lineExample field nameNote
1099-NECBox 1anonemployee_compensationGross pay from one client
1099-MISCBox 1rentsRental income from one payer
K-1 (Form 1065, 2025)Box 14, code Ase_earningsNet earnings (loss) from self-employment
1040 (2025)Line 8schedule1_additional_incomeAdditional income from Schedule 1, line 10
1040 (2025)Line 11aadjusted_gross_incomeHousehold total after adjustments

The field names are examples. The point of a fixed name is that a W-2 from one payroll provider and a W-2 from another produce the same keys, so your rules do not branch on issuer.

Gross is not net. A 1099-NEC Box 1a shows what one client paid, with nothing taken off for the contractor's costs. A partnership K-1 Box 14 code A, by contrast, is labelled net earnings (loss) from self-employment. Keep gross and net figures in separate fields so a rule never adds one to the other, and the post on automated income calculation covers how to turn these fields into a qualifying figure.

Store every amount as a decimal string or integer cents. A float can turn 48,210.10 into 48,210.0999 and break a later equality check; the post on decimal vs float for money in JSON shows the failure and the fix.

Linking income verification API results to an applicant record

Linking income verification API results to an applicant means storing three keys with every extracted document: your own applicant ID, the document's ID from the API, and the tax year printed on the form. A fourth signal, the last four digits of the recipient's TIN, helps confirm that a form belongs to the person who uploaded it.

The step list below follows one fictional applicant from upload to an underwriting record. All names, amounts and identifiers are made up. The request and response shapes are an example against a placeholder URL, https://api.example.com; Schema Tax has no public API documentation, so treat them as an illustration of the flow, not a real endpoint.

  1. Upload. The applicant, Morgan Example, uploads one PDF holding two W-2s and a 2025 Form 1040. Your system stores applicant_id: "app-7781" and sends the file to the extraction API.
  2. Classify. The API splits the PDF into three documents and returns a document_id, form_type and tax_year for each: doc-a1 (W-2, 2025), doc-a2 (W-2, 2025), doc-a3 (1040, 2025).
  3. Extract. Each document comes back with typed fields. The W-2s carry wages, employer_name and employee_ssn_last4: "1234". The 1040 carries filing_status, wages_w2_box1, total_income and adjusted_gross_income.
  4. Match identity. Your code compares employee_ssn_last4 on each W-2 with the last four digits on the application. A mismatch routes the document to a person instead of attaching it to the applicant.
  5. Reconcile. Your code sums wages from doc-a1 and doc-a2 and compares the total with wages_w2_box1 on doc-a3. A gap may mean a missing W-2 or a spouse's W-2 on a joint return.
  6. Review flags. Any field the API marked uncertain goes to a reviewer with the page image, before it reaches the decision.
  7. Record. The underwriting record stores applicant_id, each document_id, form_type, tax_year, the chosen income fields and the reviewer's sign-off.

A trimmed example response for step 3, against the placeholder URL:

{
  "document_id": "doc-a1",
  "form_type": "W-2",
  "tax_year": 2025,
  "fields": {
    "employer_name": { "value": "Example Freight Co", "box": "c" },
    "employee_ssn_last4": { "value": "1234", "box": "a" },
    "wages": { "value": "52400.00", "box": "1", "flagged": false },
    "ss_wages": { "value": "54100.00", "box": "3", "flagged": false },
    "medicare_wages": { "value": "54100.00", "box": "5", "flagged": true }
  }
}

Matching on four digits is a check, not proof. Many people share the same last four digits, so use it with the name and the tax year, and treat it as a reason to look closer when it fails. The W-2 instructions say employers "may truncate the employee's SSN on employee copies," and the 1099 instructions allow filers to truncate a recipient's TIN on payee statements, so the full number is often not on the document anyway. The masked formats you will see, and the rules for matching records on a masked SSN, are covered in their own post.

Step 1 depends on the applicant getting a clean file to you in the first place. The screens that ask for the right forms, guide phone capture and let the applicant fix flagged values are laid out in the plan for tax document upload in fintech apps.

Retention rules for an income verification API integration

Retention rules for an income verification API integration decide how long the original tax documents and the extracted data live, and on whose systems. A common approach keeps the extracted fields with the loan file and deletes the uploaded originals from the extraction service as soon as the data has been exported and reviewed.

Decide retention in two places. Your own system holds the underwriting record, and your legal or compliance team sets how long that stays. The extraction service holds the uploaded files and results, and you should be able to set that period yourself rather than accept a vendor default.

Schema Tax lets the account owner choose: delete originals right after export, after 30 days, or on their own schedule. It masks SSNs and TINs to the last four digits before anything is stored, encrypts files in transit and at rest, and does not use documents for training. The security section lists those commitments in full.

Three habits keep retention simple. First, export and review before you delete, so a reviewer can still open the page image when a flag needs a second look. Second, keep the document_id and tax_year in your record even after the original is gone, so the audit trail shows what was read. Third, set the shortest period that still lets reviewers finish their work, and write it down so everyone on the team applies the same rule.

When tax documents are not enough for an income verification API?

Tax documents are not enough for an income verification API when the applicant has no documents for the years you need, when you need the IRS's own figures rather than the applicant's copies, or when the income never appears on a tax form. Each case calls for a different source.

Missing years are the most common gap. A first-year contractor has no prior 1099s. A tax year that has just ended may not have forms yet, because payers issue them only after the year closes. An integration should record which years are present and treat a missing year as a missing input, not as zero income.

The applicant's copies are another limit. An uploaded 1040 shows what the applicant says was filed, while an IRS transcript shows what the IRS has on record; the post on whether a tax return parsing API is the same as an IRS transcript sets out the transcript types. Lenders that need IRS records can use the IRS Income Verification Express Service, which, according to that page, lets taxpayers authorize banks and lenders to access their tax records, with requests made on Form 4506-C. A document extractor does not replace that channel.

Non-tax income is the last gap. Current pay since the last W-2, some benefits and income from sources that issue no form will not appear on the documents an applicant holds. Pay stubs, bank statements or employer letters fill those gaps, and they need their own tools.

Cost matters when you plan for volume. Tax documents are usually priced by the page, and a single brokerage statement can run long; the post on per-page pricing for a document OCR API explains how to estimate it. Lender workflows and the income rules behind them are collected in the income verification category.

All posts in Tax Form APIs for Developers