Account
Accounts. Represents a general ledger account.
type Account {
accountId: Int!
accountCd: String!
type: String!
accountClassId: String
active: Boolean!
description: String
curyId: String
taxCategoryId: String
useDefaultSubaccount: Boolean!
deletedDatabaseRecord: Boolean!
isCashAccount: Boolean!
controlAccountModule: String
publicCode1: String
publicCode2: String
externalCode1: String
externalCode2: String
analysisCode: String
externalCode1Description: String
externalCode2Description: String
analysisCodeDescription: String
groupCd: String
companyId: Int!
id: String!
createdInDataMartDateTime: DateTime!
updatedInDataMartDateTime: DateTime!
}
Fields
Account.accountId ● Int! non-null scalar
accountId > (PK) The Account ID is the actual ID that the account has in the database and is used in other tables as the relation between the Chart of accounts table and other tables.
Account.accountCd ● String! non-null scalar
accountCd > The unique identifier of the general ledger account in the system.
Account.type ● String! non-null scalar
type > The type of account: Asset, Liability, Income, or Expense.
Account.accountClassId ● String scalar
accountClassId > Id of the account class to which the account is assigned.
Account.active ● Boolean! non-null scalar
active > Status that indicates whether the account is active. (True/False).
Account.description ● String scalar
description > An alphanumeric string of up to 30 characters that describes the account.
Account.curyId ● String scalar
curyId > The identifier of the account's currency. Only applicable if multi-currency support is enabled for the company.
Account.taxCategoryId ● String scalar
taxCategoryId > The tax category assigned to this account. Used to calculate the taxable amount for journal entries created for this account.
Account.useDefaultSubaccount ● Boolean! non-null scalar
useDefaultSubaccount > Indicates whether the system automatically assigns the default subaccount when this account is selected.
Account.deletedDatabaseRecord ● Boolean! non-null scalar
deletedDatabaseRecord > Indicates whether this record has been marked as deleted in the database.
Account.isCashAccount ● Boolean! non-null scalar
isCashAccount > Status that indicates whether the account has a cash account or multiple cash accounts linked to it. (True/False).
Account.controlAccountModule ● String scalar
controlAccountModule > Field that indicates what ledger used for a control account module. Supplier ledger / Customer ledger or both Supplier & Customer ledger.
Account.publicCode1 ● String scalar
publicCode1 > The authorities valid code mapped to the account. Used for example in SAF-T and in some nationals reporting to the authorities.
Account.publicCode2 ● String scalar
publicCode2 > The authorities valid code mapped to the account. Used for example in SAF-T and in some nationals reporting to the authorities.
Account.externalCode1 ● String scalar
externalCode1 > A user-defined code for custom categorization or external system integration.
Account.externalCode2 ● String scalar
externalCode2 > A user-defined code for custom categorization or external system integration.
Account.analysisCode ● String scalar
analysisCode > A user-defined code for business intelligence analysis and reporting.
Account.externalCode1Description ● String scalar
externalCode1Description > String description field of externalCode1.
Account.externalCode2Description ● String scalar
externalCode2Description > String description field of externalCode2.
Account.analysisCodeDescription ● String scalar
analysisCodeDescription > String description field of analysisCode.
Account.groupCd ● String scalar
groupCd > The unique identifier of the account group (used in project management if the Projects module has been activated in the ERP company) that includes this account.
Account.companyId ● Int! non-null scalar
companyId > (PK) The unique identifier of the company.
Account.id ● String! non-null scalar
id > The unique identifier of the document in DataMart.
Account.createdInDataMartDateTime ● DateTime! non-null scalar
createdInDataMartDateTime > The UTC DateTime when this document has been added to DataMart.
Account.updatedInDataMartDateTime ● DateTime! non-null scalar
updatedInDataMartDateTime > The UTC DateTime when this document has been updated in DataMart.
Returned By
accountById query ● accounts query