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": {
            "cpfEmployeeLiabilityAccountId": "int32",
            "cpfEmployeeLiabilitySplitByLocation": "boolean",
            "cpfEmployerExpenseAccountId": "int32",
            "cpfEmployerExpenseSplitByLocation": "boolean",
            "cpfEmployerLiabilityAccountId": "int32",
            "cpfEmployerLiabilitySplitByLocation": "boolean",
            "defaultExpenseAccountId": "int32",
            "defaultExpenseSplitByLocation": "boolean",
            "defaultLiabilityAccountId": "int32",
            "defaultLiabilitySplitByLocation": "boolean",
            "employeeExpenseAccountId": "int32",
            "employeeExpenseSplitByLocation": "boolean",
            "employerLiabilityExpenseAccountId": "int32",
            "employerLiabilityExpenseSplitByLocation": "boolean",
            "employerLiabilityLiabilityAccountId": "int32",
            "employerLiabilityLiabilitySplitByLocation": "boolean",
            "paymentAccountId": "int32",
            "paymentAccountSplitByLocation": "boolean",
            "sdlEmployerExpenseAccountId": "int32",
            "sdlEmployerExpenseSplitByLocation": "boolean",
            "sdlEmployerLiabilityAccountId": "int32",
            "sdlEmployerLiabilitySplitByLocation": "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": {
                "cpfEmployeeLiabilityAccountId": "int32",
                "cpfEmployerExpenseAccountId": "int32",
                "cpfEmployerLiabilityAccountId": "int32",
                "defaultExpenseAccountId": "int32",
                "defaultLiabilityAccountId": "int32",
                "employeeExpenseAccountId": "int32",
                "employerLiabilityExpenseAccountId": "int32",
                "employerLiabilityLiabilityAccountId": "int32",
                "paymentAccountId": "int32",
                "sdlEmployerExpenseAccountId": "int32",
                "sdlEmployerLiabilityAccountId": "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 SgChartOfAccountsGroupModel
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 SgChartOfAccountsDefaultAccountsModel
chartofAccounts.defaultAccounts.cpfEmployeeLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.cpfEmployeeLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.cpfEmployerExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.cpfEmployerExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.cpfEmployerLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.cpfEmployerLiabilitySplitByLocation boolean Boolean
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.employerLiabilityExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.employerLiabilityExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.employerLiabilityLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.employerLiabilityLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.paymentAccountId int32 Nullable
chartofAccounts.defaultAccounts.paymentAccountSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.sdlEmployerExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.sdlEmployerExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.sdlEmployerLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.sdlEmployerLiabilitySplitByLocation 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 SgChartOfAccountsLocationAccountsModel
locationSpecificChartOfAccounts[].defaultAccounts.cpfEmployeeLiabilityAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.cpfEmployerExpenseAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.cpfEmployerLiabilityAccountId int32 Nullable
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[].defaultAccounts.sdlEmployerExpenseAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.sdlEmployerLiabilityAccountId 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