03 · Fintech · PurpleTalk
VAT Validation & Correction Engine
Rule-driven replacement for a manual monthly VAT correction process, with approval workflows and ERP-ready exports.
Context
The finance team corrected VAT data once a month by hand. The process was manual and error-prone. The engine replaces it with rule-driven validation of VAT IDs, approval workflows and exports that the ERP can take directly.
My role
Lead Front-End Engineer.
Architecture
Architecture, left to right. Users: Finance team → Frontend: React · 100% TypeScript · MUI → Backend and output: REST APIs, ERP-ready export.
Key decisions
- 01
100% TypeScript
Strict types and shared interfaces give the screens predictable data contracts and fewer runtime defects.
- 02
Centralised state, memoisation, lazy loading
Data-heavy workflows stay fast and free of prop drilling. Routes and components load on demand, which keeps the initial bundle small.
- 03
Validation rules run in the UI
I put the validation rules in the frontend so finance users get immediate, field-level feedback while they correct VAT data, instead of waiting on a round trip for every change. The trade-off is that client-side rules can drift from the API's, so I treated the API as the final authority and kept the UI checks as a fast first pass.
Results
- Replaced the manual monthly correction process with a rule-driven system.
- Sustained 80+ Lighthouse scores.
Stack
- React
- TypeScript
- MUI
- REST