GLACCT: GL Account
General ledger account for financial reporting and asset capitalisation.
Default definition. This article describes the default
GLACCT definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches GLACCT.Entity properties
| Property | Value |
|---|---|
| Entity code | GLACCT |
| Display name | GL Account |
| Plural | GL Accounts |
| Level | 60300 |
Use cases
GLACCT is a shared financial lookup entity referenced by ITASSET, COMPINV, FINASSET, and COMP. It provides a controlled list of GL account codes that map to the organisation's chart of accounts. The accountType categorises accounts for reporting (Asset/Expense/Liability/Revenue/Equity).
Fields
GL Account
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Account Name. |
accountNumber | text | Yes | Account Number. |
description | text (multi-line) | Description. |
Details
| Field | Type | Required | Notes |
|---|---|---|---|
accountType | enum | Yes | Valid ids: 1 (Asset), 2 (Expense), 3 (Liability), 4 (Revenue), 5 (Equity). |
parentAccount | reference → GLACCT | Parent Account. | |
active | enum | Yes | Valid ids: 1 (Yes), 0 (No). |
Relationships
- Lookups:
parentAccountpoints at aGLACCTrecord.
Creating a GL Account via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "GLACCT",
"level": 60300,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example",
"accountNumber": "...",
"accountType": "1",
"active": "1"
}
Listing GL Accounts
# All records in your tenant
GET /v1/entities/GLACCT/SUB:<your-sub-id>