GLAccount - accountsIQ/API-Wiki GitHub Wiki

It represents a general ledger account in the accountsIQ system. It is used by all posting and transaction creating functions.

GL Account

GLAccount members

Name Type Description Constraints
GLAccountCode String Get the unique general ledger account identifier.
  • Cannot be null or empty.
  • Cannot be more than 50 characters long
  • GLAccountName String Get/Set the general ledger account name or description.
  • Cannot be null or empty.
  • Cannot be more than 50 characters long
  • GLGroupID String Get/Set the identifier of the general ledger group the account belongs to.
  • It is not mandatory.
  • Cannot be empty.
  • Cannot be more than 50 characters long
  • GLTypeID GLType Get the account type of the general ledger account.
    Possible values are:
    • Posting
    • Control
    • Bank
    • VAT
    CurrencyCode String Get the currency used by the general ledger account. Can only be the system's base currency code.
    TaxID String Get/Set the default VAT account code applied to transaction hitting this general ledger account.
    • Cannot be NULL.
    • Cannot be empty.
    • Cannot be more than 50 characters long
    GLCategoryID String Get/Set the general ledger category unique identifier.
    • Cannot be NULL.
    • Cannot be empty.
    • Cannot be more than 50 characters long
    GLSubCategoryID String Get/Set the general ledger sub-category unique identifier.
    • Cannot be NULL.
    • Cannot be empty.
    • Cannot be more than 50 characters long
    Notes String Get/Set user notes on the account.
    • Cannot be longer than 250 characters long.
    UserID String Get the user identifier of the account's creator.
    • Cannot be longer than 8 characters long.
    ReferenceGLAccountCode String Get/Set an account as being the reference GL account for the current account. Not mandatory.
    • Cannot be null.
    • Cannot be empty.
    • Cannot be longer than 50 characters long.
    DepartmentID String Get/Set a default department for all transaction hitting the general ledger account. Not mandatory.
    • Cannot be empty.
    • Cannot be longer than 50 characters long.
    ParentGLAccountCode String Get/Set a general account code as being the parent of the current account. Used with statistics. Not mandatory.
    • Cannot be empty.
    • Cannot be longer than 50 characters long.
    Departmental Boolean Get/Set a flag indicating whether the general ledger account is departmental or not.

    If it is, all transactions hitting the account must carry a valid department identifier.
      ⚠️ **GitHub.com Fallback** ⚠️