Overview
Teal’s HMRC integration enables you to retrieve verified income and self-employment data directly from His Majesty’s Revenue and Customs. This provides a reliable, government-sourced view of a user’s financial history, ideal for income verification, lending decisions, and affordability assessments.Data Available
Through the HMRC integration, you can access:| Data Type | Description |
|---|---|
| Employment Income | Total income and earnings from each employer |
| Tax Paid | Tax deducted at source for each employment |
| Employer Details | Names of employers on record |
| Income Period | The tax year or period the data covers |
Use Cases
Confirm employment income directly from HMRC records rather than relying on payroll or payslips alone.How It Works
- Create an account connection with
payroll_providerset tohmrc - The user authenticates via the HMRC Government Gateway
- Teal retrieves income submissions across available tax years
- Access the data via
GET /hmrc/{user_id}or manage entries via/hmrc/entries
Creating an HMRC Connection
To establish an HMRC connection, callPOST /accounts with payroll_provider set to hmrc. HMRC requires additional authentication parameters in extra_login_params.
Required Parameters
| Parameter | Description |
|---|---|
unique_tax_reference | The user’s UTR is a 10 or 13-digit number. They can find it on their Business Tax Account, the HMRC app, tax returns, or other documents from HMRC. It may appear as ‘UTR’, ‘reference’, or ‘official use’. |
ni_number | The user’s National Insurance number. They can find it on their payslip, P60, or letters from HMRC. |
Example Request
authorisation_url. The user must complete OAuth authentication via this URL, which redirects them to the HMRC Government Gateway. After successful authentication, you can fetch and retrieve income data using the /hmrc endpoints.
Webhook
You can subscribe to theuser-hmrc-data-submitted webhook to recieve updates on new HMRC data being retrieved.