Schema Tax

1099 Extraction API for NEC, MISC, INT, DIV and B

By Schema TaxPublished Updated

A 1099 extraction API reads 1099-NEC, 1099-MISC, 1099-INT, 1099-DIV and 1099-B forms and returns JSON with a named field for each box, the payer's and recipient's TINs, and the checks each value passed. Other 1099 types, such as the 1099-R, 1099-K and 1099-G, fall outside what it reads.

Which 1099 types does a 1099 extraction API cover?

A 1099 extraction API covers the information returns it has a schema for. Schema Tax reads five 1099 types: the 1099-NEC, 1099-MISC, 1099-INT, 1099-DIV and 1099-B. The 1099-R, 1099-K and 1099-G are not read, and neither are IRS transcripts, even though they report similar income.

The five covered types split into two shapes. Four of them, the NEC, MISC, INT and DIV, are flat forms: one payer, one recipient, one set of boxes per form. Each box holds a single amount or a checkbox, so a record is a fixed set of named fields.

The 1099-B is different. A brokerage statement can report many sales, each with its own description, dates, proceeds and basis. The IRS Instructions for Form 1099-B say brokers using substitute statements may be able to report a customer's transactions for the year on a single substitute statement, so one document can hold dozens or hundreds of sales. That calls for an array of lots rather than flat fields. The 1099-B JSON format for lots and wash sales covers that shape in full, so this post sticks to the flat forms.

Why the list stops at five is a matter of schemas, not effort. Every form needs its own field definitions, its own checks and its own edge cases. A service that claims to read "any 1099" either has all of those or is guessing at field names for forms it has never modeled.

One W2 1099 API or a model per form?

One W2 1099 API with a shared envelope works better for most consumers than a separate model per form. Every record carries the same outer properties, including a form-type discriminator, and the fields object changes shape by form type. Code routes on the discriminator, then reads the fields it knows.

The alternative, a separate endpoint and response model per form, looks tidy at first. Then a client uploads a PDF with a W-2, two 1099-INTs and a 1099-DIV. With one model per form, the client has to classify the pages first, or call every endpoint and see which one succeeds. With a shared envelope, one call returns four records, each labeled with its form_type.

Here is an illustrative response for a mixed upload. The URL https://api.example.com is a placeholder, and the shape is an example; Schema Tax has no public API documentation.

POST https://api.example.com/v1/extractions
Content-Type: multipart/form-data

file=riley-1099s.pdf
{
  "document_id": "doc_31c8e0",
  "forms": [
    { "form_type": "1099-NEC", "tax_year": 2026, "pages": [1], "fields": { "nonemployee_compensation": { "box": "1a", "value": "24500.00", "status": "ok" } } },
    { "form_type": "1099-INT", "tax_year": 2026, "pages": [2], "fields": { "interest_income": { "box": "1", "value": "412.37", "status": "ok" } } },
    { "form_type": "1099-DIV", "tax_year": 2026, "pages": [3], "fields": { "total_ordinary_dividends": { "box": "1a", "value": "1250.00", "status": "ok" } } }
  ]
}

In JSON Schema, the discriminator pattern is a set of if and then rules, or a oneOf list where each branch pins form_type with const. Either way, a validator checks the fields against the right form. The guide to designing a tax form JSON schema covers the envelope and naming rules behind this.

Shared names across forms are the other payoff. Federal income tax withheld is Box 4 on the 1099-NEC, the 1099-MISC, the 1099-INT and the 1099-DIV. If every form calls it federal_income_tax_withheld, one query adds up a household's withholding across all of them.

1099 extraction API fields for NEC, MISC, INT and DIV

1099 extraction API fields follow the box labels the IRS prints on each form, renamed into fixed snake_case keys. The 1099-NEC centers on nonemployee compensation in Box 1a, the 1099-MISC on rents, royalties and other income, the 1099-INT on interest income, and the 1099-DIV on ordinary and qualified dividends and capital gain distributions.

The table below lists the main fields per form with example field names, types and the in-form checks that apply. Box labels come from the IRS Instructions for Forms 1099-MISC and 1099-NEC, the IRS Instructions for Forms 1099-INT and 1099-OID and the IRS Instructions for Form 1099-DIV. The field names and example values are illustrative.

FormBox and IRS labelExample field nameTypeExample valueIn-form check
1099-NEC1a Nonemployee Compensationnonemployee_compensationmoney24500.00State income in Box 7 does not exceed Box 1a
1099-NEC1b Cash Tipscash_tipsmoney or nullnullNone
1099-NEC4 Federal Income Tax Withheldfederal_income_tax_withheldmoney or nullnullNone
1099-NEC5 to 7 State Informationstate_linesarray of rowsone rowNone
1099-MISC1 Rentsrentsmoney or null18000.00None
1099-MISC2 Royaltiesroyaltiesmoney or nullnullNone
1099-MISC3 Other Incomeother_incomemoney or nullnullNone
1099-MISC6 Medical and Health Care Paymentsmedical_health_care_paymentsmoney or nullnullNone
1099-MISC10 Gross Proceeds Paid to an Attorneyattorney_gross_proceedsmoney or nullnullNone
1099-INT1 Interest Incomeinterest_incomemoney412.37Box 1 excludes Box 3 savings bond and Treasury interest
1099-INT2 Early Withdrawal Penaltyearly_withdrawal_penaltymoney or nullnullNone
1099-INT3 Interest on U.S. Savings Bonds and Treasury Obligationsus_savings_bond_treasury_interestmoney or null88.10Not added into Box 1
1099-DIV1a Total Ordinary Dividendstotal_ordinary_dividendsmoney1250.00None
1099-DIV1b Qualified Dividendsqualified_dividendsmoney or null980.00Does not exceed Box 1a
1099-DIV2a Total Capital Gain Distr.total_capital_gain_distributionsmoney or null300.00Not less than any one of Boxes 2b, 2c, 2d or 2f

