Sample on example input
Crypto Treasury, OFAC SDN & IRS Schedule C Composite Suite
Composite 6-check crypto compliance & tax audit chaining OFAC batch screening, Schedule C row lint, Form 1099-DA reconciliation, FIFO/HIFO cost basis, and quarterly safe harbor.
What you get
- Executive grade C, posture score 67/100 on this example input
- 6 sub-check results; failed on this example:
retention_schedule- Prioritized remediation checklist and disclaimer
Example input
{
"amount_usdc": "0.01",
"tax_ledger_retention_years": "1"
}
Parameters this suite reads
All parameters this suite reads. Pass your real values as query or JSON parameters; omitted ones use defaults. The suite evaluates the values you pass; it does not crawl or scan live URLs.
addresses, tx_hash, payer_wallet, amount_usdc, is_house, gross_onchain_usdc, house_self_test_usdc, facilitator_fees_usdc, lot1_cost_usd, lot2_cost_usd, sale_proceeds_usd, projected_net_schedule_c_usd, prior_year_total_tax_usd, ip_log_retention_days, tax_ledger_retention_years
How to call it (0.05 USDC)
x402: Returns HTTP 402 with a base64 PAYMENT-REQUIRED header (x402 v2, USDC on Base, eip155:8453). Use any x402 v2 client (it signs an EIP-3009 authorization and retries with PAYMENT-SIGNATURE). Fallback: send the USDC yourself, then retry with header X-PAYMENT-TX: <tx hash>.
curl -i 'https://bot-bazaar.fly.dev/v1/x402/suite/crypto-tax-and-compliance?amount_usdc=0.01&tax_ledger_retention_years=1'
Prepaid key:
curl -s -H 'X-Bazaar-Key: bz_live_YOUR_KEY' 'https://bot-bazaar.fly.dev/v1/x402/suite/crypto-tax-and-compliance?amount_usdc=0.01&tax_ledger_retention_years=1'
MCP (streamable HTTP, tool suite_crypto_tax_and_compliance):
curl -s https://bot-bazaar.fly.dev/mcp -H 'content-type: application/json' -H 'X-Bazaar-Key: bz_live_YOUR_KEY' -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "suite_crypto_tax_and_compliance", "arguments": {"amount_usdc": "0.01", "tax_ledger_retention_years": "1"}}}'OpenAI-compatible (0.01 USDC per chat call)
The chat-completions router picks the suite from keywords in the prompt and is billed at the chat-completions price.
curl -s https://bot-bazaar.fly.dev/v1/x402/chat/completions -H 'content-type: application/json' -H 'Authorization: Bearer bz_live_YOUR_KEY' -d '{"model": "bazaar-suite-pro-v1", "messages": [{"role": "user", "content": "Run the crypto tax and compliance suite"}], "amount_usdc": "0.01", "tax_ledger_retention_years": "1"}'
Full sample report (JSON)
{
"suite": "crypto-tax-and-compliance",
"tool": "suite/crypto-tax-and-compliance",
"title": "Crypto Treasury, OFAC SDN & IRS Schedule C / 1099-DA Audit Suite",
"valid": true,
"composite_risk_score": 33,
"composite_posture_score": 67,
"executive_grade": "C",
"sub_check_count": 6,
"sub_checks": {
"ofac_batch_screen": {
"screened_count": 2,
"any_sanctioned": false,
"ofac_screen": {
"status": "no_match",
"matches": [],
"screened": [
"0x6e007731870ede419cfb31889cd5c4493cecb04c",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
],
"list_size": 123,
"list_fetched_at": 1793498250,
"source": "OFAC SDN 'Digital Currency Address - ETH' entries via github.com/0xB10C/ofac-sanctioned-digital-currency-addresses (daily)",
"note": "Address screen only (SDN digital-currency addresses). Not legal advice; no match is not clearance. Official search: https://sanctionssearch.ofac.treas.gov/"
}
},
"schedule_c_row": {
"valid": true,
"tx_hash": "0xccbd25b3cfdea581f04a207f1bd7ed36c121f92a4768eba6428eff7d8487bf4d",
"payer_wallet": "0x9d3d9410be95fa1d230734b961997427fc61d837",
"amount_usdc": "0.01",
"is_house": 0,
"tax_treatment": "gross_receipts_schedule_c",
"net_taxable_usdc": "0.010000",
"checks": {
"valid_tx_hash": true,
"valid_payer_wallet": true,
"positive_usdc_amount": true,
"house_wash_excluded_from_taxable": true
}
},
"form_1099da_reconcile": {
"valid": true,
"gross_onchain_usdc": 1.318,
"house_self_test_excluded_usdc": 0.991,
"net_schedule_c_gross_receipts_usdc": 0.327
},
"lot_cost_basis": {
"valid": true,
"sale_proceeds_usd": 3100.0,
"fifo_realized_gain_usd": 900.0,
"lifo_realized_gain_usd": 300.0,
"hifo_realized_gain_usd": 300.0,
"tax_optimal_method": "HIFO"
},
"quarterly_estimated_tax": {
"valid": true,
"estimated_self_employment_tax_usd": 11303.64,
"safe_harbor_annual_usd": 14000.0,
"quarterly_installment_usd": 3500.0
},
"retention_schedule": {
"valid": true,
"compliant": false,
"ip_log_retention_days": 90,
"tax_ledger_retention_years": 1,
"checks": {
"gdpr_ip_minimization_lte_90d": true,
"irs_tax_record_retention_gte_7y": false
}
}
},
"passed_sub_checks": [
"ofac_batch_screen",
"schedule_c_row"
],
"failed_sub_checks": [
"retention_schedule"
],
"informational_sub_checks": [
"form_1099da_reconcile",
"lot_cost_basis",
"quarterly_estimated_tax"
],
"prioritized_remediation_checklist": [
"Screen every counterparty wallet against the OFAC SDN list before settling EIP-3009 authorizations.",
"Separate house/self-test wash transfers (is_house=1, net_taxable_usdc=0) from outside gross receipts (is_house=0) on Schedule C.",
"Retain immutable tx_hash + UTC/PT timestamp ledgers for at least 7 years."
],
"remediation_note": "General hardening checklist for this suite; failed_sub_checks lists the findings specific to the input you passed.",
"input_note": "This suite evaluates the configuration values passed as query or JSON parameters; it does not crawl or scan live URLs. Omitted parameters fall back to the documented defaults.",
"disclaimer": "Automated composite analytical & schema audit only \u2014 not legal advice, not financial or investment advice, not tax advice, and not a formal third-party security certification.",
"generated_at": 1793508476
}