← Back to DeterminedAI Blog
DETERMINEDAI

Architecture Overview &
Tax Determination Methodology

How AI-native tax classification replaces legacy rule engines with intelligent, auditable, ERP-ready VAT/GST determination.

Technical White Paper — April 2026 — v1.0

Section 01

Executive Summary

Cross-border VAT/GST compliance is one of the most complex problems in financial operations. With over 100 jurisdictions, each enforcing distinct rules for how goods and services are classified and taxed, businesses face an impossible matrix of tax codes, place-of-supply rules, reverse-charge mechanisms, and filing obligations. Nowhere is this sharper than for US-based SaaS companies selling into the EU, where a single digital service sale to a French consumer can trigger an immediate VAT registration obligation and quarterly filing cycle.

DeterminedAI is purpose-built for US SaaS businesses operating across borders. We guide EU VAT OSS Non-Union registration with Irish Revenue end-to-end, determine the correct VAT treatment on every transaction, and once registered, take over quarterly OSS return filing via the customer's ROS Digital Certificate.

Legacy tax engines — Avalara, Vertex, Thomson Reuters — solve this with static rule tables maintained by teams of tax analysts. Every product must be manually mapped to a proprietary tax code. New jurisdictions require additional rule authoring. Edge cases often require vendor involvement to resolve.

DeterminedAI takes a fundamentally different approach. By placing Anthropic's Claude at the center of the classification pipeline, we replace manual tax code mapping with AI-powered transaction characterization. A natural-language transaction description goes in; an auditable, ERP-ready tax determination comes out.

The result: faster onboarding (transaction classification in a fraction of the time compared to weeks of manual tax code mapping), broader jurisdiction coverage (103 countries at launch), and a classification system that understands context — not just keywords. Beyond determination, DeterminedAI now provides end-to-end EU VAT OSS compliance for non-EU businesses — guided Non-Union OSS registration with Irish Revenue and automated quarterly return filing once registered.

Section 02

The Problem with Legacy Tax Engines

Manual classification at scale is unsustainable

Traditional engines require every product or service to be mapped to a vendor-specific tax code before any determination can occur. Avalara's system uses thousands of AvaTax tax codes. Vertex has its own taxonomy. These codes are proprietary, non-portable, and require expert knowledge to assign correctly.

For a company selling 500 digital products across 25 EU countries, this means a significant upfront mapping effort: understanding each vendor's taxonomy, assigning the right codes for each product, and maintaining those assignments as both your product line and the regulations evolve.

Rule engines don't understand what you sell

A rule engine matches inputs to outputs. It doesn't understand that "a downloadable PDF training course on AWS architecture" is an education service in the EU (reduced VAT) but an electronically supplied service in other contexts. It only knows what tax code a human assigned. If the assignment is wrong, every determination for that product is wrong — silently.

The maintenance burden compounds

VAT rules change constantly. The EU's ViDA (VAT in the Digital Age) initiative, OECD guidelines on digital services, and country-specific reforms (e.g., Saudi Arabia's e-invoicing mandate, Nigeria's VAT scope expansion) all require rule updates. While large vendors like Avalara and Vertex maintain dedicated tax content teams, the burden of mapping your products to their codes remains on you — and that mapping must be revisited whenever rules or your products change.

Section 03

System Architecture

DeterminedAI is built as a modular pipeline where each stage has a single responsibility. The system is designed so that AI handles what AI does best (understanding transaction descriptions) while deterministic engines handle what must be exact (rate lookup, place-of-supply rules, ERP code mapping).

Request Flow: ERP / API Client | v API Gateway — Authentication (JWT / API Key) — Rate Limiting | v 1. Transaction Catalog Lookup — Check if product_code has a pre-approved classification | cache hit? — Yes → skip to step 3 | No ↓ 2. AI Characterization — Claude classifies description → supply_type + confidence | v 3. Place of Supply — Deterministic engine applies VAT Directive / local rules | v 4. Rate Lookup — Jurisdiction + supply_type + treatment → applicable rate | v 5. ERP Mapping — Translate to ERP-native tax code (NetSuite, Xero, SAP, etc.) | v 6. Response — Supply type, rate, tax amount, ERP code, audit trail