The checks come from the instructions' own wording. For the 1099-INT, the instructions tell payers to "Enter taxable interest not included in box 3" in Box 1, and say of the savings bond and Treasury interest in Box 3: "Do not include in box 1." If a Box 1 figure seems to contain the Box 3 amount, the read or the form deserves a second look. For the 1099-DIV, Box 1b is "the portion of the dividends in box 1a" that qualifies for reduced rates, so it can never exceed Box 1a. The instructions also say Box 2a includes the amounts in Boxes 2b, 2c, 2d and 2f.

The 1099-NEC state check is a consistency test rather than an IRS rule. If one state line reports more state income than the federal compensation in Box 1a, a digit was probably misread. Schema Tax runs this check on the 1099-NEC, along with the 1099-INT Box 3 check above, and flags uncertain values for a person to confirm.

Thresholds explain many blank forms. The 1099-MISC and 1099-NEC instructions say payers enter nonemployee compensation of $2,000 or more in Box 1a for tax years beginning after 2025, and rents of $2,000 or more in 1099-MISC Box 1. The 1099-DIV instructions set $10 as the floor for dividends. A form is still valid when a box below the threshold is filled in, so an extraction API should read what is printed and never apply thresholds itself.

What each of these boxes means for the person who receives the form is covered in the 1099 forms category.

Payer and recipient TINs in a 1099 extraction API response

Payer and recipient TINs in a 1099 extraction API response come back as masked strings with their type noted. The payer's TIN is usually an EIN in the XX-XXXXXXX pattern. The recipient's TIN is often an SSN, which many recipient copies already show truncated to the last four digits.

A TIN, or taxpayer identification number, is the nine-digit number the IRS uses to match a form to a taxpayer. The 1099-MISC and 1099-NEC instructions say SSNs, ITINs and ATINs go in the XXX-XX-XXXX format and EINs in the XX-XXXXXXX format. That gives an extraction API two pattern checks: a payer EIN with the hyphen after two digits, and a recipient number with hyphens after three and five digits. A number that fits neither pattern was probably misread.

Truncated recipient numbers are legal and common. The same instructions say all filers "may truncate a recipient's TIN" on the statements they furnish, citing Regulations section 301.6109-4, and that "Truncation is not allowed on any documents the filer files with the IRS." So a recipient copy showing XXX-XX-5678 is normal and should pass the check, with the masked digits treated as unknown rather than as an error.

An illustrative TIN block, using the same placeholder conventions as the example above:

{
  "payer_tin": { "kind": "EIN", "value": "XX-XXX3190", "checks": ["ein_pattern"] },
  "recipient_tin": { "kind": "SSN", "value": "XXX-XX-5678", "checks": ["ssn_pattern"] }
}

Masking on the way in protects both parties. Schema Tax masks SSNs and TINs to the last four digits before anything is written to storage, as described in how Schema Tax handles your Social Security number. The last four digits plus the payer's name are usually enough to match a form to a client record. The post on masked SSNs in API responses covers the formats and the matching rules in more depth.

When a 1099 extraction API is the wrong tool

A 1099 extraction API is the wrong tool for forms it has no schema for, such as the 1099-R, 1099-K and 1099-G, and for IRS transcripts. Those documents report income in a different layout, and forcing them into a NEC or MISC schema produces confident field names attached to the wrong numbers.

The risk is subtle because these forms look familiar. A 1099-K, a 1099-R and a 1099-G all have a payer block, a recipient block and numbered boxes, so a classifier that only checks for "1099" in the title might send them down the wrong path. The result is a record that passes a shape check and holds nonsense.

Test unsupported forms before you rely on a service. Upload a 1099-R and see what comes back. The safe answer is a record that names the form type it found and returns no fields, so your code can route the page to a person. An answer that maps a 1099-R's boxes onto 1099-MISC field names is a warning sign.

Transcripts are a separate case. They are not forms with boxes; they are summaries in a table layout. An extraction API built around box labels will not read them well.

For these documents, the practical paths are reading the form by hand, using the issuer's own data download if it offers one, or a separate tool built for that form type. Whatever you choose, keep the unsupported pages out of the same table as the extracted records, so totals stay clean.

For the forms that are covered, the 1099 data extraction walkthrough follows a form from upload to spreadsheet. Partnership and S corporation forms work differently again, and the K-1 JSON schema for boxes, codes and Part III shows how coded K-1 items are modeled.

All posts in Tax Form APIs for Developers