Create a new category
Create a new transaction category (Chart of Accounts entry) for an entity. This creates the category in both the TigerBeetle ledger system and the local database.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
entityId
The ID of the entity to create the category for
Request
This endpoint expects an object.
name
Name of the category
type
Account type for the category
Allowed values:
financialType
More specific financial classification (optional - will be auto-determined if not provided)
accountCode
Account code for organization (optional - will be auto-assigned if not provided)
subTypeCode
Sub-type code for detailed classification (optional - will be auto-assigned if not provided)
Response
Category created successfully
category
message