CustomerGLAccount
One account, in the fields a caller needs to build a journal entry line.
An explicit projection, never a dump of the ORM row: the model carries
entity_id, organization_id, parent_id and a running balance, none
of which belong on a customer response.
- accountType: GLAccountTypeenum
_type requiredAccounting classification of the account
values- bank
- accounts
_receivable - prepaid
_expenses - other
_current _assets - unbilled
_receivable - right
_of _use _assets - deposits
- fixed
_assets
- externalType: string
_id requiredUse this as
gl_account_idon a journal entry line - isType: boolean
_active requiredInactive accounts are refused on a journal entry line
- isType: boolean
_postable requiredSummary/parent accounts are not postable and are refused on a line
- nameType: stringrequired
Display name
- accountType: stringnullable
_number The account's number in the chart, if it has one
- parentType: stringnullable
_external _id The account this one rolls up into, if any