List forms
Lists the 1099s the caller org prepared as payer, oldest first, voided and superseded ones included — a return that was furnished stays on the record.
GET /v1/tax/forms
| Address | https://api.hanzo.ai/v1/tax/forms |
| Method | GET |
| Operation | get_tax_forms |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Lists the 1099s the caller org prepared as payer, oldest first, voided and superseded ones included — a return that was furnished stays on the record. Org admins only.
Request
1 field.
| Field | In | Type | Required | Description |
|---|---|---|---|---|
year | query | integer | — | Year narrows the list to one tax year; absent lists every year. |
Response
| Status | Body | Meaning |
|---|---|---|
200 | tax.formList | ok |
default | problem-details | refused |
200 body — 59 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
data | body | tax.Form[] | — | Data are the forms, oldest first. |
data[].account | body | string | — | Account is the account number the form prints — the original form's id, which a correction keeps, so the IRS can tie the two. |
data[].backup | body | tax.Withholding | — | |
data[].backup.dueCents | body | integer (int64) | — | DueCents is what 24% of the reported boxes comes to — what should have been withheld. |
data[].backup.rate | body | integer (int64) | — | Rate is the backup withholding rate, in percent: 24. |
data[].backup.reason | body | string | — | Reason says why, and which rule — or, when nothing is required, what the payer should still know. |
data[].backup.required | body | boolean | — | Required is true when the payer holds no TIN for the payee — the IRC §3406(a)(1)(A) trigger these forms can know. |
data[].boxes | body | tax.Amount[] | — | Boxes are the figures, box 4 (federal income tax withheld) included. |
data[].boxes[].box | body | string | — | Box is the box number, e.g. "1a". |
data[].boxes[].cents | body | integer (int64) | — | Cents is the amount in cents. |
data[].boxes[].label | body | string | — | Label is the box's caption on the form. |
data[].certified | body | boolean | — | Certified is whether the payee's W-9 was certified when the form was prepared. |
data[].corrected | body | boolean | — | Corrected is true for a form that corrects one already furnished. |
data[].createdAt | body | integer (int64) | — | CreatedAt is when the form was prepared, unix seconds. |
data[].delivery | body | string | — | Delivery is electronic (Copy B in the payee's inbox) or paper, once furnished. |
data[].due | body | tax.Deadline | — | |
data[].due.file | body | string | — | File is the date the return is due to the IRS, electronically (IRIS). |
data[].due.furnish | body | string | — | Furnish is the date Copy B is due to the recipient. |
data[].furnishedAt | body | integer (int64) | — | FurnishedAt is when Copy B was delivered in the inbox, or marked owed on paper. |
data[].id | body | string | — | ID is the form's id, "f1099_"-prefixed. |
data[].kind | body | string | — | Kind is 1099-NEC or 1099-MISC. |
data[].mailedAt | body | integer (int64) | — | MailedAt is when the payer recorded mailing a paper Copy B. |
data[].notes | body | string[] | — | Notes are what still needs a person, in words. |
data[].payer | body | tax.Party | — | |
data[].payer.address | body | tax.Address | — | |
data[].payer.address.city | body | string | — | City is the city or town. |
data[].payer.address.country | body | string | — | Country is ISO 3166-1 alpha-2; "US" when absent. |
data[].payer.address.line1 | body | string | — | Line1 is the number, street, and apartment or suite. |
data[].payer.address.line2 | body | string | — | Line2 continues the street address, when there is more of it. |
data[].payer.address.state | body | string | — | State is the two-letter state or territory code. |
data[].payer.address.zip | body | string | — | ZIP is five or nine digits. |
data[].payer.businessName | body | string | — | BusinessName is W-9 line 2, when there is one. |
data[].payer.name | body | string | — | Name is W-9 line 1. |
data[].payer.org | body | string | — | Org is the Hanzo org. |
data[].payer.phone | body | string | — | Phone is the payer's telephone number; a recipient has none on the form. |
data[].payer.tin | body | string | — | TIN is masked here always. |
data[].payer.tinType | body | string | — | TINType is ssn or ein; empty when no TIN is held. |
data[].payments | body | string[] | — | Payments are the rail payment ids summed into the boxes. |
data[].reason | body | string | — | Reason is why a corrected form was made. |
data[].recipient | body | tax.Party | — | |
data[].recipient.address | body | tax.Address | — | |
data[].recipient.address.city | body | string | — | City is the city or town. |
data[].recipient.address.country | body | string | — | Country is ISO 3166-1 alpha-2; "US" when absent. |
data[].recipient.address.line1 | body | string | — | Line1 is the number, street, and apartment or suite. |
data[].recipient.address.line2 | body | string | — | Line2 continues the street address, when there is more of it. |
data[].recipient.address.state | body | string | — | State is the two-letter state or territory code. |
data[].recipient.address.zip | body | string | — | ZIP is five or nine digits. |
data[].recipient.businessName | body | string | — | BusinessName is W-9 line 2, when there is one. |
data[].recipient.name | body | string | — | Name is W-9 line 1. |
data[].recipient.org | body | string | — | Org is the Hanzo org. |
data[].recipient.phone | body | string | — | Phone is the payer's telephone number; a recipient has none on the form. |
data[].recipient.tin | body | string | — | TIN is masked here always. |
data[].recipient.tinType | body | string | — | TINType is ssn or ein; empty when no TIN is held. |
data[].status | body | string | — | Status is draft, reviewed, furnished, owed or void. |
data[].supersededBy | body | string | — | SupersededBy is the form that corrects this one, once there is one. |
data[].supersedes | body | string | — | Supersedes is the form this one corrects. |
data[].updatedAt | body | integer (int64) | — | UpdatedAt is when its status last moved, unix seconds. |
data[].w9 | body | string | — | W9 is where the payer's W-9 request stood when the form was prepared. |
data[].year | body | integer (int64) | — | Year is the calendar year the payments were made. |
Failure carries the platform error shape — see Errors.
Examples
hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.
import { Configuration, TaxApi } from 'hanzoai';
const api = new TaxApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getTaxForms();from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import TaxApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = TaxApi(client).get_tax_forms()cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)
resp, _, err := client.TaxAPI.GetTaxForms(context.Background()).Execute()
if err != nil {
return err
}use hanzo_client::apis::{configuration::Configuration, tax_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = tax_api::get_tax_forms(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.TaxApi;
ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));
var result = new TaxApi(client).getTaxForms();The method above is the one at the current release of the document. [email protected] (npm) and [email protected] (PyPI) were generated from an earlier release, where this operation carried a different id, so it spells the method differently — regenerating the clients is what makes the two agree. SDKs →
curl https://api.hanzo.ai/v1/tax/forms \
-H "Authorization: Bearer $HANZO_API_KEY"MCP declares no tool for tax — tools/list on https://api.hanzo.ai/v1/mcp names the products it does reach. Use HTTP or an SDK.
How is this guide?