Architecture Overview

This document explains how the app is structured and how HMRC integration works.


High-Level Structure

  • Next.js App Router for UI and API routes
  • HMRC OAuth client for authentication
  • Fraud prevention header builder
  • Planned submission modules for quarterly updates and tax returns

Folder Layout

/app

/lib/hmrc

/components

/docs

More details will be added as the project grows.