v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Accounting entry types

Get accounting entry type (outdated)

Get a specific accounting entry type by its ID.

This endpoint is outdated and new endpoint is available: Get accounting entry type.

Refer to Search for accounting entry types for more information.

get/v1/entry-types/{entryTypeId}

Path parameters

entryTypeIdinteger required

Entry type ID

Response

OK

idinteger

Entry type ID

descriptionstring

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_idstring

Organization ID

Example response

{
  "id": 101,
  "description": "CREDIT",
  "type": "DUE_DATE",
  "org_id": "TN-cc8f8b89-233a-4582-9f36-63ee85278d6d",
  "history": {
    "org_id": "TN-cc8f8b89-233a-4582-9f36-63ee85278d6d",
    "action": "Created",
    "reason": "Creation of a new entry type configuration.",
    "responsible": "John Doe",
    "version": 1,
    "jsonb": "{\"id\": 101, \"description\": \"CREDIT\", \"type\": \"DUE_DATE\", \"reason\": \"Creation of a new entry type configuration.\", \"responsible\": \"John Doe\", \"created_at\": \"2021-10-10T10:10:00Z\"}",
    "created_at": "2021-10-10T10:10:00Z"
  }
}