The Obligations API allows software packages to:
- retrieve obligations for a user's business income sources
- retrieve the crystallisation obligations for a user's Income Tax account
- retrieve the End of Period Statement obligations for a user's business income sources
- Scala 3.x.x
- Java 11
- sbt > 1.9.x
- Service Manager 2
Run from the console using: sbt run (starts on port 7793 by default)
Start the service manager profile: sm2 --start MTDFB_OBLIGATIONS
Run unit tests: sbt test
Run integration tests: sbt it/test
To view documentation locally ensure the Obligations API is running, and run api-documentation-frontend:
./run_local_with_dependencies.sh
Then go to http://localhost:9680/api-documentation/docs/openapi/preview and use this port and version:
http://localhost:7793/api/conf/3.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