A step-by-step form application that helps users determine whether a Claim Notification Form (CNF) is necessary for HMRC R&D tax relief and what the submission deadline is.
This application allows users to:
- Check CNF requirements based on company accounting periods
- Determine submission deadlines
- Receive guidance through the process
The tool is completely unauthenticated and available for anyone to use.
- Frontend: HTML, TypeScript, CSS using Svelte framework
- Build Tool: Vite
- Styling: TailwindCSS
- Deployment: AWS CDK, S3 bucket for hosting
- External APIs: Companies House API for accounting period data
- Clone the repository
- Install dependencies:
npm install - Create a
.envfile in the project root with:VITE_CH_API_KEY=your_companies_house_api_key - Start the development server:
npm run dev
The application is deployed using AWS CDK to an S3 bucket configured for static website hosting.
- dev: Development environment
- prod: Production environment
Deploy to any named environment using:
./deploy/deploy.sh <environment_name>
This script:
- Builds the application
- Deploys the infrastructure using CDK
- Uploads the build files to the S3 bucket
The application guides users through a series of questions to determine CNF requirements:
- Enter company number (fetches data from Companies House API)
- Select accounting period
- Answer questions about R&D tax relief claims
- Receive result indicating if CNF is required and the deadline