v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Accounting scripts V1

Get accounting script V1

Get a specific accounting script by its ID.

get/v1/accounting-scripts/{accountingScriptId}

Path parameters

accountingScriptIdinteger required

Accounting script ID

Response

OK

entry_namestring

Base entry ID

entry_type_idinteger

Related entry type ID

event_type_idinteger

Related event type ID

idinteger

Account script ID

processing_codestring

Processing code. When the script is based on a processing code, this field is REQUIRED.

program_idinteger

Related program ID

Example response

{
  "credit_accounting": {
    "id": 1,
    "description": "SAMPLE ACCOUNT",
    "account": "123123132-x",
    "program_id": 12,
    "created_at": "2021-10-10T10:10:00.000Z"
  },
  "cost_center": {
    "debit_org": "999999",
    "credit_org": "999999",
    "debit_cost": "999999",
    "credit_cost": "999999",
    "deactivated_at": "2021-10-10T10:10:00.000Z"
  },
  "debit_accounting": {
    "id": 1,
    "description": "SAMPLE ACCOUNT",
    "account": "123123132-x",
    "program_id": 12,
    "created_at": "2021-10-10T10:10:00.000Z"
  }
}