v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Accounting scripts V2

List accounting scripts V2

List existing accounting scripts for your organization.

get/v2/accounting-scripts

Query parameters

pageSizeinteger

Maximum number of accounting event types per page.

pageOffsetinteger

Number to offset page resuts. For example, value 2 returns the third page. Defaults to 0, which returns the first page.

debitAccountingAccountstring

List all accounting scripts related to a debit accounting account

creditAccountingAccountstring

List all accounting scripts related to a credit accounting account

programIdinteger

List all accounting scripts related to a program

eventTypeIdinteger

List all accounting scripts related to an event type

entryTypeIdinteger

List all accounting scripts related to an entry type

cashInBucketNameinteger

List all accounting scripts related to a cash-in bucket name

cashOutBucketNameinteger

List all accounting scripts related to a cash-out bucket name

isStagestring

List all accounting scripts in production or staging environment

Response

OK

has_nextboolean

Indicates whether there are more pages after the current page.

Example response

{
  "items": [
    {
      "debit_accounting": {
        "description": "SAMPLE ACCOUNT",
        "account": "123123132-x"
      },
      "credit_accounting": {
        "description": "SAMPLE ACCOUNT",
        "account": "123123132-x"
      },
      "cost_center": {
        "debit_org": "999999",
        "credit_org": "999999",
        "debit_cost": "999999",
        "credit_cost": "999999"
      },
      "parameters": {
        "name": "pismo:timing",
        "value": "REGULAR, DUEDATE"
      },
      "cash_in_bucket": {
        "name": "bacen_pre_2039",
        "account": 123456
      },
      "cash_out_bucket": {
        "name": "bacen_pre_2039",
        "account": 123456
      },
      "is_database_stage": "yes",
      "min_days_due": 30,
      "max_days_due": 90,
      "history": {
        "org_id": "TN-cc8f8b89-233a-4582-9f36-63ee85278d6d",
        "action": "Created",
        "reason": "Creation of a new entry type configuration.",
        "responsible": "John Doe",
        "version": 1,
        "jsonb": "{\"id\": 101, \"description\": \"CREDIT\", \"type\": \"DUE_DATE\", \"reason\": \"Creation of a new entry type configuration.\", \"responsible\": \"John Doe\", \"created_at\": \"2021-10-10T10:10:00Z\"}",
        "created_at": "2021-10-10T10:10:00Z"
      }
    }
  ]
}