Account
No description
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 > The Account ID is the actual ID that the account have in the database and are 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 > Id of the account's currency.This column appears in the ERP UI only if support for multiple currencies has been activated for the company.
Account.taxCategoryId
● String
scalar
taxCategoryId > A tax category that you define for the selected account. When you create a journal transaction manually in the GL301000 window, based on this VAT category, the taxable amount will be calculated for the journal entry.
Account.useDefaultSubaccount
● Boolean!
non-null scalar
useDefaultSubaccount > A check box in the ERP UI that causes the system (if selected) to set the default subaccount as the Subaccount if the account is selected.
Account.deletedDatabaseRecord
● Boolean!
non-null scalar
deletedDatabaseRecord > Indicates whether the record has been soft deleted, meaning it remains in the database but is no longer visible in the UI.(True/False)
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 > Number - These are codes for free usage and you have to register values in the ERP UI - External codes 1 (GL20251S) window.
Account.externalCode2
● String
scalar
externalCode2 > Number - These are codes for free usage and you have to register values in the ERP UI - External codes 1 (GL20252S) window.
Account.analysisCode
● String
scalar
analysisCode > This codes for free usage and you have to register values in the ERP UI - BI analysis codes (GL20253S) window.
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 > The unique identifier of the company
Account.id
● String!
non-null scalar
id > The unique identifier of the document
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