Account

Chart of Accounts entries. Most other endpoints reference account codes from here.

Path Parameter::CODE (string) — the account code in the URL path

Endpoints

GET
/account

List accounts with pagination and filters

GET
/account/:CODE

Get a single account by code

POST
/account

Create a new account

PUT
/account/:CODE

Update a account by code

DELETE
/account/:CODE

Delete a account by code

Fields

FieldTypeRequiredNotes
dockeyintegerNoSet to 0 on POST for auto-assign.
Default: 0
parentinteger
Yes
Parent account's dockey (integer, not the code). Valid parents: 3 (EQUITY), 18 (CURRENT ASSETS), 28 (CURRENT LIABILITIES), 60 (EXPENSES). Proven: 3.
codestring
Yes
Account code. Proven: "SUB-EQ".
descriptionstring
Yes
Account name. Proven: "Sub of Equity".
acctypestring
Yes
Classification. Values: "CP", "CA", "CL", "FA", "EP", "CO", "SA", "OI", "SL", "RE", "OA". Proven: "CA".
specialacctypestringNoSpecial type: "DC", "CC", "BA", "CH", "BS", "AD" or " ".
Default: " "
description2stringNoSecondary description.
Default: ""
taxstringNoDefault tax code for this account.
Default: ""
cashflowtypeintegerNoCash flow classification.
Default: 0
sicstringNoSIC code.
Default: ""

Examples

POST — Create Account (full template)

POST /account
{
  "dockey": 0,
  "parent": 3,
  "code": "SUB-EQ",
  "description": "Sub of Equity",
  "description2": "",
  "acctype": "CA",
  "specialacctype": "  ",
  "tax": "",
  "cashflowtype": 0,
  "sic": ""
}

GET — Find Parent Accounts

GET /account?offset=0

Notes