BETA

Operation Type Object Dto
Mutation createAccountingAccount AccountingAccountCreateGLDtoInput
Mutation updateAccountingAccount AccountingAccountUpdateGLDtoInput
Mutation deleteAccountingAccount AccountingAccountDeleteGLDtoInput
Query accountingAccountById AccountingAccountGLDto
Query accountingAccounts AccountingAccountGLDto

Description

Chart of accounts.
The chart of accounts is a list of the financial accounts used by a business to record transactions.
The coding of accounting codes must comply with the country’s regulations

Key Value
Authorization Bearer Current access Token
X-TenantId Current tenant id obtained from userProfile
X-OrganizationId Current organization Id
x-api-key Primary or secondary subscription key of your app

accountingAccounts

Fields Type Description Length
id UUID Id  
code string Code 13
name string Name 100
description string Code and Name  
deactivated boolean Deactivated  
accountLevel
  • UNDEFINED
  • GROUP
  • SUB_GROUP
  • ACCOUNT
  • BREAKDOWN
  • SUB_ACCOUNT
  • TOTAL
Level  
subAccountType
  • UNDEFINED
  • CUSTOMER
  • PROVIDER
  • BANK
  • CASH
  • CHARGE
  • REVENUE
  • CAPITAL
  • FIXED_ASSET
  • MANAGEMENT_RESULT
  • DEPRECIATION_PROVISION
  • STOCK
  • RESULT_BALANCE_ SHEET
  • EMPLOYEE
  • TITLE
  • CURRENT_ASSETS
  • BORROWED_CAPITAL
  • COST
  • REDUCTION_IN_EXPENSES
  • NEUTRAL_REVENUE
  • NEUTRAL_EXPENSES
  • SALES_DEDUCTION
  • EXCHANGE_RATE_INCOME
  • EXCHANGE_RATE_EXPENSE
  • BALANCE_CARRIED_FORWARD
  • AGGREGATE_CARRIED_FORWARD
  • OTHER_BALANCE_SHEET_ACCOUNT
  • STATISTICAL_BALANCE
  • STATISTICAL_CONSUMPTION
Nature of account  
accountType
  • UNDEFINED
  • BALANCE_SHEET
  • INCOME_STATEMENT
  • SPECIAL
  • ECPN
Category  
taxTreatmentId UUID Taxcode  
Info
  • deactivated: Deactivating an accounting account means that the account is not available for generate new accounting entries. But it will still be displayed in all the information that has been generated using that account.
  • accountLevel:

    France (FR)
    Spain (ES)
    Germany (DE)
    • Group: Unused (For Spain only).
    • Subgroup: Unused (For Spain only).
    • Account: Unused (For Spain only).
    • Breakdown: Unused (For Spain only).
    • Subaccount: Accounting account of Detail. Is composed for minimum 6 or more digits. Subaccount can be used only to generate accounting entries.
    • Total: Used for the balance guides.
    • Group: Accounting account of Total. Only 1 digit is allowed. Represents an element of the organization’s financial statement
    • Subgroup: Accounting account of Total. Is composed of 2 digits. It’s a division of the financial statement element.
    • Account: Accounting account of Total. Is composed of 3 digits. These are the accounts defined according to each country’s chart of accounts.
    • Breakdown: Accounting account of Total. Is composed of 4 digits. It’s a division of the Account.
    • Subaccount: Accounting account of Detail. Is composed for minimum 5 or more digits. Subaccount can be used only to generate accounting entries.
    • Total: Unused (For France only).
    • Group: Unused (For Spain only).
    • Subgroup: Unused (For Spain only).
    • Account: Unused (For Spain only).
    • Breakdown: Unused (For Spain only).
    • Subaccount: Accounting account. Is composed of 4 digits. Subaccount can be used only to generate accounting entries.
    • Total: Unused (For France only).
  • subAccountType : only used if accountLevel is set to SUB_ACCOUNT.

    France (FR)
    Spain (ES)
    Germany (DE)

    Only these values can be used:

    • UNDEFINED
    • CUSTOMER
    • PROVIDER
    • BANK
    • CASH
    • CHARGE
    • REVENUE
    • CAPITAL
    • FIXED_ASSET
    • MANAGEMENT_RESULT
    • DEPRECIATION_PROVISION
    • STOCK
    • RESULT_BALANCE_SHEET
    • EMPLOYEE
    • TITLE

    Only these values can be used:

    • UNDEFINED
    • CUSTOMER
    • PROVIDER
    • BANK
    • CASH
    • CHARGE
    • REVENUE
    • CAPITAL
    • FIXED_ASSET
    • EMPLOYEE

    Only these values can be used:

    • UNDEFINED
    • CUSTOMER
    • PROVIDER
    • BANK
    • CASH
    • CHARGE
    • REVENUE
    • CAPITAL
    • FIXED_ASSET
    • MANAGEMENT_RESULT
    • EMPLOYEE
    • CURRENT_ASSETS
    • BORROWED_CAPITAL
    • COST
    • REDUCTION_IN_EXPENSES
    • NEUTRAL_REVENUE
    • NEUTRAL_EXPENSES
    • SALES_DEDUCTION
    • EXCHANGE_RATE_INCOME
    • EXCHANGE_RATE_EXPENSE
    • BALANCE_CARRIED_FORWARD
    • AGGREGATE_CARRIED_FORWARD
    • OTHER_BALANCE_SHEET_ACCOUNT
    • STATISTICAL_BALANCE
    • STATISTICAL_CONSUMPTION
  • accountType:

    France (FR)
    Spain (ES)
    Germany (DE)
    • Balance sheet: account classes 1 to 5
    • Income statement : account classes 6 and 7
    • Special : account classes 8 and 9
    • ECPN : Unused (For Spain only).
    • Balance sheet: account classes 1 to 5
    • Income statement : account classes 6 and 7
    • Special :Unused (For France only).
    • ECPN : Financial statements in net worth classes 8 and 9
    • Balance sheet: account classes 0, 1, 9
    • Income statement : account classes 2 to 8
    • Special :Unused (For France only).
    • ECPN : Unused (For Spain only).

Delete restrictions

For an account to be deleted, you must not: