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.

  • Accounting classification of the account

    values
    • bank
    • accounts_receivable
    • prepaid_expenses
    • other_current_assets
    • unbilled_receivable
    • right_of_use_assets
    • deposits
    • fixed_assets
  • Use this as gl_account_id on a journal entry line

  • Inactive accounts are refused on a journal entry line

  • Summary/parent accounts are not postable and are refused on a line

  • Display name

  • The account's number in the chart, if it has one

  • The account this one rolls up into, if any