Accounting scripts V1

Update accounting script V1

Update accounting script.

patch/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

Path parameters

accountingScriptIdinteger required

Accounting script ID

Request body

debit_accounting_account_idinteger

Debit accounting account ID

credit_accounting_account_idinteger

Credit accounting account ID

debit_coststring

Debit cost center

credit_coststring

Credit cost center

entry_namestring

New entry name (e.g., "amount", "interest", "iof"). Must match the allow-list from POST /v1/accounting-scripts.

Response

OK

new_idinteger

Unique identifier of the newly created accounting script. (The old one will be deactivated)

Changes

No recorded changes to this operation across all 1 revision of this API.