v1

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

Get accounting entry type

Get a specific accounting entry type by its ID with its historic information.

get/v2/entry-types/{entryTypeId}

Path parameters

entryTypeIdinteger required

Numeric 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.
reasonstring

Reason for the operation.

responsiblestring

User name or ID of the person performing the operation.

Example response

{
  "id": 101,
  "description": "CREDIT",
  "type": "DUE_DATE",
  "reason": "Creation of a new entry type configuration.",
  "responsible": "John Doe",
  "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"
    }
  ]
}