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

## Request

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

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