---
title: "List accounting scripts V1"
method: GET
path: "/v1/accounting-scripts"
tags: ["Accounting scripts V1"]
---

# List accounting scripts V1

`GET /v1/accounting-scripts`

List existing accounting scripts for your organization.

## Query parameters

- `pageSize` integer
- `pageOffset` integer
- `debitAccountingAccount` string
- `creditAccountingAccount` string
- `programId` integer
- `eventTypeId` integer
- `entryTypeId` integer

## Response `200`

OK

- object
  - `has_next` boolean — Indicates whether there are more pages after the current page.
  - `items` object[] — Items returned by the request
    - `credit_accounting` AccountingAccount
      - `id` integer — Accounting account ID
      - `description` string — Description of the accounting account
      - `account` string — Accounting account number
      - `program_id` integer — Program ID
      - `created_at` string, date-time — Date and time when the accounting account was created (ISO 8601).
      - `deactivated_at` string, date-time — Date and time when the accounting account was deactivated (ISO 8601). Filled when the account is deactivated.
    - `cost_center` CostCenter
      - `debit_org` string, required — Number of your Org’s debit accounting account
      - `credit_org` string, required — Number of your Org’s credit accounting account
      - `debit_cost` string, required — Number of the cost center of the debit accounting account
      - `credit_cost` string, required — Number of the cost center of the credit accounting account
      - `deactivated_at` string, date-time — Date and time when the cost center was deactivated (ISO 8601). Filled when the account is deactivated.
    - `debit_accounting` AccountingAccount
      - `id` integer — Accounting account ID
      - `description` string — Description of the accounting account
      - `account` string — Accounting account number
      - `program_id` integer — Program ID
      - `created_at` string, date-time — Date and time when the accounting account was created (ISO 8601).
      - `deactivated_at` string, date-time — Date and time when the accounting account was deactivated (ISO 8601). Filled when the account is deactivated.
    - `entry_name` string — Base entry ID
    - `entry_type_id` integer — Related entry type ID
    - `event_type_id` integer — Related event type ID
    - `id` integer — Account script ID
    - `processing_code` string — Processing code. When the script is based on a processing code, this field is **REQUIRED**.
    - `program_id` integer — Related program ID

## Other responses

- `400` — Bad request

---

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