---
title: "Retrieve transactions to help answer SA105 - the Self Assessment questions for properties for HMRC"
method: GET
path: "/tax"
tags: ["tax"]
---

# Retrieve transactions to help answer SA105 - the Self Assessment questions for properties for HMRC

`GET /tax`

## Request

- Base URL: `https://api.moneyhub.co.uk/v3`
- URL: `https://api.moneyhub.co.uk/v3/tax`
- Auth: API key in header `Authorization`

Requires **tax:read** scope.

## Query parameters

- `startDate` string, date, required
- `endDate` string, date, required
- `projectId` string
- `accountId` string

## Response `200`

Successful Tax Response

- object
  - `data` Tax
    - `dateFrom` string, date, required: The date the transactions are from
    - `dateTo` string, date, required: The date the transactions are to
    - `taxReturn` object, required: The calculated tax return amounts.
      - `sa105` object
        - `income` object, required
          - `total` object, required
            - `value` integer, required: The opening balance in minor units of the currency, eg. pennies for GBP
            - `majorUnits` integer: The major units of the value, based on the values currency, eg. pounds for GBP.
            - `minorUnits` integer: The minor units of the value, based on the values currency, eg. pennies for GBP.
            - `currency` string, required
          - `details` object[], required
            - `category` string, required: The category the detail belongs to
            - `amount` object, required
              - …
        - `expenditure` object, required
          - `total` object, required
            - `value` integer, required: The opening balance in minor units of the currency, eg. pennies for GBP
            - `majorUnits` integer: The major units of the value, based on the values currency, eg. pounds for GBP.
            - `minorUnits` integer: The minor units of the value, based on the values currency, eg. pennies for GBP.
            - `currency` string, required
          - `details` object[], required
            - `category` string, required: The category the detail belongs to
            - `amount` object, required
              - …
        - `taxableIncome` object, required
          - `total` object, required
            - `value` integer, required: The opening balance in minor units of the currency, eg. pennies for GBP
            - `majorUnits` integer: The major units of the value, based on the values currency, eg. pounds for GBP.
            - `minorUnits` integer: The minor units of the value, based on the values currency, eg. pennies for GBP.
            - `currency` string, required
  - `links` Links
    - `next` string, uri: The url to retrieve the next page of results from
    - `prev` string, uri: The url to retrieve the previous page of results from
    - `self` string, uri, required: The url of the current resource(s)
  - `meta` object

## Other responses

- `401`: Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token
- `403`: Unsuccessful Response - Forbidden - Invalid scopes

---

[API](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3.md) - [All operations](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3/revisions/2e08b5dbee56?raw)
