Tax Templates · JSON Structure

Tax Document Structure

Structure for tax documents covering W-2, 1099, K-1, FATCA, and other IRS forms used in enterprise tax filing

Type: Properties: 0
DocumentationFinanceTaxTemplatesCompliance

Tax Document is a JSON Structure definition published by Tax Templates.

Meta-schema:

JSON Structure

tax-document-structure.json Raw ↑
{
  "name": "Tax Document",
  "description": "Structure for tax documents covering W-2, 1099, K-1, FATCA, and other IRS forms used in enterprise tax filing",
  "fields": [
    {"name": "document_type", "type": "string", "required": true, "description": "Form type: W-2, 1099-NEC, 1099-INT, K-1, etc."},
    {"name": "tax_year", "type": "integer", "required": true, "description": "Tax year covered by the document"},
    {"name": "issuer", "type": "Entity", "required": false, "description": "Entity issuing the document (employer, payer, partnership)"},
    {"name": "recipient", "type": "Entity", "required": false, "description": "Individual or entity receiving the document"},
    {"name": "amounts", "type": "object", "required": false, "description": "Key-value map of box names to dollar amounts"},
    {"name": "boxes", "type": "array<FormBox>", "required": false, "description": "Structured list of named form boxes"},
    {"name": "dates", "type": "DateSection", "required": false, "description": "Issue date, period, and due dates"},
    {"name": "corrections", "type": "CorrectionInfo", "required": false, "description": "Amendment details if corrected document"},
    {"name": "metadata", "type": "DocumentMetadata", "required": false, "description": "System metadata and audit info"}
  ],
  "nested": {
    "Entity": {
      "fields": [
        {"name": "name", "type": "string", "description": "Legal entity name"},
        {"name": "tin", "type": "string", "description": "Taxpayer ID (SSN, EIN, ITIN, GIIN)"},
        {"name": "tin_type", "type": "string", "description": "SSN, EIN, ITIN, or GIIN"},
        {"name": "address", "type": "Address", "description": "Mailing address"},
        {"name": "account_number", "type": "string", "description": "Account number if applicable"}
      ]
    },
    "FormBox": {
      "fields": [
        {"name": "box_number", "type": "string", "description": "Box or line number on the form"},
        {"name": "label", "type": "string", "description": "Box description"},
        {"name": "amount", "type": "number", "description": "Dollar amount"},
        {"name": "code", "type": "string", "description": "Form-specific code (e.g., W-2 Box 12 code)"},
        {"name": "notes", "type": "string", "description": "Optional notes"}
      ]
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/tax-document-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.