NominalCodeDto

One account in a chart of accounts, as the connected accounting platform holds it.

Shared by the practice's own books and a client's — the managers draw no distinction between
the two, so neither does the wire shape.

Properties

Name Type Description
codestring

The nominal code as the books hold it. Platforms that let an account go without one fall
back to their internal identifier, so this is always populated but not always numeric.

The nominal code as the books hold it. Platforms that let an account go without one fall
back to their internal identifier, so this is always populated but not always numeric.

namestring

The account's name in the books.

The account's name in the books.

typestring

How the platform classifies the account — its own wording (Xero "REVENUE", Sage "Sales"),
deliberately not normalised, because every platform charts differently.

How the platform classifies the account — its own wording (Xero "REVENUE", Sage "Sales"),
deliberately not normalised, because every platform charts differently.

externalAccountIdstring

The platform's own identifier for the account, where it has one distinct from the code.
Stable across a re-coding in the books, so it is what a stored mapping keys on; null where the
platform's only identifier is the code itself.

The platform's own identifier for the account, where it has one distinct from the code.
Stable across a re-coding in the books, so it is what a stored mapping keys on; null where the
platform's only identifier is the code itself.

JSON Example

{
  "code": "string",
  "name": "string",
  "type": "string",
  "externalAccountId": "string"
}

Contained in Schemas