# Tax-Anything — Deterministic 5-Domain Cross-Border Tax & E-Invoice Engine > Deterministic, pure-Decimal 5-domain tax calculation and Peppol BIS 3.0 UBL 2.1 XML validation engine at https://tax.fastmesh.dev exposing US 50-state + DC Economic Nexus, EU-27 VAT OSS & Reverse Charge, Peppol UBL XML validation, HS Tariff Landed Cost & De Minimis, and Bilateral WHT & DST over HTTP REST, concurrent batch (`POST /calculate/batch`), native Streamable MCP (`POST /mcp`), Causal Bazaar (`c03_tax_anything_v1`), and `treg hub` (0% seller commission). Every response emits a tamper-evident SHA-256 `TaxReceipt` with strict `$0` billing on HTTP `422` invalid inputs, XXE/malformed XML, or errors. ## Disclaimer, Core Guarantees & Trust Policy - **Non-CPA Software Disclaimer**: Tax-Anything provides deterministic tax calculation and e-invoice format validation software tooling only. It is not a licensed CPA firm, not a licensed customs broker, and does not provide formal tax, accounting, or legal advice. - **Pure Decimal Arithmetic (Zero Float Drift)**: All calculations use Python `decimal.Decimal` (`ROUND_HALF_UP`) and serialize exact string decimals; Peppol UBL `LegalMonetaryTotal` balance checks enforce `<= 0.01` tolerance. - **Strict `$0` Billing on HTTP 422 / Miss / Error**: Invalid payloads, negative amounts, unsupported jurisdictions, sentinel strings, or DOCTYPE/XXE XML strictly return HTTP `422` with `billed_micros = 0` and `zero_bill_reason = "invalid_input_422"`. - **Cross-Tenant 7d-30d Adaptive Archive Cache & 10% Recheck Tier**: Deterministic results enter a SQLite WAL archive cache (7d initial TTL expanding 1.5x up to 30d). Same-tenant rechecks (`recheck=true`) bill 10% of base domain price; new-tenant cache hits bill 100%. - **Zero Customer Data Resale**: Customer tax payloads, order CSVs, VAT IDs, and UBL invoices are never sold, licensed, or reused to train third-party models. - **Support**: `ops@fastmesh.dev` ## Endpoints & Agent Discovery - [Web Console & 5-Second Try-Now](https://tax.fastmesh.dev/): Zero-signup interactive console with 1-click presets for all 5 tax domains. - [Health Check](https://tax.fastmesh.dev/health): Live service health and active domain readiness (`GET /health`). - [Single Tax Calculation Endpoint](https://tax.fastmesh.dev/calculate): Polymorphic 5-domain calculation returning a signed `TaxReceipt` (`POST /calculate`). - [Batch Waterfall Endpoint](https://tax.fastmesh.dev/calculate/batch): Concurrent heterogeneous CSV/JSON batch calculation with hard `max_budget_micros` spend lock (`POST /calculate/batch`). - [Receipt Archive Lookup](https://tax.fastmesh.dev/receipt/{receipt_id}): Retrieve and verify stored tamper-evident `TaxReceipt` by ID (`GET /receipt/{receipt_id}`). - [Native Streamable MCP Endpoint](https://tax.fastmesh.dev/mcp): JSON-RPC 2.0 MCP server (`initialize`, `tools/list`, `tools/call`: `tax_calculate`, `tax_calculate_batch`, `tax_verify_receipt`). - [OpenAPI 3.1.0 Specification](https://tax.fastmesh.dev/openapi.json): Complete machine-readable REST + MCP schema. - [Agent Skill Playbook](https://tax.fastmesh.dev/skill.md): Concrete agent invocation rules, domain payloads, and offline SHA-256 `verify_receipt()` code. - [Creem Payment Webhook](https://tax.fastmesh.dev/webhooks/creem): HMAC-SHA256 verified idempotent prepaid credit top-up handler. ## 5 Polymorphic Tax & E-Invoice Domains & Micro-USD Pricing - **`us_nexus`** (US 50-State + DC Economic Nexus Threshold Engine): `$0.030` (`30000` micros) per call; `$0.0030` (`3000` micros) 10% same-tenant recheck — Deterministic 2026 US economic nexus monitoring across all 50 states and DC (sales-only, OR 200 txns, NY AND 100 txns, NOMAD exempt) with CSV/JSON order table ingestion. - **`eu_vat_oss`** (EU-27 VAT OSS & Reverse Charge Engine): `$0.040` (`40000` micros) per call; `$0.0040` (`4000` micros) 10% same-tenant recheck — Deterministic 2026 EU-27 standard and reduced VAT rate determination, OSS EUR 10,000 threshold check, national VAT ID regex + checksum verification, and Article 196 / Article 44 reverse-charge legend generation. - **`ubl_peppol`** (Peppol BIS Billing 3.0 / UBL 2.1 XML Validator): `$0.035` (`35000` micros) per call; `$0.0035` (`3500` micros) 10% same-tenant recheck — Strict XML e-invoice validation (XXE/DOCTYPE rejection, CustomizationID, ProfileID, EndpointID + schemeID, Decimal line-item math, TaxTotal, and <= 0.01 LegalMonetaryTotal balance verification). - **`hs_landed_cost`** (Cross-Border HS Tariff & Landed Cost Calculator): `$0.050` (`50000` micros) per call; `$0.0050` (`5000` micros) 10% same-tenant recheck — Deterministic customs duty, import VAT/GST, MPF/handling fee, CIF vs FOB valuation, De Minimis thresholds (US, EU-27, UK, JP, CA, AU), and US Section 301 / Section 321 awareness. - **`wht_dst`** (Bilateral WHT Treaty & DST Threshold Engine): `$0.045` (`45000` micros) per call; `$0.0045` (`4500` micros) 10% same-tenant recheck — Cross-border withholding tax calculation across 14 treaty jurisdictions (US, IE, UK, DE, FR, NL, SG, JP, CA, AU, IN, CN, BR, KR), statutory vs treaty delta, W-8BEN-E document checklist, and DST threshold flags. ## Tamper-Evident SHA-256 TaxReceipt Verification - Every response includes `receipt_id`, `domain`, `target`, `verdict` (`VERIFIED` | `FAILED` | `INCONCLUSIVE`), `confidence`, `disclaimer`, `evidence_sources[]`, `checks[]`, `payload_sha256`, `sha256_attestation`, `billed_micros`, `base_price_micros`, `cache_hit`, `cache_tier`, `confirm_dual_source`, `timestamp_utc`, `zero_bill_reason`, and `details`. - Verify offline with zero network calls: remove `sha256_attestation`, serialize remaining fields with `json.dumps(..., sort_keys=True, separators=(',', ':'), ensure_ascii=False)`, compute SHA-256 hex digest, and compare constant-time against `sha256_attestation`. - Or invoke MCP tool `tax_verify_receipt` at `https://tax.fastmesh.dev/mcp`. ## Creem Prepaid Credit Packs (Non-Expiring, One-Time) - **Starter (`$9`)**: `sku_tax_starter_9` — $9.00 credit value (`9,000,000` micros) — https://www.creem.io/product/prod_tax_anything_starter_9 - **Pro (Recommended) (`$29`)**: `sku_tax_pro_29` — +20% bonus, $34.80 credit value (`34,800,000` micros) — https://www.creem.io/product/prod_tax_anything_pro_29 - **Scale (`$99`)**: `sku_tax_scale_99` — +30% bonus, $128.70 credit value (`128,700,000` micros) — https://www.creem.io/product/prod_tax_anything_scale_99 - **Enterprise (`$299`)**: `sku_tax_enterprise_299` — +40% bonus, $418.60 credit value (`418,600,000` micros) — https://www.creem.io/product/prod_tax_anything_enterprise_299 ## Multi-Channel Distribution - **Causal Bazaar Public Card**: `c03_tax_anything_v1` (`hand_id: c03_tax_anything_hand_v1`, `is_public=1`, `price_micros=40000`, runner `run_hand.py`). - **Treg Hub 0%-Commission Recipe**: `tax-anything` (`treg_hub/recipe.json`, `treg_hub/run.js`, `treg_hub/check.json`, `commission_pct=0`, strict `$0` on HTTP 422/miss/error). ## Technical Tax & E-Invoice Guides (30 Pages) - [US Economic Nexus Threshold Checker API for All 50 States & DC (2026 Rules)](https://tax.fastmesh.dev/guides/us-economic-nexus-threshold-checker-api-50-states-2026): `us_nexus` — Target query: `US economic nexus threshold checker API 2026` (1402 words). - [Illinois & Kentucky 200-Transaction Nexus Repeal Calculator (2026 Sales-Only Rules)](https://tax.fastmesh.dev/guides/illinois-kentucky-200-transaction-nexus-repeal-2026-calculator): `us_nexus` — Target query: `states that dropped 200 transaction nexus threshold 2026` (1347 words). - [New York $500,000 AND 100 Transactions Conjunctive Nexus Calculator API](https://tax.fastmesh.dev/guides/new-york-500k-and-100-transactions-nexus-api): `us_nexus` — Target query: `New York 500000 and 100 transactions sales tax nexus API` (1335 words). - [Upload Order CSV to Check US Economic Nexus Across 51 Jurisdictions](https://tax.fastmesh.dev/guides/csv-order-table-us-sales-tax-nexus-screener): `us_nexus` — Target query: `US sales tax nexus CSV batch screener API` (1365 words). - [Avalara Alternative Without $79/State/Month Annual Contracts](https://tax.fastmesh.dev/guides/avalara-select-79-per-state-alternative-api): `us_nexus` — Target query: `Avalara alternative no annual contract API` (1325 words). - [TaxJar Alternative After the 2025-2026 Starter & AutoFile Price Hikes](https://tax.fastmesh.dev/guides/taxjar-price-hike-alternative-prepaid-nexus-api): `us_nexus` — Target query: `TaxJar alternative no monthly subscription` (1336 words). - [EU B2B VAT Reverse Charge API (Directive 2006/112/EC Art. 196 & Art. 44)](https://tax.fastmesh.dev/guides/eu-vat-reverse-charge-article-196-44-api): `eu_vat_oss` — Target query: `EU VAT reverse charge Article 196 API` (1395 words). - [EU-27 VAT Number Regex & Algorithmic Checksum Validation API](https://tax.fastmesh.dev/guides/eu-vat-id-checksum-validation-all-27-countries-api): `eu_vat_oss` — Target query: `EU VAT ID checksum validation API 27 countries` (1358 words). - [EU OSS EUR 10,000 Threshold & 2026 Destination VAT Rate Calculator API](https://tax.fastmesh.dev/guides/eu-oss-10000-eur-threshold-b2c-vat-calculator-api): `eu_vat_oss` — Target query: `EU VAT OSS 10000 EUR threshold calculator API 2026` (1319 words). - [Stripe Tax Alternative: Avoid $0.50/Txn API & 0.5% Gross Revenue Tolls](https://tax.fastmesh.dev/guides/stripe-tax-050-api-alternative-eu-vat-us-nexus): `eu_vat_oss` — Target query: `Stripe Tax alternative cheaper than 0.50 per transaction` (1341 words). - [Quaderno & Fonoa Alternative With Prepaid Non-Expiring Credits & MCP](https://tax.fastmesh.dev/guides/quaderno-fonoa-alternative-prepaid-vat-mcp-api): `eu_vat_oss` — Target query: `Quaderno Fonoa alternative prepaid VAT API` (1306 words). - [Peppol BIS Billing 3.0 & UBL 2.1 XML E-Invoice Validator API ($0.035/Call)](https://tax.fastmesh.dev/guides/peppol-bis-billing-3-ubl-2-1-xml-validator-api): `ubl_peppol` — Target query: `Peppol BIS Billing 3.0 XML validator API` (1374 words). - [Check UBL 2.1 Invoice Line Math & 0.01 LegalMonetaryTotal Balance Tolerance](https://tax.fastmesh.dev/guides/ubl-invoice-rounding-001-balance-tolerance-checker): `ubl_peppol` — Target query: `Peppol UBL 0.01 balance tolerance validator` (1320 words). - [Verify Peppol EndpointID @schemeID, CustomizationID & ProfileID Before Dispatch](https://tax.fastmesh.dev/guides/peppol-endpointid-schemeid-customizationid-checker-api): `ubl_peppol` — Target query: `Peppol EndpointID schemeID CustomizationID validator` (1321 words). - [XXE-Safe UBL E-Invoice XML Parser & Validator for Multi-Tenant SaaS](https://tax.fastmesh.dev/guides/xxe-safe-ubl-xml-e-invoice-validation-api): `ubl_peppol` — Target query: `XXE safe UBL XML invoice validator API` (1342 words). - [MCP Tool to Validate Peppol BIS 3.0 UBL Invoices for AI Accounting Agents](https://tax.fastmesh.dev/guides/mcp-tool-validate-peppol-ubl-invoices-ai-agents): `ubl_peppol` — Target query: `MCP tool Peppol UBL invoice validator AI agents` (1333 words). - [Cross-Border HS Tariff & Landed Cost Calculator API (US, EU, UK, JP, CA, AU)](https://tax.fastmesh.dev/guides/cross-border-hs-tariff-landed-cost-calculator-api): `hs_landed_cost` — Target query: `cross border HS tariff landed cost API` (1364 words). - [US Section 301 China Tariff & Section 321 Suspension Landed Cost API (2026)](https://tax.fastmesh.dev/guides/us-section-301-china-tariff-section-321-suspension-calculator): `hs_landed_cost` — Target query: `US Section 301 China tariff landed cost API 2026` (1405 words). - [EU Low-Value Consignment Duty & IOSS Import VAT Calculator API (2026 Rules)](https://tax.fastmesh.dev/guides/eu-150-eur-de-minimis-abolition-ioss-vat-calculator-api): `hs_landed_cost` — Target query: `EU IOSS import VAT and customs duty calculator API 2026` (1412 words). - [CIF vs FOB Customs Valuation Converter & Landed Cost Breakdown API](https://tax.fastmesh.dev/guides/cif-vs-fob-customs-valuation-converter-landed-cost-api): `hs_landed_cost` — Target query: `CIF vs FOB customs valuation landed cost API` (1400 words). - [UK (£135), Japan (¥10,000), Canada (CAD 20/CUSMA) & Australia (AUD 1,000) De Minimis API](https://tax.fastmesh.dev/guides/uk-jp-ca-au-de-minimis-customs-threshold-api): `hs_landed_cost` — Target query: `UK Japan Canada Australia de minimis threshold API` (1396 words). - [Cross-Border Withholding Tax (WHT) Treaty Calculator API (14 Countries)](https://tax.fastmesh.dev/guides/bilateral-withholding-tax-treaty-rate-calculator-api): `wht_dst` — Target query: `withholding tax treaty rate calculator API` (1342 words). - [Form W-8BEN-E & Treaty Documentation Checklist API for SaaS & IP Royalties](https://tax.fastmesh.dev/guides/w8ben-e-withholding-tax-documentation-checker-api): `wht_dst` — Target query: `W-8BEN-E withholding tax treaty documentation API` (1329 words). - [US-India WHT Calculator: Software Royalty & Make-Available Technical Services (15%)](https://tax.fastmesh.dev/guides/us-india-fees-for-included-services-make-available-wht-api): `wht_dst` — Target query: `US India withholding tax technical services software API` (1328 words). - [2026 Digital Services Tax (DST) Threshold Checker: FR, UK, IT, ES, AT & CA Repeal](https://tax.fastmesh.dev/guides/digital-services-tax-dst-threshold-checker-fr-uk-it-es-at-ca): `wht_dst` — Target query: `Digital Services Tax DST threshold checker API 2026` (1378 words). - [Vertex Alternative for Mid-Market SaaS & AI Agents (Zero $60k+/Yr Lock-In)](https://tax.fastmesh.dev/guides/vertex-o-series-alternative-lightweight-tax-api): `us_nexus` — Target query: `Vertex tax software alternative API no enterprise contract` (1309 words). - [Zero-Float-Drift Deterministic Tax Calculation API With SHA-256 Receipts](https://tax.fastmesh.dev/guides/decimal-zero-float-drift-tax-calculation-api): `ubl_peppol` — Target query: `deterministic Decimal tax calculation API SHA-256 receipt` (1278 words). - [Zero-Data-Resale Tax & E-Invoice API Built for Enterprise AI Agents](https://tax.fastmesh.dev/guides/zero-data-resale-privacy-first-tax-api-for-ai-agents): `wht_dst` — Target query: `zero data resale tax calculation API AI agents` (1307 words). - [Batch CSV Tax & Nexus Calculation API With Hard Micro-USD Budget Ceiling](https://tax.fastmesh.dev/guides/batch-csv-tax-calculation-api-with-hard-budget-cap): `us_nexus` — Target query: `batch CSV tax API with max budget cap` (1368 words). - [All-in-One Tax MCP Server: US Nexus, EU VAT, Peppol UBL, HS Duties & WHT](https://tax.fastmesh.dev/guides/all-in-one-tax-mcp-server-us-eu-peppol-hs-wht): `hs_landed_cost` — Target query: `all in one tax calculation MCP server` (1337 words).