classifications

Create a chart of accounts

Create a new chart of accounts.

post/v3/classifications/chart-of-accounts

Request

  • Base URL
    https://gateway.stage.bill.com/connect
  • URL
    https://gateway.stage.bill.com/connect/v3/classifications/chart-of-accounts
  • Auth
    none declared

Headers

sessionIdstring nullable

API session ID generated with /v3/login

Example:{{session_id}}
devKeystring nullable

Developer key generated with your BILL developer account

Example:{{developer_key}}

Request body

namestring required

Chart of accounts name

descriptionstring

Chart of accounts description

parentIdstring

BILL-generated ID of the parent chart of accounts. You can set this field if this chart of accounts is a child object.

Example request

{
  "name": "Prepaid Expenses",
  "description": "Prepaid expenses for the upcoming quarter",
  "account": {
    "type": "EXPENSE",
    "number": "1-020"
  }
}

Response

Create a chart of accounts response

idstring

BILL-generated ID of the chart of accounts. The value begins with 0ca.

archivedboolean

Set as true if the chart of accounts is archived

namestring

Chart of accounts name

descriptionstring

Chart of accounts description

parentIdstring

BILL-generated ID of the parent chart of accounts. You can set this field if this chart of accounts is a child object.

createdTimestring date-time

Created date and time

updatedTimestring date-time

Updated date and time

Changes

No recorded changes to this operation across all 2 revisions of this API.