This separation means the AI is never making tax rate decisions. It classifies what something is. Deterministic engines decide how it's taxed. This is a critical architectural choice: tax rates must be exact and auditable, while transaction understanding requires intelligence and context.

Section 04

AI-Powered Transaction Characterization

The core innovation of DeterminedAI is using Anthropic's Claude to classify transactions into VAT/GST supply types based on their description and full context (countries, B2B/B2C, direction). This is not a generic text classifier — it is a purpose-built tax characterization system with domain-specific prompting, structured output, and human-in-the-loop review.

Why Claude?

Tax classification requires genuine understanding of what a product or service is and how it is delivered. A keyword matcher might see "software" and assign a digital services code. But Claude understands the difference between:

These distinctions directly affect which VAT rate applies, where tax is due, and whether reverse charge applies. Getting them wrong means either overcharging customers or underreporting tax — both carry real financial and legal consequences.

The 25 supply types

Claude classifies every transaction into one of 25 supply types organized across seven categories. This taxonomy maps directly to how VAT/GST legislation categorizes economic activity, ensuring precise treatment for every type of supply:

Category Supply Types Tax Significance
Digital & Technology Electronically Supplied Service, Telecommunications, Broadcasting, Software License EU Art. 58 B2C rules; TBE place-of-supply; customer-location taxation
Professional & Advisory Consulting, Legal Services, Accounting & Tax, Advertising, Recruitment & Staffing General B2B reverse charge; jurisdiction-specific exemptions for legal/accounting
Real Economy Construction, Freight Transport, Passenger Transport, Accommodation, Food & Beverage, Cultural & Entertainment Domestic reverse charge (construction); reduced rates; place-of-performance rules
Financial & Insurance Financial Services, Insurance Exempt without credit in most jurisdictions; separate Insurance Premium Tax may apply
Health & Education Medical & Healthcare, Education Public-interest exemptions; reduced rates for training; pre-recorded = ESS
Goods Goods (general), Food & Grocery, Pharmaceuticals, Energy Destination-based taxation; import VAT; zero-rated categories (food, medicine)
Platform & IP Intermediary, IP & Royalties Deemed-supplier rules (ViDA); agent vs. principal; IP-specific place-of-supply

Structured output with confidence scoring

Claude doesn't return free-form text. Every classification response is structured JSON containing the supply type, a confidence score (0.0 to 1.0), and reasoning. Configurable thresholds enable automated workflows:

Human-in-the-loop by design

AI classifications are never used in production without explicit approval. Every transaction goes through a review workflow where a human approves, rejects, or reclassifies the AI's recommendation. Once approved, the classification is cached and reused for all future determinations — the AI is not called again for that transaction type. This means the AI's role is onboarding acceleration, not runtime decision-making.

Section 05

The Determination Pipeline

Once a transaction's supply type is established (via approved classification or real-time AI), the determination pipeline applies jurisdictional tax rules through a series of deterministic stages.

Stage 1: Place of Supply

Place of supply determines which country's tax rules apply. This is not simply "where the customer is." The rules depend on the supply type, the customer type (B2B vs B2C), and specific legislative provisions:

DeterminedAI implements these rules as a deterministic engine — no AI involved. The place-of-supply module takes (seller_country, customer_country, customer_type, supply_type) and returns the taxing jurisdiction with full rule traceability.

For businesses selling B2C cross-border in the EU, the One Stop Shop (OSS) scheme is the primary compliance simplification. Rather than registering for VAT in every member state where customers are located, suppliers can register for OSS in a single member state and report all EU B2C supplies through one quarterly return. The Union OSS is available to EU-established businesses, while the Non-Union OSS serves suppliers established outside the EU. Together, these schemes dramatically reduce the number of VAT registrations a SaaS company needs to maintain. DeterminedAI's determination output includes the taxing jurisdiction and applicable rate per transaction, which maps directly to the data required for OSS reporting.

Stage 2: Rate Lookup

