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",
            "defaultExpenseSplit": "string",
            "defaultExpenseSplitByLocation": "boolean",
            "defaultLiabilityAccountId": "int32",
            "defaultLiabilitySplit": "string",
            "defaultLiabilitySplitByLocation": "boolean",
            "employeeExpenseAccountId": "int32",
            "employeeExpenseSplit": "string",
            "employeeExpenseSplitByLocation": "boolean",
            "employerLiabilityExpenseAccountId": "int32",
            "employerLiabilityExpenseSplit": "string",
            "employerLiabilityExpenseSplitByLocation": "boolean",
            "employerLiabilityLiabilityAccountId": "int32",
            "employerLiabilityLiabilitySplit": "string",
            "employerLiabilityLiabilitySplitByLocation": "boolean",
            "kiwiSaverEmployeeLiabilityAccountId": "int32",
            "kiwiSaverEmployeeLiabilitySplit": "string",
            "kiwiSaverEmployeeLiabilitySplitByLocation": "boolean",
            "kiwiSaverEmployerExpenseAccountId": "int32",
            "kiwiSaverEmployerExpenseSplit": "string",
            "kiwiSaverEmployerExpenseSplitByLocation": "boolean",
            "kiwiSaverEmployerLiabilityAccountId": "int32",
            "kiwiSaverEmployerLiabilitySplit": "string",
            "kiwiSaverEmployerLiabilitySplitByLocation": "boolean",
            "payeExpenseAccountId": "int32",
            "payeExpenseSplit": "string",
            "payeExpenseSplitByLocation": "boolean",
            "payeLiabilityAccountId": "int32",
            "payeLiabilityAccountSplit": "string",
            "payeLiabilityAccountSplitByLocation": "boolean",
            "paymentAccountId": "int32",
            "paymentAccountSplit": "string",
            "paymentAccountSplitByLocation": "boolean",
            "studentLoanLiabilityAccountId": "int32",
            "studentLoanLiabilitySplit": "string",
            "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",
                "kiwiSaverEmployeeLiabilityAccountId": "int32",
                "kiwiSaverEmployerExpenseAccountId": "int32",
                "kiwiSaverEmployerLiabilityAccountId": "int32",
                "payeExpenseAccountId": "int32",
                "payeLiabilityAccountId": "int32",
                "paymentAccountId": "int32",
                "studentLoanLiabilityAccountId": "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 NzChartOfAccountsGroupModel
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 NzChartOfAccountsDefaultAccountsModel
chartofAccounts.defaultAccounts.defaultExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.defaultExpenseSplit string AccountSplit

Possible values are:

  • None
  • Location
  • EmployingEntity
chartofAccounts.defaultAccounts.defaultExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.defaultLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.defaultLiabilitySplit string AccountSplit

Possible values are:

  • None
  • Location
  • EmployingEntity
chartofAccounts.defaultAccounts.defaultLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.employeeExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.employeeExpenseSplit string AccountSplit

Possible values are:

  • None
  • Location
  • EmployingEntity
chartofAccounts.defaultAccounts.employeeExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.employerLiabilityExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.employerLiabilityExpenseSplit string AccountSplit

Possible values are:

  • None
  • Location
  • EmployingEntity
chartofAccounts.defaultAccounts.employerLiabilityExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.employerLiabilityLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.employerLiabilityLiabilitySplit string AccountSplit

Possible values are:

  • None
  • Location
  • EmployingEntity
chartofAccounts.defaultAccounts.employerLiabilityLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.kiwiSaverEmployeeLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.kiwiSaverEmployeeLiabilitySplit string AccountSplit

Possible values are:

  • None
  • Location
  • EmployingEntity
chartofAccounts.defaultAccounts.kiwiSaverEmployeeLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.kiwiSaverEmployerExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.kiwiSaverEmployerExpenseSplit string AccountSplit

Possible values are:

  • None
  • Location
  • EmployingEntity
chartofAccounts.defaultAccounts.kiwiSaverEmployerExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.kiwiSaverEmployerLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.kiwiSaverEmployerLiabilitySplit string AccountSplit

Possible values are:

  • None
  • Location
  • EmployingEntity
chartofAccounts.defaultAccounts.kiwiSaverEmployerLiabilitySplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.payeExpenseAccountId int32 Nullable
chartofAccounts.defaultAccounts.payeExpenseSplit string AccountSplit

Possible values are:

  • None
  • Location
  • EmployingEntity
chartofAccounts.defaultAccounts.payeExpenseSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.payeLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.payeLiabilityAccountSplit string AccountSplit

Possible values are:

  • None
  • Location
  • EmployingEntity
chartofAccounts.defaultAccounts.payeLiabilityAccountSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.paymentAccountId int32 Nullable
chartofAccounts.defaultAccounts.paymentAccountSplit string AccountSplit

Possible values are:

  • None
  • Location
  • EmployingEntity
chartofAccounts.defaultAccounts.paymentAccountSplitByLocation boolean Boolean
chartofAccounts.defaultAccounts.studentLoanLiabilityAccountId int32 Nullable
chartofAccounts.defaultAccounts.studentLoanLiabilitySplit string AccountSplit

Possible values are:

  • None
  • Location
  • EmployingEntity
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 NzChartOfAccountsLocationAccountsModel
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.kiwiSaverEmployeeLiabilityAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.kiwiSaverEmployerExpenseAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.kiwiSaverEmployerLiabilityAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.payeExpenseAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.payeLiabilityAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.paymentAccountId int32 Nullable
locationSpecificChartOfAccounts[].defaultAccounts.studentLoanLiabilityAccountId 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