Return the SA liability information for a given user, including total amount due/owed and future liabilities.
Please note it is mandatory to supply an Accept HTTP header to all below services with the value application/vnd.hmrc.1.0+json.
- Run locally:
sbt runwhich runs on port8261by default - Run with test endpoints:
sbt 'run -Dplay.http.router=testOnlyDoNotUseInAppConf.Routes'
The service can be run locally from Service Manager, using the following profiles:
| Profile Details | Command |
|---|---|
| MOBILE_SELF_ASSESSMENT_ALL | sm2 --start MOBILE_SELF_ASSESSMENT_ALL |
- Run Unit Tests:
sbt test - Run Integration Tests:
sbt it:test - Run Unit and Integration Tests:
sbt test it:test - Run Unit and Integration Tests with coverage report:
sbt clean compile coverage test it:test coverageReport dependencyUpdates
| Task | Supported Methods | Description |
|---|---|---|
/mobile-self-assessment/:utr/liabilities |
GET | Fetch the account summary and future liabilities for the given SaUtr More... |
Shuttering of this service is handled by mobile-shuttering
To trigger the sandbox endpoints locally, use the "X-MOBILE-USER-ID" header with one of the following values: 208606423740 or 167927702220
To test different scenarios, add a header "SANDBOX-CONTROL" with one of the following values:
| Value | Description |
|---|
API definition for the service will be available under /api/definition endpoint.
See definition in /conf/api-definition.json for the format.
This code is open source software licensed under the Apache 2.0 License