---
title: "Update accounting scripts V1"
method: PATCH
path: "/v1/accounting-scripts/batch"
tags: ["Accounting scripts V1"]
---

# Update accounting scripts V1

`PATCH /v1/accounting-scripts/batch`

Update accounting scripts.

## Request body

- BatchAccountingScriptPatch
  - `operations` object[]
    - `accounting_script_id` integer — Accounting script ID
    - `set` AccountingScriptPatch
      - `debit_account_number` string — Debit account accounting number
      - `credit_account_number` string — Credit account accounting number
      - `debit_cost` string — Debit cost center
      - `credit_cost` string — Credit cost center

## Response `200`

OK

- AccountingScriptPatchResponse

## Other responses

- `400` — Bad request - invalid parameter

---

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