---
title: "Get accounting script V1"
method: GET
path: "/v1/accounting-scripts/{accountingScriptId}"
tags: ["Accounting scripts V1"]
---

# Get accounting script V1

`GET /v1/accounting-scripts/{accountingScriptId}`

Get a specific accounting script by its ID.

## Path parameters

- `accountingScriptId` integer, required

## Response `200`

OK

- AccountingScript
  - `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

- `404` — Accounting script not found

---

[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)
