Save Books Mapping

PUT /tenants/{tenant}/clients/{client}/mtd/nominal-mappings/{businessId}

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.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

client* path string
businessId* path string
{
  "incomeSourceType": "Unknown",
  "entries": [
    {
      "nominalCode": "...",
      "externalAccountId": "...",
      "accountName": "...",
      "accountType": "...",
      "targetKey": "..."
    }
  ]
}

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
404 Not Found