Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 985 Bytes

incomes.md

File metadata and controls

53 lines (35 loc) · 985 Bytes

Incomes

The end point fetches incomes for a given nino and a given year

{
  "data" : {
    "taxCodeIncomes" : [ ],
    "nonTaxCodeIncomes" : {
      "otherNonTaxCodeIncomes" : [ {
        "incomeComponentType" : "Profit",
        "amount" : 100,
        "description" : "Profit"
      } ]
    }
  },
  "links" : [ ]
}
  • Error Response:

    • Code: 401 UNAUTHORIZED
      Content: {"statusCode":401,"message":"Authorisation refused for access to GET /tai/$NINO/tax-summary/2014"}

    OR anything else

    • Code: 500 INTERNAL_SERVER_ERROR