Architecture Note · Finance & Legal

Corporate Spend & Expense Controls: Deterministic Card Policy, VAT Reclaim, and Exception Gates

Why LLM receipt reviewers miss split transactions and invalid tax IDs—and how deterministic card velocity limits, VAT/JCT reclaim rules, and human sign-off protect budgets.

The Operational Problem: Split Swipes, Invalid Tax IDs, and Out-of-Policy Leakage

Distributed teams spending across NYC, London, Tokyo, Frankfurt, Sydney, Toronto, and Zurich create policy blind spots that post-hoc expense reports catch too late. Employees split a charge into two swipes fifteen minutes apart to stay under a single-transaction cap, book unapproved cabin upgrades, submit duplicate receipts across corporate cards and personal reimbursements, or claim input VAT without a valid UK VAT invoice above £250, German Steuer-Nr, or Japanese Qualified Invoice T-Number. Without automated pre-authorization rules and strict tax-reclaim checks, finance teams either overpay non-compliant claims or fail indirect tax audits.

Why Naive AI Expense Reviewers Fail

Using a prompt wrapper to inspect receipts and approve expense reports breaks down under real finance controls:

  • No stateful temporal or hash checks: A single-receipt prompt cannot detect two swipes at the same merchant within a 30-minute split-transaction window, nor match a SHA-256 receipt digest against a prior reimbursement claim.
  • Hallucinated VAT/GST/JCT eligibility: Language models frequently treat non-recoverable client entertainment as reclaimable input tax, or fail to apply zero-decimal rounding on JPY versus two-decimal GBP, EUR, AUD, CAD, and USD journals.
  • Unsafe spreadsheet exports and PII exposure: Uploading employee receipts to external endpoints leaks card metadata and itineraries, while unescaped CSV exports risk spreadsheet formula injection (=, +, -, @) when opened by payroll teams.

The Deterministic Architecture That Fixes It

Parabolic Dapps Corporate Spend Controls pairs deterministic policy and tax engines with role-gated human overrides and balanced GL export generation.

  1. Virtual card policy engine and auto-freeze thresholds: POST /api/cards/rules enforces MCC allowlists/blocklists (auto-allowing, pre-approving, or blocking categories like luxury retail and cash advances), city-specific nightly lodging and daily meal caps anchored in USD equivalent across all seven hubs, weekend spend policies (allow, travel_only, block), single-transaction velocity caps (default $2,500), and automatic card freezes when cumulative flagged spend breaches the configured threshold ($4,000).
  2. Deterministic exception, split, and duplicate detection: POST /api/expenses/submit runs deterministic offline extraction by default (or optional SPEND_LLM_MODE=openai with strict JSON validation), evaluates 30-minute split-transaction evasion windows, flags duplicate claims by SHA-256 receipt digest or (merchant, date, amount, currency) tuple, and wipes raw uploaded receipt files after 3,600 seconds via background reaper.
  3. Jurisdictional VAT/GST/JCT reclaim and GL coding: Using exact Decimal arithmetic (app/currency.py, app/tax_gl.py), transactions normalize across USD, EUR, GBP, AUD, CAD, CHF, and zero-decimal JPY, mapping cleanly to GL codes (6110 Air/Rail, 6120 Lodging, 6140 Client Dining, 6210 Cloud/SaaS, and 1420 Recoverable VAT) while blocking client-dining VAT reclaim or missing tax IDs unless explicitly justified.
  4. Mandatory human sign-off, department burn tracking, and balanced GL export: POST /api/expenses/{id}/approve restricts approvals to scoped manager and finance_admin tokens (rate-limited with HTTP 429 + Retry-After) and rejects out-of-policy or VAT overrides without explicit human_signoff: true, vat_override_justified: true where applicable, and an audit rationale (minimum 8 characters in the workbench). GET /api/reimbursements/export emits balanced debits/credits (Credit 2110) with CSV formula-injection neutralization across departments.

Operational Takeaway

Expense governance relies on deterministic boundaries: velocity caps, split-window detection, statutory tax-ID validation, and balanced journal math. By reserving AI strictly for receipt field extraction inside an isolated perimeter—and gating every policy or VAT override behind human rationale and immutable audit_log entries—finance teams stop leakage before funds settle.

Test spend controls on your own card policy

Start with a free 30-minute workflow check. Bring your corporate card policy, city per-diem matrix, and 10 anonymized receipts to map your GL export schema within one business day.