Methods

  • get - Get Chart of Accounts
  • post - Update Chart of Accounts

Resource

{
    "chartofAccounts": {
        "deductionCategories": [
            {
                "expenseAccountId": "int32",
                "id": "int32",
                "liabilityAccountId": "int32",
                "name": "string",
                "splitByLocation": "boolean"
            }
        ],
        "defaultAccounts": {
            "defaultExpenseAccountId": "int32",
            "defaultExpenseSplitByLocation": "boolean",
            "defaultLiabilityAccountId": "int32",
            "defaultLiabilitySplitByLocation": "boolean",
            "employeeExpenseAccountId": "int32",
            "employeeExpenseSplitByLocation": "boolean",
            "employeeNationalInsuranceLiabilityAccountId": "int32",
            "employeeNationalInsuranceLiabilitySplitByLocation": "boolean",
            "employeePensionLiabilityAccountId": "int32",
            "employeePensionLiabilitySplitByLocation": "boolean",
            "employerLiabilityExpenseAccountId": "int32",
            "employerLiabilityExpenseSplitByLocation": "boolean",
            "employerLiabilityLiabilityAccountId": "int32",
            "employerLiabilityLiabilitySplitByLocation": "boolean",
            "employerNationalInsuranceLiabilitySplitByLocation": "boolean",
            "employerPensionExpenseAccountId": "int32",
            "employerPensionExpenseSplitByLocation": "boolean",
            "employerPensionLiabilityAccountId": "int32",
            "employerPensionLiabilitySplitByLocation": "boolean",
            "nationalInsuranceExpenseAccountId": "int32",
            "nationalInsuranceExpenseSplitByLocation": "boolean",
            "nationalInsuranceLiabilityAccountId": "int32",
            "nationalInsuranceLiabilitySplitByLocation": "boolean",
            "payeExpenseAccountId": "int32",
            "payeExpenseSplitByLocation": "boolean",
            "payeLiabilityAccountId": "int32",
            "payeLiabilityAccountSplitByLocation": "boolean",
            "paymentAccountId": "int32",
            "paymentAccountSplitByLocation": "boolean",
            "postgraduateStudentLoanLiabilityAccountId": "int32",
            "postgraduateStudentLoanLiabilitySplitByLocation": "boolean",
            "studentLoanLiabilityAccountId": "int32",
            "studentLoanLiabilitySplitByLocation": "boolean"
        },
        "employeeExpenseCategories": [
            {
                "expenseAccountId": "int32",
                "id": "int32",
                "name": "string",
                "splitByLocation": "boolean"
            }
        ],
        "employerLiabilityCategories": [
            {
                "expenseAccountId": "int32",
                "id": "int32",
                "liabilityAccountId": "int32",
                "name": "string",
                "splitByLocation": "boolean"
            }
        ],
        "payCategories": [
            {
                "expenseAccountId": "int32",
                "id": "int32",
                "name": "string",
                "splitByLocation": "boolean"
            }
        ]
    },
    "complete": "boolean",
    "locationSpecificChartOfAccounts": [
        {
            "deductionCategories": [
                {
                    "expenseAccountId": "int32",
                    "id": "int32",
                    "liabilityAccountId": "int32",
                    "name": "string"
                }
            ],
            "defaultAccounts": {
                "defaultExpenseAccountId": "int32",
                "defaultLiabilityAccountId": "int32",
                "employeeExpenseAccountId": "int32",
                "employerLiabilityExpenseAccountId": "int32",
                "employerLiabilityLiabilityAccountId": "int32",
                "paymentAccountId": "int32"
            },
            "employeeExpenseCategories": [
                {
                    "expenseAccountId": "int32",
                    "id": "int32",
                    "name": "string"
                }
            ],
            "employerLiabilityCategories": [
                {
                    "expenseAccountId": "int32",
                    "id": "int32",
                    "liabilityAccountId": "int32",
                    "name": "string"
                }
            ],
            "locationId": "int32",
            "payCategories": [
                {
                    "expenseAccountId": "int32",
                    "id": "int32",
                    "name": "string"
                }
            ]
        }
    ]
}

Properties

