Skip to main content
POST
Create a new bookkeeping category

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Include the token in the Authorization header as: Bearer <token>

Body

application/json;charset=UTF-8
archived
boolean
required

Boolean flag used to determine if the bookkeeping category is archived.

categoryGroupId
string<uuid>
required

Pleo's internal identifier of the bookkeeping category group the bookkeeping category is associated with.

companyId
string<uuid>
required

Pleo's internal identifier of the company the bookkeeping category is associated with.

name
string
required

Name of the bookkeeping category.

Maximum string length: 255
accountId
string<uuid> | null

Pleo's internal identifier of the bookkeeping account the bookkeeping category is associated with.

metadata
object | null

Place for API users to store flexible data.

taxCodeId
string<uuid> | null

Pleo's internal identifier of the tax code the bookkeeping category is associated with.

Response

201 - application/json

Bookkeeping category created.

data
object
required

Represents a bookkeeping category in Pleo.