Design an Indirect Tax Calculation and Filing Engine for Global Clients

Last updated: November 29, 2026

Quick Overview

Design a service that calculates VAT and GST on clients' transactions across 50 or more countries, applies effective-dated rules, aggregates results into periodic returns and supports filing and audit trails.

EY
System Design
Software Engineer
EY
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design a service that calculates VAT and GST on clients' transactions across 50 or more countries, applies effective-dated rules, aggregates results into periodic returns and supports filing and audit trails.

EY runs managed indirect tax compliance for multinationals, which means turning ERP transaction data into correct returns for many jurisdictions on fixed deadlines. The interviewer checks rule modeling and versioning, deterministic and explainable calculation, idempotent processing at period-end peaks and how corrections flow into returns.

What the Interviewer Expects
  • Model tax rules as versioned, effective-dated data rather than code branches
  • Deterministic calculation that records which rule version produced each result
  • Batch and streaming paths with idempotent processing keyed by transaction id
  • Return aggregation per entity, jurisdiction and period with reconciliation to the ledger
  • Corrections and amended returns without rewriting history
  • Deadline-aware scheduling and monitoring
Key Topics to Cover
rules engine
effective dating
idempotency
event sourcing
batch processing
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How would you handle a rate change that is announced retroactively?
  • How do you support e-invoicing mandates that require real-time clearance with a tax authority?
  • How would you test a new country's rules before go-live?
  • How would you scale for the last two days before a filing deadline?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Inputs: invoice and payment lines from client ERPs with seller and buyer entities, locations, product codes, amounts and dates. Outputs: per-line tax determination (taxable or exempt, rate, tax amount...

High-Level Design

Connectors land transactions in a raw store; a normalization service maps them to a canonical transaction schema. The determination service evaluates a rules repository: for each jurisdiction, version...


Submit Your Answer
Markdown supported

Related Questions