Skip to main content
POST
Create a new bookkeeping category group

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 archive or unarchive a bookkeeping category group (when set to true, bookkeeping category group is neither visible nor usable on the platform).

companyId
string<uuid>
required

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

name
string
required

Name of the bookkeeping category group.

Maximum string length: 255
type
enum<string>
required

Bookkeeping category group types supported by Pleo. Used to classify category groups in frontend.

Available options:
ENTERTAINMENT,
EQUIPMENT_AND_HARDWARE,
MARKETING_AND_ADVERTISING,
MEALS_AND_DRINKS,
OFFICE_EXPENSES,
PHONE_AND_INTERNET,
SERVICES_AND_CONSULTANCY,
SOFTWARE,
SUPPLIES,
TRAVEL,
OTHER,
NO_SUITABLE_CATEGORY
metadata
object | null

Place for API users to store flexible data.

Response

201 - application/json

Bookkeeping category group created.

data
object
required