---
title: "Create accounting entry types"
method: POST
path: "/v2/entry-types"
tags: ["Accounting entry types"]
---

# Create accounting entry types

`POST /v2/entry-types`

Create accounting entry type for your organization.

## Request body

- EntryTypePost
  - `id` integer, required — Entry type ID
  - `description` string, required — Entry type description.
  - `type` 'DUE_DATE' | 'CREATION', required — Set the entry type: * `CREATION`: Default value for new entries. Also, this value is assumed when type is not provided. * `DUE_DATE`: Used only with a credit program to indicate a due date entry.
  - `reason` string, required — Reason for the operation.
  - `responsible` string — User name or ID of the person performing the operation.

## Response `201`

Ok

- EntryType[]
  - `id` integer — Entry type ID
  - `description` string — Entry type description.
  - `type` 'DUE_DATE' | 'CREATION' — Set the entry type: * `CREATION`: Default value for new entries. Also, this value is assumed when type is not provided. * `DUE_DATE`: Used only with a credit program to indicate a due date entry.
  - `org_id` string — Organization ID
  - `history` History — Historical information for auditing the entity.
    - `org_id` string — Organization ID
    - `action` string — Action performed on the entity.
    - `reason` string — Reason for the operation.
    - `responsible` string — User name or ID of the person performing the operation.
    - `version` integer — Entity version.
    - `jsonb` string — JSON representation of the request body.
    - `created_at` string, date-time — Date and time when the history was created (ISO 8601). Format: YYYY-MM-DDThh:mm:ssZ.

## Other responses

- `400` — Bad request when a provided parameter is invalid
- `409` — Bad request (conflict) when ID already exists
- `500` — Internal server error

---

[API](https://skmtc.dev/pismo/apis/platform-authentication.md) · [All operations](https://skmtc.dev/pismo/apis/platform-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pismo/platform-authentication/revisions/935b62e16de4/schema)
