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

# List accounting scripts V1

`GET /v1/accounting-scripts`

## Request

- Base URL: `https://sandbox.pismolabs.io/accounting`
- URL: `https://sandbox.pismolabs.io/accounting/v1/accounting-scripts`
- Auth: HTTP bearer

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 if there are more items to be retrieved.
  - `items` object[]: Items retrieved from a given 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.dev/pismo/apis/core-platform-accounting.md) - [All operations](https://skmtc.dev/pismo/apis/core-platform-accounting/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/core-platform-accounting/revisions/fdb645c3e65c?raw)
