---
title: "Create a Test Business"
method: POST
path: "/individuals/self-assessment-test-support/business/{nino}"
tags: ["Business Income Source"]
---

# Create a Test Business

`POST /individuals/self-assessment-test-support/business/{nino}`

This endpoint enables you to create a test business for use within the Sandbox environment.

Customers may have multiple Self-Employment businesses, but only one of each Property business is allowed. 
MTD supports only one accounting period per year so this must be a full tax year period, for example April 6th to April 5th. 
Test businesses are automatically purged from the database 7 days after creation.

## Path parameters

- `nino` string, required

## Headers

- `Accept` 'application/vnd.hmrc.1.0+json', required
- `Authorization` string, required

## Request body

- object
  - `typeOfBusiness` 'self-employment' | 'uk-property' | 'foreign-property' | 'property-unspecified', required — The type of business income source.
  - `tradingName` string — The trading name of the business. Forbidden for property businesses. Mandatory for self-employment businesses.
  - `firstAccountingPeriodStartDate` string, YYYY-MM-DD — The first accounting period start date
  - `firstAccountingPeriodEndDate` string, YYYY-MM-DD — The first accounting period end date
  - `latencyDetails` object — Income source latency details
    - `latencyEndDate` string, YYYY-MM-DD, required — End date of latency period for the income source.
    - `taxYear1` string, YYYY-YY, required — First tax year for the income source.
    - `latencyIndicator1` 'A' | 'Q', required — Self assessment submission frequency ('A' - Annual, 'Q' - Quarterly).
    - `taxYear2` string, YYYY-YY, required — Second tax year for the income source.
    - `latencyIndicator2` 'A' | 'Q', required — Self assessment submission frequency ('A' - Annual, 'Q' - Quarterly).
  - `quarterlyTypeChoice` object — Quarterly reporting period type
    - `quarterlyPeriodType` 'standard' | 'calendar' — The quarterly period type that is being chosen for the business ID.
    - `taxYearOfChoice` string, ^2[0-9]{3}-[0-9]{2}$ — The tax year for which the quarterly period type was chosen.
  - `accountingType` 'CASH' | 'ACCRUALS' — CASH if you used the cash basis, money actually received and paid out, to calculate your income and expenses. Otherwise ACCRUALS.
  - `commencementDate` string, YYYY-MM-DD — Business start date, must be in the past.
  - `cessationDate` string, YYYY-MM-DD — Business cessation date.
  - `businessAddressLineOne` string — First line of the business address. Forbidden for property businesses. Mandatory for self-employment businesses.
  - `businessAddressLineTwo` string — Second line of the business address. Forbidden for property businesses.
  - `businessAddressLineThree` string — Third line of the business address. Forbidden for property businesses.
  - `businessAddressLineFour` string — Fourth line of the business address. Forbidden for property businesses.
  - `businessAddressPostcode` string — Business postcode. Forbidden for property businesses. Mandatory for self-employment businesses if businessAddressCountryCode "GB" is provided.
  - `businessAddressCountryCode` string — The two letter code for a country must adhere to ISO 3166. Forbidden for property businesses. Mandatory for self-employment businesses.

## Response `201`

Success

- object
  - `businessId` string — A unique identifier for the business income source.

## Other responses

- `400` — Bad request
- `403` — Forbidden

---

[API](https://skmtc.net/hmrc/apis/mtd-sa-test-support-api.md) · [All operations](https://skmtc.net/hmrc/apis/mtd-sa-test-support-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hmrc/mtd-sa-test-support-api/revisions/5ea7ba089419/schema)
