HIP-1338: Tax โ Informational Returns, Tax Profiles & Form 1099 Compliance. Status Final. Hanzo architectural specification.
Package tax (/v1/tax) governs how organizations and entities operating on Hanzo commerce rails exchange tax identification profiles (Form W-9, Form W-8BEN, Form W-8BEN-E), classify transactions, prepare informational returns (Form 1099-NEC, Form 1099-MISC), and generate electronic submission bundles for tax compliance.
This proposal specifies the dual payer/payee model, cryptographic sealing of Taxpayer Identification Numbers (TINs) via Hanzo KMS, and cross-organization grant protocols.
Autonomous agentic commerce, headless payments, and marketplace transactions generate complex reporting obligations across multiple jurisdictions. Companies transacting on Hanzo rails must furnish annual Copy B statements to payees and report payments to tax authorities.
Storing unencrypted TINs or relying on third-party SaaS tax processors introduces catastrophic data leakage risks. Furthermore, manual collection of W-9 forms creates operational friction that stalls agent transactions. A sovereign, self-contained tax subsystem is required to automate transaction classification, seal credentials under organization KMS master keys, and provide verifiable audit trails.
The key words MUST, MUST NOT, SHOULD, SHOULD NOT and MAY are to be interpreted as in RFC 2119.
Every organization formed on Hanzo functions in dual roles:
hanzoai/ledger, hanzoai/treasury), classifies reportable amounts, drafts 1099-NEC / 1099-MISC returns for payees exceeding annual thresholds, and exports the IRS IRIS transmission bundle.newSealer(deps.MasterKey)).| Method | Path | Description | |:---|:---|:---| | GET | /v1/tax/profile | Read the organization's active tax profile | | PUT | /v1/tax/profile | Update and certify tax profile (W-9 / W-8) | | POST | /v1/tax/grants | Grant counterparty permission to view tax profile | | DELETE | /v1/tax/grants/:grant_id | Revoke a counterparty's tax profile grant | | GET | /v1/tax/statements | List received 1099 Copy B statements | | GET | /v1/tax/1099s | List generated 1099 drafts for payees | | POST | /v1/tax/1099s/generate | Classify transactions and compile annual 1099 drafts | | POST | /v1/tax/1099s/:id/furnish | Finalize and deliver Copy B statement to payee | | GET | /v1/tax/export/irs | Export encrypted IRS transmission return bundle |