The docs for the categories endpoint state:
Returns the list of all categories for the current company…
However I have found extra categories can be returned, requiring additional logic in the caller to filter these out. For example, sole traders are not supposed to have the PAYE/NI category (nominal code 814), nor the Benefit in Kind category (nominal code 904), but they are returned by the API.
When I say “not supposed to”, I established this by setting up a sole trader account in the sandbox and looking at the categories in the dropdown on the bank transaction explanation page.
Have I misunderstood the docs, or made a mistake inspecting the dropdowns in the web interface?
Many thanks in advance,