cURL
curl --request POST \ --url https://api.sandbox.goteal.co/hmrc/entries/connections \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "account_id": "95a0e70b-fe02-4f47-aef9-2efff279df71" } '
{ "account_id": "82b49a09-b352-4a67-abe1-09764417084a", "entry_id": "cd9a4666-6bde-4aea-8ade-bdb9751b848f", "income_submissions": [ { "id": "cefbbff7-f405-467c-8f7e-1421be42c796", "account_id": "82b49a09-b352-4a67-abe1-09764417084a", "entry_id": "b98ee82a-0c24-4dc6-acb3-c8b2735505f4", "income_id": "13de317b69d5d0e3033455a670cb318b", "employment": { "total_income": "31150.00", "employers": [ { "employer_name": "Company XYZ", "income": "22500.00", "tax_paid": "890.35" } ] }, "frequency": "Annual", "income_period": { "start": "2024-04-06T12:00:00Z", "end": "2025-04-05T12:00:00Z" } } ] }
Bearer token for authentication. The token should be the one returned by the /user-tokens endpoint.
The account id to use to connect to HMRC
"95a0e70b-fe02-4f47-aef9-2efff279df71"
Created
The id of the account
"82b49a09-b352-4a67-abe1-09764417084a"
The id of the entry
"cd9a4666-6bde-4aea-8ade-bdb9751b848f"
Show child attributes