API reference

Build a review packet

Recomputes up to 25 federal profiles into a packet of independent items for a preparer, with no packet-level total or summary.

POSThttps://tax-mcp.com/api/mcp/tax-compute/review-packet

Assemble a review packet — N caller-supplied profiles recomputed fresh, presented as independent items.

Recomputes up to 25 caller-supplied complete federal profiles and assembles them into a review packet of N items, each with its own computed envelope / decline / provenance / legal_notice. Federal-only. Present-not-conclude: NO packet-level total, summary, count, status, or ranking (it is a non-exhaustive assembly, NOT a completed or filed return). Bills PER SCENARIO; Idempotency-Key MANDATORY.

Headers

HeaderRequiredDescription
AuthorizationYesBearer <API key>
Content-TypeYesapplication/json
Idempotency-KeyYesMANDATORY on this endpoint: a unique value per logical request; same-key/same-body retry replays and bills once.

Request body

FieldDescription
scenariosarray of { label?, profile } (1 to 25)requiredThe profiles to compute, in order. Results come back by the same index.
scenarios[].labelstringOptional label echoed back on that entry. Used only in the response; never stored.
scenarios[].profileFederalProfilerequiredA complete federal request body, exactly as accepted by POST /tax-compute/federal.

Every field of profile is in the federal reference.

Example

Request
curl https://tax-mcp.com/api/mcp/tax-compute/review-packet \
  -H "Authorization: Bearer $TAX_MCP_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "scenarios": [
      {
        "label": "client-a-single",
        "profile": {
          "year": 2025,
          "filingStatus": "single",
          "canBeClaimedAsDependent": false,
          "noForeignOrTerritoryExclusionAffirmed": true,
          "wages": 90000,
          "medicareWages": 90000
        }
      },
      {
        "label": "client-b-joint",
        "profile": {
          "year": 2025,
          "filingStatus": "married_filing_jointly",
          "canBeClaimedAsDependent": false,
          "noForeignOrTerritoryExclusionAffirmed": true,
          "wages": 180000,
          "medicareWages": 180000
        }
      }
    ]
  }'