With the taxing jurisdiction and supply type established, the rate engine looks up the applicable tax rate from a curated database of 5,100+ rate entries across 103 jurisdictions. Rates are organized by:

The rate database is maintained as version-controlled YAML files, enabling audit trails for every rate change and easy review by tax professionals.

Stage 3: ERP Tax Code Mapping

The final stage translates the determination result into a tax code that the customer's ERP system understands. Not every ERP exposes a fixed tax code vocabulary — some vendors deliver pre-defined codes per country, while others (QuickBooks, Dynamics 365, SAP) use customer-defined strings that only exist inside each company's installation. DeterminedAI reflects this reality through a two-tier integration model, and never fabricates codes we cannot verify against vendor documentation.

ERP System Tier Out-of-the-Box Coverage Discovery Required?
NetSuite SuiteTax Tier 1 51 countries of verified Oracle-delivered tax codes (e.g., S-DE, ESSS-FR, RC-GB, TS-AU) across the EU, EEA, UK, LatAm, APAC and MEA No — ships with verified static defaults.
Xero Tier 1 UK, Australia, and New Zealand editions ship with all verified TaxType enums (e.g., OUTPUT2, DRCHARGE20, ZERORATEDOUTPUT). Singapore edition ships a single verified default (OSOUTPUT). Yes for Xero Global edition — DeterminedAI calls GET /TaxRates during onboarding to discover each org's customer-defined rates.
Sage Intacct Tier 1 (partial) Australia “Australia - GST” tax solution output-side DETAILIDs are verified from developer.intacct.com API examples. Yes for UK “United Kingdom VAT” and “South Africa - VAT” tax solutions — customers supply output-side detail IDs via the setup API.
QuickBooks Online Tier 2 None. QuickBooks Online tax codes are numeric TaxCodeRef IDs that are company-specific; U.S. editions are additionally overridden by Automated Sales Tax. Yes — discovered via GET /v3/company/{realmId}/query?query=select * from TaxCode during onboarding.
Dynamics 365 Finance Tier 2 None. D365 Sales Tax Codes are free-text strings defined per legal entity via Tax › Indirect taxes › Sales tax codes. No fixed vocabulary exists. Yes — customers supply their per-legal-entity code list during onboarding.
SAP S/4HANA Tier 2 None. SAP tax codes are 2-character alphanumeric codes configured per country via the FTXP transaction. Conventional codes like A1/V1 exist but are not mandated. Yes — customers supply their company-code tax code list during onboarding.

Tier 1 ERPs ship with verified static defaults that DeterminedAI generates from vendor-published sources (Oracle NetSuite SuiteTax documentation, the open-source XeroAPI/Xero-NetStandard TaxType enum, and Sage Intacct API example payloads). Customers can start calculating tax the moment their API key is issued, with no additional configuration for the covered jurisdictions.

Tier 2 ERPs have no static defaults because their tax codes only exist inside each customer's own installation. During onboarding, DeterminedAI either calls the vendor's discovery endpoint directly (where available) or collects the customer's code list via POST /v1/setup/erp-mapping. Until that configuration is in place, our adapter APIs explicitly return null for the ERP tax code and emit a warning instructing the caller not to write that line back to the ERP — we will not invent a code that could be silently rejected by the ERP's write API.

Every customer — Tier 1 or Tier 2 — can also override or extend mappings for their specific configuration through the dashboard or the mapping API, and our Raw API endpoint returns the underlying determination without any ERP-specific formatting for systems without a dedicated adapter.

Section 06

DeterminedAI vs. Legacy Tax Engines

Legacy (Avalara, Vertex)
  • Manual product-to-tax-code mapping required for every SKU
  • Proprietary, non-portable tax code taxonomies
  • Onboarding can be a lengthy process
  • Rule updates depend on vendor release cycles
  • Classification based on pre-assigned tax codes rather than product context
  • Edge cases may require vendor support interaction
  • Pricing: volume-based, typically with annual contracts and implementation fees
