> ## Documentation Index
> Fetch the complete documentation index at: https://docs.goteal.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Self-employed: the applicant connects HMRC (Making Tax Digital)

> Income verified. Replay it in sandbox with a test persona.

> [!NOTE]
>
> Draft, needs review: the step text is a first draft. The test personas come from the `staging-lucho` catalogue; personas added to it since are not listed yet. Snapshot of 2026-12-02.

The applicant is self-employed. From the Self-Employed tab of the connect screen, or the employed or self-employed picker when payroll sign-in is off, they open the HMRC form, go to HMRC's site and come back to the result, then the summary.

**Outcome:** Income verified. **Shown for:** Essentials, Standard, Full evidence.

## Setup needed

* User Connections: on
* HMRC: on

Set these in the Console under **Settings**, then **Configuration**. Direct Connections is always on.

## Test persona

Test persona:

## Start the journey

> [tab] Console
>
> 0. In the Console, open **Settings**, then **Configuration**, and turn on the sources above. Click **Publish changes**.
>
>    ![Console: choose the sources: Settings, then Configuration: the income sources the applicant is offered.](https://mintcdn.com/teal/H4CEKzca7hRtbHOe/images/journeys/_console/configuration--products-with-refusal--06-settingsConfig-empty.webp?fit=max\&auto=format\&n=H4CEKzca7hRtbHOe\&q=85\&s=787c55ea8b68ea4680120e8c689755f9)
>
>    choose the sources (Console)
>
> 1. In the Console, open **Users** and click **Create new user**.
>
> 2. Enter the persona's **Forename**, **Surname**, **Date of birth**, **Postcodes** and, if it has one, **NI number**. Leave the user's source switches matching the setup above. Click **Create user**.
>
>    ![Console: create the user: Users, then Create new user: the applicant's details and their sources.](https://mintcdn.com/teal/H4CEKzca7hRtbHOe/images/journeys/_console/applicant-create--user-connection-only--08-userCreate-filled.webp?fit=max\&auto=format\&n=H4CEKzca7hRtbHOe\&q=85\&s=f45c2bd7b42a979b61068c4a6dee5f2e)
>
>    create the user (Console)
>
> 3. The Console shows the link for the new user. Click **Copy link** (later, open the user and click **Share links**).
>
>    ![Console: copy the link: The link for the new user. Send it to the applicant.](https://mintcdn.com/teal/H4CEKzca7hRtbHOe/images/journeys/_console/applicant-create--user-connection-only--09-shareLink-empty.webp?fit=max\&auto=format\&n=H4CEKzca7hRtbHOe\&q=85\&s=964141e160a89e96c0135dbbcc98f51a)
>
>    copy the link (Console)
>
> 4. Open the link in a private browser window. You're now the applicant.

> [tab] API
>
> Create the user with the persona's details, then create a link for it. Replace `<your-sandbox-api-key>` with your own sandbox key.
>
> ```bash Create the user theme={null}
> curl --request POST \
>   --url https://api.sandbox.goteal.co/users \
>   --header 'Content-Type: application/json' \
>   --header 'X-API-KEY: <your-sandbox-api-key>' \
>   --data '{
>   "forename": "Hmrc",
>   "surname": "Persona09",
>   "date_of_birth": "1990-01-01T00:00:00.000Z",
>   "post_codes": [
>     "ZZ99 9ZZ"
>   ],
>   "payroll_period_months": 12,
>   "ni_number": "QQ000009A",
>   "payroll_connections_enabled": true,
>   "hmrc_enabled": true
> }'
> ```
>
> ```bash Create a link for the user theme={null}
> curl --request POST \
>   --url https://api.sandbox.goteal.co/user-tokens \
>   --header 'Content-Type: application/json' \
>   --header 'X-API-KEY: <your-sandbox-api-key>' \
>   --data '{"user_id": "<user_id from the first response>"}'
> ```
>
> Open the `webapp_link` from the response in a private browser window. The applicant gives consent on the first screen, which records the authorisation (`POST /authorisations`).

## Steps

The paths split below. Each tab is one path, most common first.

> [tab] Path 1 (70%)
>
> **1. Consent**
>
> ![Consent: What will be shared, who sees it, for how long, and that the applicant can withdraw their authorisation. Continuing gives consent.](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/most-common--01-consent-empty.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=8ba1b638a9e0da78771e5752e179f6e6)
>
> What will be shared, who sees it, for how long, and that the applicant can withdraw their authorisation. Continuing gives consent.
>
> **Do:** Click "Continue".
>
> **Next:** Payroll search.
>
> **2. Payroll search**
>
> ![Payroll search: Teal searches payroll records using the details you sent (Direct Connections); while it searches the applicant sees "Loading.". When there's no match and the NI number question is on, the applicant is asked for their National Insurance number. When there's still no match, they see "We couldn't find your payroll records" and the other ways to share income.](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/most-common--02-ninCapture-empty.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=c0ebe576a49a8703785baab8647deef4)
>
> Teal searches payroll records using the details you sent (Direct Connections); while it searches the applicant sees "Loading.". When there's no match and the NI number question is on, the applicant is asked for their National Insurance number. When there's still no match, they see "We couldn't find your payroll records" and the other ways to share income.
>
> **Do:** The search finds no payroll match. If you're asked for an NI number, skip it or enter the persona's.
>
> **Next:** Find your employer.
>
> **3. Find your employer**
>
> ![Find your employer: "Find your employer": the applicant searches for their employer, or picks another way to share income ("Can't find your employer? Add it", the Self-employed tab, "Upload payslips instead"). When payroll sign-in is off it is "Choose how to share your income" with the methods that are on (Connect with HMRC, Upload your payslips, Share your bank statements). When only one method is on, it opens that method straight away.](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/most-common--03-connect-empty.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=7b2d9523b89d5229b710dc41f18f26e4)
>
> "Find your employer": the applicant searches for their employer, or picks another way to share income ("Can't find your employer? Add it", the Self-employed tab, "Upload payslips instead"). When payroll sign-in is off it is "Choose how to share your income" with the methods that are on (Connect with HMRC, Upload your payslips, Share your bank statements). When only one method is on, it opens that method straight away.
>
> **Do:** Open the "Self-employed" tab and click "Connect with HMRC".
>
> **Next:** Details HMRC needs (Making Tax Digital).
>
> **4. Details HMRC needs (Making Tax Digital)**
>
> ![Details HMRC needs (Making Tax Digital): The details HMRC needs for a self-employed applicant: the NI number, asked only when none is on file. Then "Connecting to HMRC": HMRC's sign-in opens on HMRC's website and the applicant comes back here after it.](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/most-common--04-hmrcDetails-transient.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=f9f43fa1944aff806b74b2e6e7391f83)
>
> The details HMRC needs for a self-employed applicant: the NI number, asked only when none is on file. Then "Connecting to HMRC": HMRC's sign-in opens on HMRC's website and the applicant comes back here after it.
>
> **Do:** Enter the persona's NI number if asked, and continue to HMRC.
>
> **Next:** HMRC sign-in.
>
> **5. HMRC sign-in**
>
> ![HMRC sign-in: HMRC's own sign-in, through Teal's HMRC partner. It opens in a popup for employed applicants and as a redirect for Making Tax Digital. In sandbox a Teal test page stands in for it, as pictured here.](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/most-common--05-hmrcSite-empty.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=9a1131dadb531275e3327224f1f5db09)
>
> A Teal sandbox test page standing in for this sign-in. The real page is HMRC's or the payroll provider's own.
>
> HMRC's own sign-in, through Teal's HMRC partner. It opens in a popup for employed applicants and as a redirect for Making Tax Digital. In sandbox a Teal test page stands in for it, as pictured here.
>
> **Do:** On the test page, click "Continue". On a real application the applicant signs in to HMRC and allows access.
>
> **Next:** Result.
>
> **6. Result**
>
> ![Result: Teal reads the connection or upload ("Collecting your payslips. This can take a minute.", then "Signed in. Done.") and moves on by itself. If it fails, it says so ("Problems connecting your account").](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/picker-then-hmrc--07-result-transient.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=455b2fe8b65017868e128bb93f6df92c)
>
> Teal reads the connection or upload ("Collecting your payslips. This can take a minute.", then "Signed in. Done.") and moves on by itself. If it fails, it says so ("Problems connecting your account").
>
> **Do:** Wait. The next screen opens by itself.
>
> **Next:** Check what you'll share.
>
> **7. Check what you'll share**
>
> ![Check what you'll share: Everything that will be shared with you (income sources, documents, any months still missing), with "Add another income source".](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/most-common--07-summary-empty.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=166f8eeb03bdcec716db572476f22d45)
>
> Everything that will be shared with you (income sources, documents, any months still missing), with "Add another income source".
>
> **Do:** Click "Confirm and share".
>
> **Next:** Done.
>
> **8. Done**
>
> ![Done: "Done. Your income has been shared with \<your company>." With a return address the applicant goes back to your app instead.](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/most-common--08-done-empty.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=e77ddc447564e033bde1736a75d91efc)
>
> "Done. Your income has been shared with \<your company>." With a return address the applicant goes back to your app instead.
>
> **Do:** Click "Close", or "Back to" your app.

> [tab] Path 2 (30%)
>
> Also needs: User Connections: off.
>
> Test persona:
>
> **1. Consent**
>
> ![Consent: What will be shared, who sees it, for how long, and that the applicant can withdraw their authorisation. Continuing gives consent.](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/picker-then-hmrc--01-consent-empty.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=2416cda4606fc26684d861e1dce6cdd0)
>
> What will be shared, who sees it, for how long, and that the applicant can withdraw their authorisation. Continuing gives consent.
>
> **Do:** Click "Continue".
>
> **Next:** Payroll search.
>
> **2. Payroll search**
>
> ![Payroll search: Teal searches payroll records using the details you sent (Direct Connections); while it searches the applicant sees "Loading.". When there's no match and the NI number question is on, the applicant is asked for their National Insurance number. When there's still no match, they see "We couldn't find your payroll records" and the other ways to share income.](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/picker-then-hmrc--02-ninCapture-empty.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=8f1999833b3ddacd6629530421d5c656)
>
> Teal searches payroll records using the details you sent (Direct Connections); while it searches the applicant sees "Loading.". When there's no match and the NI number question is on, the applicant is asked for their National Insurance number. When there's still no match, they see "We couldn't find your payroll records" and the other ways to share income.
>
> **Do:** The search finds no payroll match. If you're asked for an NI number, skip it or enter the persona's.
>
> **Next:** Find your employer.
>
> **3. Find your employer**
>
> ![Find your employer: "Find your employer": the applicant searches for their employer, or picks another way to share income ("Can't find your employer? Add it", the Self-employed tab, "Upload payslips instead"). When payroll sign-in is off it is "Choose how to share your income" with the methods that are on (Connect with HMRC, Upload your payslips, Share your bank statements). When only one method is on, it opens that method straight away.](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/picker-then-hmrc--03-connect-empty.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=a8e8fc7a618d11f88f8860fbcd343eb0)
>
> "Find your employer": the applicant searches for their employer, or picks another way to share income ("Can't find your employer? Add it", the Self-employed tab, "Upload payslips instead"). When payroll sign-in is off it is "Choose how to share your income" with the methods that are on (Connect with HMRC, Upload your payslips, Share your bank statements). When only one method is on, it opens that method straight away.
>
> **Do:** Payroll sign-in is off, so this screen goes straight to the HMRC choice. Continue.
>
> **Next:** Employed or self-employed.
>
> **4. Employed or self-employed**
>
> ![Employed or self-employed: "How do you earn your income?": employed or self-employed, which picks the right HMRC route.](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/picker-then-hmrc--04-hmrcEntry-empty.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=e729c958a0c19edc7b709c4791081ebb)
>
> "How do you earn your income?": employed or self-employed, which picks the right HMRC route.
>
> **Do:** Click "I'm self-employed". Choose: **self-employed**.
>
> **Next:** Details HMRC needs (Making Tax Digital).
>
> **5. Details HMRC needs (Making Tax Digital)**
>
> ![Details HMRC needs (Making Tax Digital): The details HMRC needs for a self-employed applicant: the NI number, asked only when none is on file. Then "Connecting to HMRC": HMRC's sign-in opens on HMRC's website and the applicant comes back here after it.](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/picker-then-hmrc--05-hmrcDetails-transient.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=417973c154651eecefbca6cf71d23dbd)
>
> The details HMRC needs for a self-employed applicant: the NI number, asked only when none is on file. Then "Connecting to HMRC": HMRC's sign-in opens on HMRC's website and the applicant comes back here after it.
>
> **Do:** Enter the persona's NI number if asked, and continue to HMRC.
>
> **Next:** HMRC sign-in.
>
> **6. HMRC sign-in**
>
> ![HMRC sign-in: HMRC's own sign-in, through Teal's HMRC partner. It opens in a popup for employed applicants and as a redirect for Making Tax Digital. In sandbox a Teal test page stands in for it, as pictured here.](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/picker-then-hmrc--06-hmrcSite-empty.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=7d00a14cd651e54c3b7c9d5a179afa98)
>
> A Teal sandbox test page standing in for this sign-in. The real page is HMRC's or the payroll provider's own.
>
> HMRC's own sign-in, through Teal's HMRC partner. It opens in a popup for employed applicants and as a redirect for Making Tax Digital. In sandbox a Teal test page stands in for it, as pictured here.
>
> **Do:** On the test page, click "Continue". On a real application the applicant signs in to HMRC and allows access.
>
> **Next:** Result.
>
> **7. Result**
>
> ![Result: Teal reads the connection or upload ("Collecting your payslips. This can take a minute.", then "Signed in. Done.") and moves on by itself. If it fails, it says so ("Problems connecting your account").](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/picker-then-hmrc--07-result-transient.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=455b2fe8b65017868e128bb93f6df92c)
>
> Teal reads the connection or upload ("Collecting your payslips. This can take a minute.", then "Signed in. Done.") and moves on by itself. If it fails, it says so ("Problems connecting your account").
>
> **Do:** Wait. The next screen opens by itself.
>
> **Next:** Check what you'll share.
>
> **8. Check what you'll share**
>
> ![Check what you'll share: Everything that will be shared with you (income sources, documents, any months still missing), with "Add another income source".](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/picker-then-hmrc--08-summary-empty.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=8d59008ccf69b07991315c65d253482b)
>
> Everything that will be shared with you (income sources, documents, any months still missing), with "Add another income source".
>
> **Do:** Click "Confirm and share".
>
> **Next:** Done.
>
> **9. Done**
>
> ![Done: "Done. Your income has been shared with \<your company>." With a return address the applicant goes back to your app instead.](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/self-employed-hmrc/picker-then-hmrc--09-done-empty.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=66ce435b67ab131735cabfe0df15362e)
>
> "Done. Your income has been shared with \<your company>." With a return address the applicant goes back to your app instead.
>
> **Do:** Click "Close", or "Back to" your app.

## Check the result

Expected outcome: **Income verified**.

* **Console:** open **Users**, find the persona and open the user to see what was shared.

  ![Console: see the result: The user's page: who they are, their employer and the income they shared.](https://mintcdn.com/teal/H4CEKzca7hRtbHOe/images/journeys/_console/applicant-review--download-payslip-report--08-userDetail-empty.webp?fit=max\&auto=format\&n=H4CEKzca7hRtbHOe\&q=85\&s=a9217b2ff46da213fb5c6e63864b749f)

  An example user page (Console). Yours shows this persona and this journey's outcome.

* **API:**

```bash theme={null}
curl --request GET \
  --url https://api.sandbox.goteal.co/payroll/<user_id> \
  --header 'X-API-KEY: <your-sandbox-api-key>'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.