---
title: "Create an account for a company"
method: POST
path: "/accounts"
tags: ["Accounts"]
deprecated: true
---

# Create an account for a company

`POST /accounts`

> **Deprecated.**

## Request body

- AccountCreationRequest
  - `accountNumber` string — Account number
  - `name` string — Description of this account
  - `taxCodeId` string — unique Tax Code ID
  - `accountCategoryId` string — unique Category ID of the account
  - `hidden` boolean — Is the account hidden/archived for the user

## Response `200`

An account has been created

- AccountResponse
  - `id` string, required — The unique UUID identifier of the account
  - `accountNumber` string — Account number
  - `taxCodeId` string — unique Tax Code ID
  - `name` string, required — Description of this account
  - `accountCategoryId` string, required — unique Category ID of the account
  - `hidden` boolean, required — Is the account hidden/archived for the user

## Other responses

- `400` — validation error
- `401` — request unauthorized
- `403` — Request forbidden; user has insufficient rights to a resource.
- `404` — route not found
- `500` — Something went wrong. Please contact the administrator if problems persist.

---

[API](https://skmtc.net/pleo/apis/gjoll-api.md) · [All operations](https://skmtc.net/pleo/apis/gjoll-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pleo/gjoll-api/versions/c70cd21dc330/schema)
