List filings

Lists the caller org's IRS return exports and where each stands, without their files.

GET /v1/tax/filings

Addresshttps://api.hanzo.ai/v1/tax/filings
MethodGET
Operationget_tax_filings
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the caller org's IRS return exports and where each stands, without their files. Org admins only.

Request

GET /v1/tax/filings takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200tax.filingListok
defaultproblem-detailsrefused

200 body — 20 fields.

FieldInTypeAlwaysDescription
databodytax.Filing[]—Data are the filings, oldest first, without their files.
data[].createdAtbodyinteger (int64)—CreatedAt is when it was exported, unix seconds.
data[].duebodystring—Due is when the return is due to the IRS.
data[].formsbodystring[]—Forms are the form ids the filing carries.
data[].idbodystring—ID is the filing's id, "iris_"-prefixed.
data[].kindbodystring—Kind is 1099-NEC or 1099-MISC — one per filing, as IRIS takes them.
data[].layoutbodystring—Layout says what the files are.
data[].missingTinbodystring[]—MissingTIN are forms filed with no recipient TIN.
data[].partsbodytax.Part[]—Parts are its files.
data[].parts[].csvbodystring—CSV is the file itself.
data[].parts[].digestbodystring—Digest is the SHA-256 of its bytes, hex, so a re-read proves it is the same file.
data[].parts[].namebodystring—Name is the file name, e.g. "1099-NEC-2026-original-1.csv".
data[].parts[].recordsbodyinteger (int64)—Records is how many forms it holds, at most 250.
data[].parts[].typebodystring—Type is original or correction: the portal takes them apart.
data[].receiptIdbodystring—ReceiptID is the Receipt ID IRIS returned, once the payer recorded one.
data[].statusbodystring—Status is exported, submitted, accepted, accepted_with_errors or rejected.
data[].stepsbodystring[]—Steps are what remains for the payer to do, in order.
data[].tccbodystring—TCC is the payer's IRIS Transmitter Control Code, once it recorded a submission.
data[].updatedAtbodyinteger (int64)—UpdatedAt is when its status last moved, unix seconds.
data[].yearbodyinteger (int64)—Year is the tax year.

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

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

MCP reaches tax through the tax tool, which names its 26 operations with its own verbs — this one among them, under a name only MCP declares. describe explains any of them:

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

Tax API · All Hanzo APIs · Interactive reference

Was this page useful?