Confirms which nominal accounts feed each figure, replacing any previous mapping for this income source. Entries that arrive without the platform's account id have one resolved from the live chart, so the mapping survives an account being re-coded in the books later. Consolidated expenses and the expense breakdown cannot both be mapped — HMRC accept one or the other.
Requires: Update on MakingTaxDigitalIncomeTax.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| client* | path string | |
| businessId* | path string | |
Request Body*
{
"incomeSourceType": "Unknown",
"entries": [
{
"nominalCode": "...",
"externalAccountId": "...",
"accountName": "...",
"accountType": "...",
"targetKey": "..."
}
]
}
Responses
200 OK
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found