Complete reference for AgentTax API request/response schemas, transaction types, and data models. Everything an AI agent needs to integrate.
Step through the complete transaction flow — from agent request to tax calculation to payment settlement.
When your AI agent sells services, AgentTax calculates and routes the correct sales tax before settlement.
An external AI agent sends a purchase request to your seller agent's endpoint — product, amount, and buyer jurisdiction. Your agent responds with availability, pricing, and terms.
AgentTax is software, not a payment processor. Funds always flow through your existing payment rails (Stripe, bank transfers, smart contracts). AgentTax calculates obligations and instructs routing — it never holds, transfers, or escrows money.
AgentTax classifies AI-to-AI transactions into 6 types. Each maps to a tax category that determines taxability per state.
digital_servicePOST /api/v1/calculate — the core endpoint. Send one of these for every AI-to-AI transaction.
rolestringREQMust be "seller" or "buyer". Determines which tax obligations are returned.amountnumberREQTransaction amount in USD. Must be positive.buyer_statestringREQTwo-letter US state code of the buyer's jurisdiction (e.g. "TX", "CA"). Determines applicable tax rates.transaction_typestringREQOne of: compute, api_access, data_purchase, saas, ai_labor, storagecounterparty_idstringREQUnique identifier for the other party. Used for 1099 tracking and network profile lookup.X-API-Key: your_key header, or omit for demo mode (rate limited).Select a transaction type above and toggle seller/buyer to see exactly what the API returns.
When role = 'seller', the response focuses on sales tax collection obligations.
sales_taxobjectThe sales tax calculation result .jurisdictionstringState name (e.g. 'Texas') .statestringTwo-letter state code .ratenumberApplied tax rate (e.g. 0.0625) .amountnumberTax amount in USD .typestring'Digital Services Tax', 'Sales Tax', 'No Collection Obligation', or 'Exempt' .reasonstringHuman-readable explanationexemptionobject|nullIf exempt: type (no_nexus, buyer_certificate, digital_exempt), state, certificate inforoutingarrayPayment split instructions — where to route tax amounts [].typestring'sales_tax' [].amountnumberAmount to route [].destinationstringReserve account label (e.g. 'TX_tax_reserve')total_taxnumberTotal tax across all jurisdictionsWhen role = 'buyer', the response covers use tax, seller verification, and 1099 tracking.
seller_remittingobjectWhether the seller collected and is remitting sales tax .statusstring'collected' or 'not_collected' .sourcestring'network_verified' or 'self_reported' .detailstringExplanationuse_taxobjectUse tax obligation (if seller didn't collect) .jurisdictionstringState name .ratenumberUse tax rate .amountnumberUse tax amount owed .reasonstringExplanationtracking_1099objectIRS 1099-NEC threshold tracking .vendor_ytd_totalnumberCumulative payments to this vendor YTD .thresholdnumber$600 federal threshold .threshold_exceededbooleanTrue if cumulative > $600 .form_requiredstring|null'1099-NEC' if threshold exceeded, null otherwiseroutingarrayPayment routing — where to send use tax amountstotal_taxnumberTotal use tax owedThree ways a transaction can result in zero tax.
no_nexusSeller has no nexus (physical presence or economic threshold) in the buyer's state. No obligation to collect.
buyer_certificateBuyer has a valid exemption certificate on file — resale cert, nonprofit, government entity.
digital_exemptThe buyer's state does not tax digital services or SaaS. Transaction type matters.
Beyond /calculate — the full AgentTax API surface.
/api/v1/ratesAll tax rates with sourcing metadata. No auth required.PUBLIC/api/v1/rates?state=TXSingle state rate lookup with SaaS taxability note.PUBLIC/api/v1/verifySubmit independently researched rates for comparison. AI verification.PUBLIC/api/v1/providersActive rate provider, configuration status, upgrade path.PUBLIC/api/v1/transactionsTransaction history with summary stats.AUTH/api/v1/nexusRegister nexus in one or more states.AUTH/api/v1/nexusGet current nexus configuration.AUTH/api/v1/networkRegister or update AgentTax Network profile.AUTH/api/v1/network?id=agent_xyzLook up counterparty network profiles.AUTH/api/v1/healthHealth check and endpoint directory.PUBLICHow AgentTax structures data internally.
Tax rates verified daily against Tax Foundation, Sales Tax Institute, state DOR websites, Anrok, TaxJar, TaxCloud, and Kintsugi · State-level rates only — local rates not included · © 2026 Agentic Tax Solutions
© 2026 Agentic Tax Solutions LLC. Tax rates verified daily against Tax Foundation, Sales Tax Institute, state DOR websites, Anrok, TaxJar, TaxCloud, and Kintsugi. AgentTax provides tax calculations for informational purposes only. Consult a qualified tax professional for compliance decisions.