Name Type Description
chartofAccounts object UkChartOfAccountsGroupModel
chartofAccounts.deductionCategories[] array
chartofAccounts.deductionCategories[].expenseAccountId int32 Nullable
chartofAccounts.deductionCategories[].id int32 Int32
chartofAccounts.deductionCategories[].liabilityAccountId int32 Nullable
chartofAccounts.deductionCategories[].name string String
chartofAccounts.deductionCategories[].splitByLocation boolean Boolean
chartofAccounts.defaultAccounts object UkChartOfAccountsDefaultAccountsModel
chartofAccounts.defaultAccounts.defaultExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.defaultExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.defaultLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.defaultLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.employeeExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.employeeExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.employeeNationalInsuranceLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.employeeNationalInsuranceLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.employeePensionLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.employeePensionLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.employerLiabilityExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.employerLiabilityExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.employerLiabilityLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.employerLiabilityLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.employerNationalInsuranceLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.employerPensionExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.employerPensionExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.employerPensionLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.employerPensionLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.nationalInsuranceExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.nationalInsuranceExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.nationalInsuranceLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.nationalInsuranceLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.payeExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.payeExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.payeLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.payeLiabilityAccountSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.paymentAccountId int32 Nullable
chartofAccounts.defaultAccounts.paymentAccountSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.postgraduateStudentLoanLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.postgraduateStudentLoanLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.studentLoanLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.studentLoanLiabilitySplitByLocation boolean Boolean
chartofAccounts.employeeExpenseCategories[] array
chartofAccounts.employeeExpenseCategories[].expenseAccountId int32 Nullable
chartofAccounts.employeeExpenseCategories[].id int32 Int32
chartofAccounts.employeeExpenseCategories[].name string String
chartofAccounts.employeeExpenseCategories[].splitByLocation boolean Boolean
chartofAccounts.employerLiabilityCategories[] array
chartofAccounts.employerLiabilityCategories[].expenseAccountId int32 Nullable
chartofAccounts.employerLiabilityCategories[].id int32 Int32
chartofAccounts.employerLiabilityCategories[].liabilityAccountId int32 Nullable
chartofAccounts.employerLiabilityCategories[].name string String
chartofAccounts.employerLiabilityCategories[].splitByLocation boolean Boolean
chartofAccounts.payCategories[] array
chartofAccounts.payCategories[].expenseAccountId int32 Nullable
chartofAccounts.payCategories[].id int32 Int32
chartofAccounts.payCategories[].name string String
chartofAccounts.payCategories[].splitByLocation boolean Boolean
complete boolean Boolean
locationSpecificChartOfAccounts[] array
locationSpecificChartOfAccounts[].deductionCategories[] array
locationSpecificChartOfAccounts[].deductionCategories[].expenseAccountId int32 Nullable
locationSpecificChartOfAccounts[].deductionCategories[].id int32 Int32
locationSpecificChartOfAccounts[].deductionCategories[].liabilityAccountId int32 Nullable
locationSpecificChartOfAccounts[].deductionCategories[].name string String
locationSpecificChartOfAccounts[].defaultAccounts object ChartOfAccountsLocationAccountsModel
locationSpecificChartOfAccounts[].defaultAccounts.defaultExpenseAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.defaultLiabilityAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.employeeExpenseAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.employerLiabilityExpenseAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.employerLiabilityLiabilityAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.paymentAccountId int32 Nullable
locationSpecificChartOfAccounts[].employeeExpenseCategories[] array
locationSpecificChartOfAccounts[].employeeExpenseCategories[].expenseAccountId int32 Nullable
locationSpecificChartOfAccounts[].employeeExpenseCategories[].id int32 Int32
locationSpecificChartOfAccounts[].employeeExpenseCategories[].name string String
locationSpecificChartOfAccounts[].employerLiabilityCategories[] array
locationSpecificChartOfAccounts[].employerLiabilityCategories[].expenseAccountId int32 Nullable
locationSpecificChartOfAccounts[].employerLiabilityCategories[].id int32 Int32
locationSpecificChartOfAccounts[].employerLiabilityCategories[].liabilityAccountId int32 Nullable
locationSpecificChartOfAccounts[].employerLiabilityCategories[].name string String
locationSpecificChartOfAccounts[].locationId int32 Int32
locationSpecificChartOfAccounts[].payCategories[] array
locationSpecificChartOfAccounts[].payCategories[].expenseAccountId int32 Nullable
locationSpecificChartOfAccounts[].payCategories[].id int32 Int32
locationSpecificChartOfAccounts[].payCategories[].name string String