The chart of accounts for the general ledger of a business on Layer’s platform. A general ledger is automatically created when a Business is created via the Create a Business endpoint.

Attributes

type
string

Resource type. Value will be “Chart_Of_Accounts”.

accounts
array of Ledger Accounts

Array of Ledger Accounts within the Ledger with their entries and balances omitted.

Ledger Account object

An account within the chart of accounts for the general ledger.

id
string

Unique identifier of the ledger account.

name
string

Account name

accountStableName
string

Stable identifier for templated account.

description
string

Human readable description for this ledger account.

subAccounts
array of Ledger Account objects

An array of Ledger Account objects representing child accounts of this ledger account.

balance
integer

Balance of the account, in cents.

normality
enum

Account balance normality. Values can be: DEBIT, CREDIT

account_type
enum
required

Type of the ledger account. Values can be: ASSET, LIABILITY, EQUITY, REVENUE, or EXPENSE

account_subtype
enum

Subtype of the ledger account. Values can be: BANK_ACCOUNTS, ACCOUNTS_RECEIVABLE, INVENTORY, PAYMENT_PROCESSOR_CLEARING_ACCOUNT, FIXED_ASSET, CASH, UNDEPOSITED_FUNDS, LIABILITY, ACCOUNTS_PAYABLE, CREDIT_CARD, SHAREHOLDER_LOAN, PAYROLL_LIABILITY, SALES_TAXES_PAYABLE, LINE_OF_CREDIT, NOTES_PAYABLE, TIPS, UNEARNED_REVENUE, UNDEPOSITED_OUTFLOWS, CONTRIBUTIONS, DISTRIBUTIONS, COMMON_STOCK, ADDITIONAL_PAID_IN_CAPITAL, RETAINED_EARNINGS, ACCUMULATED_ADJUSTMENTS, OPENING_BALANCE_EQUITY, REVENUE, SALES, UNCATEGORIZED_REVENUE, RETURNS_ALLOWANCES, EXPENSE, COGS, OPERATING_EXPENSES, PAYROLL, TAXES_LICENSES, BAD_DEBT, or CHARITABLE_CONTRIBUTIONS

entries
array of Ledger Account Line Item objects

Array of Ledger Account Line Item objects representing ledger entries recorded in this account.

Journal Entry object

A journal entry within the general ledger.

id
string

Unique identifier of the journal entry.

business_id
string

ID of the business associated with this journal entry.

ledger_id
string

ID of the general ledger containing this journal entry.

agent
string

Entity that created the journal entry.

entry_type
enum

Type of entry. Example values: INVOICE_PAYMENT, EXPENSE

line_items
array of Ledger Account Line Item objects

Array of Ledger Account Line Items comprising the Journal Entry.

Ledger Account Line Item object

A ledger entry within a ledger account.

id
string

Unique identifier of the ledger account line item.

entry_id
string

ID of the Journal entry the ledger account line item was part of.

account
Ledger Account object

Simplified Ledger Account object containing this line item.

direction
enum

Direction of line item. Values can be: DEBIT, CREDIT

entry_at
ISO8601 timestamp

Timestamp of the financial transaction associated with the line item.

createdAt
ISO8601 timestamp

Timestamp when ledger entry was added to the ledger account.