DeterminedAI
  • AI classifies transactions from natural-language descriptions
  • Universal supply type taxonomy (25 types across 7 categories, maps to all ERPs)
  • Onboard quickly — upload CSV, review, go live
  • Rate database updated continuously, version-controlled
  • Contextual understanding of transaction context and delivery
  • Self-service dashboard with full audit trail
  • Pricing: Free tier (500 calls/mo), Professional ($249/mo), Scale ($699/mo) — no contracts
When to choose DeterminedAI

DeterminedAI is built for companies transacting across borders — SaaS companies, digital marketplaces, consulting firms, manufacturers, and any business navigating VAT/GST obligations in multiple jurisdictions. If you're spending more time mapping tax codes than running your business, DeterminedAI eliminates that bottleneck.

Section 07

Security & Compliance

Data handling

Audit trail

Every tax determination is logged with full input/output detail: transaction ID, transaction classification, place-of-supply reasoning, rate applied, ERP tax code returned, and timestamp. Determination history is stored for your records, with configurable retention periods to support tax authority inquiries.

GDPR compliance

Infrastructure

ComponentProviderPurpose
Application hostingVercelAPI and dashboard serving
DatabaseSupabase (AWS)PostgreSQL with RLS
AuthenticationSupabase AuthGoogle OAuth, magic link email
AI classificationAnthropic ClaudeTransaction characterization
BillingStripeSubscription management
Section 08

Integration Guide

DeterminedAI integrates with your existing systems through a REST API that mirrors the request/response patterns ERP developers already understand.

Onboarding workflow

  1. Upload your transactions — CSV with descriptions, countries, and amounts. AI classifies each transaction into a supply type with a confidence score.
  2. Review and approve classifications — Dashboard shows AI recommendations with confidence indicators. Approve individually or in bulk. Reject and reclassify as needed.
  3. Select your ERP and configure mappings — Tier 1 ERPs (NetSuite SuiteTax for 51 verified countries, Xero UK/AU/NZ/SG, Sage Intacct Australia) ship with verified static defaults you can use out-of-the-box. Tier 2 ERPs (QuickBooks Online, Dynamics 365, SAP S/4HANA) and Tier 1 jurisdictions outside the verified set (e.g., Xero Global edition, Sage Intacct UK/ZA) supply their tax codes during onboarding via POST /v1/setup/erp-mapping. The Raw API endpoint returns determinations without ERP-specific formatting.
  4. Add your VAT registrations — Register the jurisdictions where you collect VAT/GST. This ensures determinations respect your nexus.
  5. Integrate the API — Point your ERP or billing system at the determination endpoint. Send transaction data, receive tax calculations with ERP-ready tax codes.

API request example

POST /v1/tax/determine { "transaction_id": "INV-2026-0042", "transaction_date": "2026-04-05", "seller": { "country": "DE" }, "customer": { "country": "FR", "customer_type": "B2C" }, "line_items": [ { "line_id": "1", "product_code": "SaaS-PRO", "description": "Professional SaaS subscription - project management platform", "amount": 299.00, "quantity": 1 } ] }

API response example

{ "determination_id": "det_8f3a...", "line_results": [ { "supply_type": "electronically_supplied_service", "tax_treatment": "standard", "place_of_supply": "FR", "rate": 0.20, "net_amount": 299.00, "tax_amount": 59.80, "erp_tax_code": "ESSS-FR", "catalog_match": true, "confidence": 0.97 } ], "total_tax": 59.80, "currency": "EUR" }
Section 09

Jurisdiction Coverage

DeterminedAI launches with rate data for 103 jurisdictions across all major economic regions. Each jurisdiction includes rates across all 25 supply types, covering standard rates, reduced rates, zero-rated supplies, and exempt categories.

RegionJurisdictionsKey Markets
European Union 27 member states DE, FR, NL, ES, IT, PL, IE, SE
Europe (non-EU) GB, NO, CH, IS, TR + 10 more UK VAT, Norwegian MVA, Swiss MWST
Asia-Pacific AU, NZ, JP, SG, IN, KR + 12 more Australian GST, India GST, Japan CT
Middle East & Africa AE, SA, EG, ZA, KE, NG + 12 more GCC VAT, South African VAT
Latin America BR, MX, CO, CL, AR, PE + 8 more Brazilian ICMS/ISS, Mexican IVA
Caribbean & Pacific BB, BS, FJ, JM + 6 more Regional VAT/GST systems
North America CA Canadian GST/HST (US sales tax is a separate tax regime — see Section 10)

