Create a new category

Creates a new category for the specified entity

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

entityIdstringRequired

The ID of the entity to create the category for

Request

This endpoint expects an object.
namestringRequired

The name of the category

typeenumRequired

The type of category. Must be one of:

  • ASSET - For asset accounts
  • LIABILITY - For liability accounts
  • EQUITY - For equity accounts
  • REVENUE - For revenue accounts
  • EXPENSE - For expense accounts
Allowed values:
subTypeCodeinteger or nullOptional

Optional subtype code for the category

Response

Category created successfully

categoryobjectOptional

Errors