TaxStreem Logo

Getting Started

TaxStreem API

TaxStreem is a tax automation API that connects to your product and handles compliance on your behalf. Authenticate once, then use our three core modules โ€” Flux, Prism, and Numens โ€” to file taxes, manage invoices, and classify transactions without building tax logic yourself.

Our developer-friendly API lets you embed TaxStreem's full compliance engine directly into your platform. Whether you're filing on behalf of your own business or orchestrating tax operations across multiple entities, TaxStreem gives you the flexibility to:

  • โ€ขSubmit VAT and WHT filings to tax authorities in real time or in bulk
  • โ€ขGenerate, route, and reconcile compliant invoices programmatically
  • โ€ขClassify transactions automatically and determine the correct tax treatment
  • โ€ขReceive filing and classification outcomes asynchronously via webhooks
  • โ€ขOperate across sandbox and live environments with a single API key prefix

Core Modules

Each module is a self-contained API surface. You can integrate them independently or together depending on your compliance requirements.

ModuleWhat it does
๐Ÿ” FluxTax filing engine for VAT and WHT. Accepts single or batch filings, validates against authority rules, and tracks submission status end-to-end.
๐Ÿงพ PrismInvoice management layer. Create compliant invoices, route them to the right recipients, and reconcile against payments and filings automatically.
๐Ÿ” NumensTransaction intelligence engine. Submit a transaction and Numens inspects its context โ€” counterparty, amount, and nature โ€” to determine whether VAT, WHT, or CIT applies. Supports single and batch inputs.

โš™๏ธ How Requests Work

Filing and intelligence operations are processed asynchronously. When you submit a request, TaxStreem returns a 202 Accepted immediately โ€” the actual result is delivered to your configured webhook endpoint once processing completes.

This design prevents timeout failures on bulk submissions and ensures your integration stays non-blocking regardless of filing volume. Events like vat.filing.success and transaction.classified are broadcast securely to your endpoint as they resolve.

๐Ÿ” Authentication & Encryption

All requests are authenticated via your x-api-key header. For requests that involve sensitive authority credentials, TaxStreem expects an encrypted payload rather than raw values.

โœ…Wrap sensitive values using AES-256-GCM with your organization's shared secret to produce the encryptedPayload field.
โœ…Pass your entity's Tax Identification Number (TIN) exactly as issued โ€” no formatting, no truncation.

๐Ÿฆ Environments

The environment is determined entirely by your API key prefix โ€” there are no separate base URLs to configure.

test_Routes to the sandbox. No data is written to live tax authority systems. Use this throughout development and QA.
live_Routes to production. Submissions are live and irreversible. Only use once your integration is fully tested.

๐Ÿ“Œ Good to know

โ€ขEvery filing and classification operation returns a unique id you can use for idempotency checks and audit trails.
โ€ขRate limit responses return 429 with a Retry-After header indicating when you can resume.
โ€ขWebhook delivery is retried with exponential backoff on failed responses. Ensure your endpoint returns 200 promptly to acknowledge receipt.

Explore the Modules

API Changelog

v1.0.1b

New Webhook Events

Added support for subscription.cancelled and invoice.paid webhook events.

2 days ago
v1.0.1a

Batch Filing Improvements

Increased batch filing limit from 50 to 100 records per request. Improved error messages for malformed TIN values.

5 days ago
v1.0.0

Initial Release

Flux (VAT/WHT), Prism (Invoicing), and Numens (Transaction Intelligence) now available.

1 week ago