Coverage is expanded continuously. New jurisdictions are added by authoring rate entries in the version-controlled YAML database — no code changes required.

Section 10

Scope & Limitations

DeterminedAI is purpose-built for VAT and GST determination on cross-border transactions. It is important to understand what the system does and does not cover:

In scope

Out of scope (current release)

These limitations represent areas for future development, not architectural constraints. The modular pipeline is designed to accommodate additional tax regimes and compliance features as they are built.

Section 10b

EU VAT OSS Compliance — Registration & Automated Returns

For businesses established outside the EU that make B2C digital service sales to EU consumers, the Non-Union One-Stop-Shop (OSS) scheme provides a single-country registration path. Rather than registering for VAT in each of the 27 EU member states individually, a non-EU supplier registers once — typically with Irish Revenue via the ROS portal — and submits a single quarterly return covering all EU B2C supplies.

The registration journey

DeterminedAI guides users through the complete Non-Union OSS registration lifecycle as a structured, tracked workflow. The process involves four distinct phases:

  1. Application preparation — A four-step wizard collects all information Revenue requires: company details and bank account, primary and secondary contacts, trading history, and a user-set Verification Code. The completed form maps directly to the fields on the ROS vatmoss-web registration form.
  2. Submission and Revenue review — The user submits the application on ros.ie/vatmoss-web. DeterminedAI tracks the status through each stage: submitted, awaiting confirmation, responded, and approved. Revenue typically responds within a few business days and may request additional information via the Primary Contact email.
  3. Post-approval credential retrieval — Once approved, Revenue emails a System Password to the Primary Contact. The user then logs in to ROS using their Primary Contact email, Verification Code, and System Password to retrieve their OSS Registration Number and download their ROS Digital Certificate (.p12 file). All credentials are stored encrypted at rest using AES-128-CBC with HMAC-SHA256 envelope encryption, and are never returned in plaintext except via an explicit reveal endpoint that is audit-logged.
  4. Active automated filing — Once the Digital Certificate is uploaded, DeterminedAI takes over quarterly return filing. The system calculates VAT owed per EU member state from your transaction data and submits the OSS return via ROS on your behalf before each quarterly deadline.

Security model for credentials

Three secrets are stored during the lifecycle: the Verification Code (set by the user during registration), the System Password (emailed by Revenue on approval), and the Digital Certificate with passphrase. Each is encrypted with Fernet symmetric encryption keyed to a server-side master key (DVAT_MASTER_KEY). The Verification Code last four digits are stored separately for user identification. Every reveal operation is logged to an append-only audit trail alongside all status transitions and field edits.

Effective date calculation

Revenue grants OSS registration from the first day of the quarter in which the application is submitted — they do not backdate. DeterminedAI calculates the effective date automatically and flags any gap between the date of first EU B2C supply and the effective registration date, helping users understand and address any pre-OSS exposure before filing their first return.

Section 11

Conclusion

The tax technology industry has operated on the same paradigm for two decades: hire tax analysts, build rule tables, sell annual licenses. DeterminedAI challenges this model by demonstrating that AI-powered classification, combined with deterministic tax engines, delivers faster, cheaper, and more accurate results.

Claude provides the intelligence layer — understanding what is being transacted and how it should be categorized under VAT/GST law. Deterministic engines provide the precision layer — applying exact rates, place-of-supply rules, and ERP mappings that must be auditable and reproducible.

This architecture is not a compromise. It is the right tool for each part of the problem. AI for understanding. Rules for precision. Humans for approval. Together, they form a tax determination system that is more capable, more accessible, and more transparent than anything that came before.

Get started

Visit determinedai.co to create an account. Upload your transactions, review AI classifications, configure your ERP mappings, and run your first tax determination — all quickly. For enterprise inquiries, contact jbburns@determinedai.co.