v1

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

List accounting scripts V1

List existing accounting scripts for your organization.

get/v1/accounting-scripts

Query parameters

pageSizeinteger

Maximum number of accounting event types per page.

pageOffsetinteger

Number to offset page resuts. For example, value 2 returns the third page. Defaults to 0, which returns the first page.

debitAccountingAccountstring

List all accounting scripts related to a debit accounting account

creditAccountingAccountstring

List all accounting scripts related to a credit accounting account

programIdinteger

List all accounting scripts related to a program

eventTypeIdinteger

List all accounting scripts related to an event type

entryTypeIdinteger

List all accounting scripts related to an entry type

Response

OK

has_nextboolean

Indicates whether there are more pages after the current page.

Example response

{
  "items": [
    {
      "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"
      }
    }
  ]
}