Response 200 · 2 of 2 computed
{
  "workflow": "review-packet",
  "disclaimer": "<workflow disclaimer: hypothetical / not advice / not a filing / not ranked — elided>",
  "legal_notice": {
    "ref": "https://tax-mcp.com/terms#compute-notice",
    "version": "v1",
    "text": "<computation-support notice — see full response>"
  },
  "items": [
    {
      "index": 0,
      "label": "client-a-single",
      "legal_notice": {
        "ref": "https://tax-mcp.com/terms#compute-notice",
        "version": "v1",
        "text": "<computation-support notice — see full response>"
      },
      "computed": true,
      "year": 2025,
      "filingStatus": "single",
      "taxableIncome": 74250,
      "incomeTax": 11255,
      "totalTax": 11255,
      "lines": [
        { "lineId": "1040:15", "label": "Taxable income", "amount": 74250 },
        {
          "lineId": "1040:16",
          "label": "Income tax",
          "amount": 11255,
          "derivation": "<5 derivation steps — see full response>"
        },
        { "lineId": "1040:24", "label": "Total tax", "amount": 11255 }
      ],
      "flags": [
        "OBBBA-2025-new-deductions-senior-bonus/tips/overtime/car-loan-NOT-evaluated-engine-cannot-verify-eligibility-from-W2/1099-preparer-must-confirm"
      ],
      "billed": true,
      "retry_safe": true,
      "next_action": "none",
      "provenance": {
        "engine": "deterministic",
        "jurisdiction": "review-packet",
        "tax_year": 2025
      }
    },
    {
      "index": 1,
      "label": "client-b-joint",
      "legal_notice": {
        "ref": "https://tax-mcp.com/terms#compute-notice",
        "version": "v1",
        "text": "<computation-support notice — see full response>"
      },
      "computed": true,
      "year": 2025,
      "filingStatus": "married_filing_jointly",
      "taxableIncome": 148500,
      "incomeTax": 22498,
      "totalTax": 22498,
      "lines": [
        { "lineId": "1040:15", "label": "Taxable income", "amount": 148500 },
        {
          "lineId": "1040:16",
          "label": "Income tax",
          "amount": 22498,
          "derivation": "<3 derivation steps — see full response>"
        },
        { "lineId": "1040:24", "label": "Total tax", "amount": 22498 }
      ],
      "flags": [
        "OBBBA-2025-new-deductions-senior-bonus/tips/overtime/car-loan-NOT-evaluated-engine-cannot-verify-eligibility-from-W2/1099-preparer-must-confirm"
      ],
      "billed": true,
      "retry_safe": true,
      "next_action": "none",
      "provenance": {
        "engine": "deterministic",
        "jurisdiction": "review-packet",
        "tax_year": 2025
      }
    }
  ]
}
Full response, including line derivations
{
  "workflow": "review-packet",
  "disclaimer": "<workflow disclaimer: hypothetical / not advice / not a filing / not ranked — elided>",
  "legal_notice": {
    "ref": "https://tax-mcp.com/terms#compute-notice",
    "version": "v1",
    "text": "Computation support only. Not tax, legal, accounting, or financial advice. Customer is responsible for review, filing positions, and use only within the documented supported envelope."
  },
  "items": [
    {
      "index": 0,
      "label": "client-a-single",
      "legal_notice": {
        "ref": "https://tax-mcp.com/terms#compute-notice",
        "version": "v1",
        "text": "Computation support only. Not tax, legal, accounting, or financial advice. Customer is responsible for review, filing positions, and use only within the documented supported envelope."
      },
      "computed": true,
      "year": 2025,
      "filingStatus": "single",
      "taxableIncome": 74250,
      "incomeTax": 11255,
      "totalTax": 11255,
      "lines": [
        {
          "lineId": "1040:15",
          "label": "Taxable income",
          "amount": 74250,
          "derivation": []
        },
        {
          "lineId": "1040:16",
          "label": "Income tax",
          "amount": 11255,
          "derivation": [
            {
              "lineId": "1040:16",
              "label": "Tax Table method (IRS-mandated below $100,000 taxable income)",
              "inputs": [
                { "name": "taxableIncome", "value": 74250 }
              ],
              "rule": {
                "description": "Form 1040 instructions require the published Tax Table — a lookup on the midpoint of a narrow taxable-income band — for taxable income under $100,000; the exact bracket formula (Tax Computation Worksheet) applies only at $100,000 or more.",
                "authority": "Form 1040 instructions — Tax Table"
              },
              "computation": "taxable income $74,250 → Tax Table band midpoint $74,275",
              "result": 0
            },
            {
              "lineId": "1040:16",
              "label": "Ordinary income tax — 10% bracket",
              "inputs": [
                { "name": "taxableIncomeInBracket", "value": 11925 }
              ],
              "rule": {
                "description": "marginal rate × taxable income falling within this bracket",
                "authority": "IRC §1(j)",
                "constantRef": {
                  "table": "BRACKETS_BY_YEAR",
                  "key": "2025/single",
                  "value": "10% (up to $11,925)",
                  "revProc": "Rev. Proc. 2024-40"
                }
              },
              "computation": "0.1 × $11,925 = $1,192.5",
              "result": 1192.5
            },
            {
              "lineId": "1040:16",
              "label": "Ordinary income tax — 12% bracket",
              "inputs": [
                { "name": "taxableIncomeInBracket", "value": 36550 }
              ],
              "rule": {
                "description": "marginal rate × taxable income falling within this bracket",
                "authority": "IRC §1(j)",
                "constantRef": {
                  "table": "BRACKETS_BY_YEAR",
                  "key": "2025/single",
                  "value": "12% (up to $48,475)",
                  "revProc": "Rev. Proc. 2024-40"
                }
              },
              "computation": "0.12 × $36,550 = $4,386",
              "result": 4386
            },
            {
              "lineId": "1040:16",
              "label": "Ordinary income tax — 22% bracket",
              "inputs": [
                { "name": "taxableIncomeInBracket", "value": 25800 }
              ],
              "rule": {
                "description": "marginal rate × taxable income falling within this bracket",
                "authority": "IRC §1(j)",
                "constantRef": {
                  "table": "BRACKETS_BY_YEAR",
                  "key": "2025/single",
                  "value": "22% (up to $103,350)",
                  "revProc": "Rev. Proc. 2024-40"
                }
              },
              "computation": "0.22 × $25,800 = $5,676",
              "result": 5676
            },
            {
              "lineId": "1040:16",
              "label": "Whole-dollar rounding — ordinary income tax",
              "inputs": [
                { "name": "unroundedOrdinaryTax", "value": 11255 }
              ],
              "rule": {
                "description": "round the ordinary income tax to whole dollars",
                "authority": "Form 1040 instructions — whole-dollar rounding"
              },
              "computation": "$11,255 − $11,254.5 = $0.5",
              "result": 0.5
            }
          ]
        },
        {
          "lineId": "1040:24",
          "label": "Total tax",
          "amount": 11255,
          "derivation": []
        }
      ],
      "flags": [
        "OBBBA-2025-new-deductions-senior-bonus/tips/overtime/car-loan-NOT-evaluated-engine-cannot-verify-eligibility-from-W2/1099-preparer-must-confirm"
      ],
      "billed": true,
      "retry_safe": true,
      "next_action": "none",
      "provenance": {
        "engine": "deterministic",
        "jurisdiction": "review-packet",
        "tax_year": 2025
      }
    },
    {
      "index": 1,
      "label": "client-b-joint",
      "legal_notice": {
        "ref": "https://tax-mcp.com/terms#compute-notice",
        "version": "v1",
        "text": "Computation support only. Not tax, legal, accounting, or financial advice. Customer is responsible for review, filing positions, and use only within the documented supported envelope."
      },
      "computed": true,
      "year": 2025,
      "filingStatus": "married_filing_jointly",
      "taxableIncome": 148500,
      "incomeTax": 22498,
      "totalTax": 22498,
      "lines": [
        {
          "lineId": "1040:15",
          "label": "Taxable income",
          "amount": 148500,
          "derivation": []
        },
        {
          "lineId": "1040:16",
          "label": "Income tax",
          "amount": 22498,
          "derivation": [
            {
              "lineId": "1040:16",
              "label": "Ordinary income tax — 10% bracket",
              "inputs": [
                { "name": "taxableIncomeInBracket", "value": 23850 }
              ],
              "rule": {
                "description": "marginal rate × taxable income falling within this bracket",
                "authority": "IRC §1(j)",
                "constantRef": {
                  "table": "BRACKETS_BY_YEAR",
                  "key": "2025/married_filing_jointly",
                  "value": "10% (up to $23,850)",
                  "revProc": "Rev. Proc. 2024-40"
                }
              },
              "computation": "0.1 × $23,850 = $2,385",
              "result": 2385
            },
            {
              "lineId": "1040:16",
              "label": "Ordinary income tax — 12% bracket",
              "inputs": [
                { "name": "taxableIncomeInBracket", "value": 73100 }
              ],
              "rule": {
                "description": "marginal rate × taxable income falling within this bracket",
                "authority": "IRC §1(j)",
                "constantRef": {
                  "table": "BRACKETS_BY_YEAR",
                  "key": "2025/married_filing_jointly",
                  "value": "12% (up to $96,950)",
                  "revProc": "Rev. Proc. 2024-40"
                }
              },
              "computation": "0.12 × $73,100 = $8,772",
              "result": 8772
            },
            {
              "lineId": "1040:16",
              "label": "Ordinary income tax — 22% bracket",
              "inputs": [
                { "name": "taxableIncomeInBracket", "value": 51550 }
              ],
              "rule": {
                "description": "marginal rate × taxable income falling within this bracket",
                "authority": "IRC §1(j)",
                "constantRef": {
                  "table": "BRACKETS_BY_YEAR",
                  "key": "2025/married_filing_jointly",
                  "value": "22% (up to $206,700)",
                  "revProc": "Rev. Proc. 2024-40"
                }
              },
              "computation": "0.22 × $51,550 = $11,341",
              "result": 11341
            }
          ]
        },
        {
          "lineId": "1040:24",
          "label": "Total tax",
          "amount": 22498,
          "derivation": []
        }
      ],
      "flags": [
        "OBBBA-2025-new-deductions-senior-bonus/tips/overtime/car-loan-NOT-evaluated-engine-cannot-verify-eligibility-from-W2/1099-preparer-must-confirm"
      ],
      "billed": true,
      "retry_safe": true,
      "next_action": "none",
      "provenance": {
        "engine": "deterministic",
        "jurisdiction": "review-packet",
        "tax_year": 2025
      }
    }
  ]
}

Responses

StatusMeaning
200{ workflow: 'review-packet', disclaimer, legal_notice, items[] } — each item carries its own computed envelope/decline/provenance/legal_notice, by index; NO packet-level aggregate/total/summary/count/status field.
400Invalid body / JSON / failed validation
401Missing / unknown / revoked key (no enumeration)
403Account suspended — contact billing (distinct from 401: the key is valid)
409Idempotency-Key reused with a different body (`idempotency_key_reused`), or a concurrent in-flight duplicate (`idempotency_key_in_progress`). Retry; NOT billed.
429
Monthly quota exhausted (account-wide;

Monthly quota exhausted (account-wide; `quota_exceeded`, next_action `upgrade_plan_or_wait_next_period`, retry_safe false) or per-minute rate exceeded (`rate_limit_exceeded`, next_action `retry_after_backoff`, retry_safe true). Not billed.

500Sanitized server error computing the return
503Metering outage — fail-closed (the call is NOT silently served free)

Each entry in items carries its index, its label if you sent one, and either a normal computed result or a normal decline, with its own billed; every item, declines included, carries its own legal notice. An entry that could not run (for example, quota ran out partway) carries an error and is not billed. Guide: Build a review packet.