List inbox

Lists the Copy B statements furnished to the caller org — every 1099 a payer on Hanzo delivered to it electronically, corrected ones beside the ones they supersede.

GET /v1/tax/inbox

Addresshttps://api.hanzo.ai/v1/tax/inbox
MethodGET
Operationget_tax_inbox
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the Copy B statements furnished to the caller org — every 1099 a payer on Hanzo delivered to it electronically, corrected ones beside the ones they supersede. Any member may read it; nothing here can be changed or removed.

Request

1 field.

FieldInTypeRequiredDescription
yearqueryinteger—Year narrows the list to one tax year; absent lists every year.

Response

StatusBodyMeaning
200tax.statementListok
defaultproblem-detailsrefused

200 body — 46 fields.

FieldInTypeAlwaysDescription
databodytax.Statement[]—Data are the statements, oldest first.
data[].accountbodystring—Account is the account number the form prints.
data[].backupbodytax.Withholding—
data[].backup.dueCentsbodyinteger (int64)—DueCents is what 24% of the reported boxes comes to — what should have been withheld.
data[].backup.ratebodyinteger (int64)—Rate is the backup withholding rate, in percent: 24.
data[].backup.reasonbodystring—Reason says why, and which rule — or, when nothing is required, what the payer should still know.
data[].backup.requiredbodyboolean—Required is true when the payer holds no TIN for the payee — the IRC §3406(a)(1)(A) trigger these forms can know.
data[].boxesbodytax.Amount[]—Boxes are the figures.
data[].boxes[].boxbodystring—Box is the box number, e.g. "1a".
data[].boxes[].centsbodyinteger (int64)—Cents is the amount in cents.
data[].boxes[].labelbodystring—Label is the box's caption on the form.
data[].correctedbodyboolean—Corrected is true for a statement that corrects an earlier one.
data[].furnishedAtbodyinteger (int64)—FurnishedAt is when it was delivered, unix seconds.
data[].idbodystring—ID is the form id the payer issued it under.
data[].kindbodystring—Kind is 1099-NEC or 1099-MISC.
data[].payerbodytax.Party—
data[].payer.addressbodytax.Address—
data[].payer.address.citybodystring—City is the city or town.
data[].payer.address.countrybodystring—Country is ISO 3166-1 alpha-2; "US" when absent.
data[].payer.address.line1bodystring—Line1 is the number, street, and apartment or suite.
data[].payer.address.line2bodystring—Line2 continues the street address, when there is more of it.
data[].payer.address.statebodystring—State is the two-letter state or territory code.
data[].payer.address.zipbodystring—ZIP is five or nine digits.
data[].payer.businessNamebodystring—BusinessName is W-9 line 2, when there is one.
data[].payer.namebodystring—Name is W-9 line 1.
data[].payer.orgbodystring—Org is the Hanzo org.
data[].payer.phonebodystring—Phone is the payer's telephone number; a recipient has none on the form.
data[].payer.tinbodystring—TIN is masked here always.
data[].payer.tinTypebodystring—TINType is ssn or ein; empty when no TIN is held.
data[].recipientbodytax.Party—
data[].recipient.addressbodytax.Address—
data[].recipient.address.citybodystring—City is the city or town.
data[].recipient.address.countrybodystring—Country is ISO 3166-1 alpha-2; "US" when absent.
data[].recipient.address.line1bodystring—Line1 is the number, street, and apartment or suite.
data[].recipient.address.line2bodystring—Line2 continues the street address, when there is more of it.
data[].recipient.address.statebodystring—State is the two-letter state or territory code.
data[].recipient.address.zipbodystring—ZIP is five or nine digits.
data[].recipient.businessNamebodystring—BusinessName is W-9 line 2, when there is one.
data[].recipient.namebodystring—Name is W-9 line 1.
data[].recipient.orgbodystring—Org is the Hanzo org.
data[].recipient.phonebodystring—Phone is the payer's telephone number; a recipient has none on the form.
data[].recipient.tinbodystring—TIN is masked here always.
data[].recipient.tinTypebodystring—TINType is ssn or ein; empty when no TIN is held.
data[].supersededBybodystring—SupersededBy is the later statement that corrects this one.
data[].supersedesbodystring—Supersedes is the earlier statement this corrects.
data[].yearbodyinteger (int64)—Year is the calendar year of the payments.

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.getTaxInbox();
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_inbox()
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.TaxAPI.GetTaxInbox(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_inbox(&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).getTaxInbox();
curl https://api.hanzo.ai/v1/tax/inbox \
  -H "Authorization: Bearer $HANZO_API_KEY"

Tool tax, op get_tax_inbox — POST the JSON-RPC envelope to https://api.hanzo.ai/v1/mcp.

curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "tax",
         "arguments": {
           "op": "get_tax_inbox",
           "input": {}
         }
       }
     }'

Tax API · All Hanzo APIs · Interactive reference

Was this page useful?