The Individual Calculations API allows a developer to:
- trigger a self-assessment tax calculation
- list all their self-assessment tax calculations for a tax year
- retrieve their self-assessment tax calculation result using multiple endpoints
- Scala 3.5.x
- Java 21
- sbt 1.10.x
- Service Manager V2
Run the microservice from the console using: sbt run (starts on port 9767 by default)
Start the service manager profile:
sm2 --start MTDFB_CALCRun unit tests: sbt test
Run integration tests: sbt it/test
To view the OpenAPI documentation locally, ensure the API is running.
Start the api-documentation-frontend and api-definition services using the Service Manager profile:
sm2 -start DEVHUB_PREVIEW_OPENAPIThen navigate to the preview page:
http://localhost:9680/api-documentation/docs/openapi/preview
Enter the specification URL using the appropriate port and API version:
http://localhost:9767/api/conf/9.0/application.yaml
You can see our changelog here
You can create a GitHub issue here
Available on the HMRC Developer Hub
This code is open source software licensed under the Apache 2.0 License