{
  "openapi": "3.0.3",
  "info": {
    "title": "SQL Flow API",
    "version": "1.0.10",
    "description": "The local REST API for SQL Accounting: v2 (/v2/api/\u2026) and the PHP-compatible v1 (/api/\u2026). Every request needs a bearer token; the X-Company header picks the company. A v1 path also answers under any longer path that starts with it."
  },
  "servers": [
    {
      "url": "/"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "parameters": {
      "company": {
        "name": "X-Company",
        "in": "header",
        "required": false,
        "description": "The company\u0027s code; without it, the token\u0027s default company or the install\u0027s default.",
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "security": [
    {
      "bearer": []
    }
  ],
  "paths": {
    "/api/agent/recent": {
      "get": {
        "operationId": "getAgentRecent",
        "summary": "GET /api/agent/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "agent"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/agent": {
      "get": {
        "operationId": "getAgent",
        "summary": "GET /api/agent",
        "description": "List route on AGENT. Token scope: read.",
        "tags": [
          "agent"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(80)"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/gl-account/recent": {
      "get": {
        "operationId": "getGlAccountRecent",
        "summary": "GET /api/gl-account/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "gl-account"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "SHOWCONTROLACC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/gl-account": {
      "get": {
        "operationId": "getGlAccount",
        "summary": "GET /api/gl-account",
        "description": "List route on GL_ACC. Token scope: read.",
        "tags": [
          "gl-account"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "PARENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(200)"
            }
          },
          {
            "name": "SHOWCONTROLACC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/payment-method": {
      "get": {
        "operationId": "getPaymentMethod",
        "summary": "GET /api/payment-method",
        "description": "List route on PMMETHOD. Token scope: read.",
        "tags": [
          "payment-method"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/tax/recent": {
      "get": {
        "operationId": "getTaxRecent",
        "summary": "GET /api/tax/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "tax"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/tax": {
      "get": {
        "operationId": "getTax",
        "summary": "GET /api/tax",
        "description": "List route on TAX. Token scope: read.",
        "tags": [
          "tax"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(200)"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/stock-group/recent": {
      "get": {
        "operationId": "getStockGroupRecent",
        "summary": "GET /api/stock-group/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "stock-group"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/stock-group": {
      "get": {
        "operationId": "getStockGroup",
        "summary": "GET /api/stock-group",
        "description": "List route on ST_GROUP. Token scope: read.",
        "tags": [
          "stock-group"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "SALES",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "SALESRETURNED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "PURCHASE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CASHPURCHASE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "PURCHASERETURNED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "BALANCESTOCK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "COSTINGMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "SMALLINT"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postStockGroup",
        "summary": "POST /api/stock-group",
        "description": "List route on ST_GROUP. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stock-group"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "SALES": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "SALESRETURNED": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CASHSALES": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PURCHASE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CASHPURCHASE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PURCHASERETURNED": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "BALANCESTOCK": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COSTINGMETHOD": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "ISACTIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                },
                "required": [
                  "CODE"
                ]
              },
              "example": {
                "CODE": "ZZT-GROUP",
                "DESCRIPTION": "Explorer test group"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putStockGroup",
        "summary": "PUT /api/stock-group",
        "description": "List route on ST_GROUP. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stock-group"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            },
            "example": "ZZT-GROUP"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "SALES": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "SALESRETURNED": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CASHSALES": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PURCHASE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CASHPURCHASE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PURCHASERETURNED": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "BALANCESTOCK": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COSTINGMETHOD": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "ISACTIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteStockGroup",
        "summary": "DELETE /api/stock-group",
        "description": "List route on ST_GROUP. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stock-group"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            },
            "example": "ZZT-GROUP"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/stock-item/recent": {
      "get": {
        "operationId": "getStockItemRecent",
        "summary": "GET /api/stock-item/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "stock-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/stock-item": {
      "get": {
        "operationId": "getStockItem",
        "summary": "GET /api/stock-item",
        "description": "List route on ST_ITEM. Token scope: read.",
        "tags": [
          "stock-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(30)"
            }
          },
          {
            "name": "STOCKCONTROL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "COSTINGMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "SMALLINT"
            }
          },
          {
            "name": "STOCKGROUP",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(200)"
            }
          },
          {
            "name": "DESCRIPTION2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(200)"
            }
          },
          {
            "name": "DESCRIPTION3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BLOB"
            }
          },
          {
            "name": "REMARK1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(200)"
            }
          },
          {
            "name": "REMARK2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(200)"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "CREATIONDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postStockItem",
        "summary": "POST /api/stock-item",
        "description": "List route on ST_ITEM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stock-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION3": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "STOCKGROUP": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "STOCKCONTROL": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "COSTINGMETHOD": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "SERIALNUMBER": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "REMARK1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "REMARK2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "MINQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "MAXQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "REORDERLEVEL": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "REORDERQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SHELF": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "SUOM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "ITEMTYPE": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "LEADTIME": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BOM_LEADTIME": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BOM_ASMCOST": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SLTAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PHTAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "STOCKMATRIX": {
                    "type": "string",
                    "format": "VARCHAR(15)"
                  },
                  "DEFUOM_ST": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DEFUOM_SL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DEFUOM_PH": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "SCRIPTCODE": {
                    "type": "string",
                    "format": "VARCHAR(15)"
                  },
                  "ISACTIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "BALSQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BALSUOMQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "CREATIONDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "PICTURE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "PICTURECLASS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "UOM": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "UOM": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "RATE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "REFCOST": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "REFPRICE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "MINCOST": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "MAXCOST": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "MINPRICE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "MAXPRICE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "ISBASE": {
                          "type": "string",
                          "format": "BOOLEAN"
                        }
                      },
                      "required": [
                        "UOM",
                        "ISBASE"
                      ]
                    }
                  },
                  "BOM": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "AUTOKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "SUBCODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "SEQ": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "LOCATION": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "BATCH": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "BOMPACKAGE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "QTY": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "UOM": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "OVERHEADCOST": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "ISWASTAGE": {
                          "type": "string",
                          "format": "BOOLEAN"
                        },
                        "NUMBER": {
                          "type": "string",
                          "format": "VARCHAR(5)"
                        },
                        "DESCRIPTION2": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "DESCRIPTION3": {
                          "type": "string",
                          "format": "BLOB"
                        },
                        "REMARK1": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "REMARK2": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        }
                      },
                      "required": [
                        "SUBCODE",
                        "QTY",
                        "UOM"
                      ]
                    }
                  },
                  "SupplierItem": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "COMPANY": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "CTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "COMPANYITEMCODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "DESCRIPTION": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        }
                      },
                      "required": [
                        "COMPANY"
                      ]
                    }
                  },
                  "CustomerItem": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "COMPANY": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "CTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "COMPANYITEMCODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "DESCRIPTION": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        }
                      },
                      "required": [
                        "COMPANY"
                      ]
                    }
                  },
                  "SupplierPrice": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DTLKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "TAGTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "COMPANY": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "SEQ": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "PRICETAG": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "UOM": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "QTY": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "STOCKVALUE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "DISCOUNT": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "DATEFROM": {
                          "type": "string",
                          "format": "DATE"
                        },
                        "DATETO": {
                          "type": "string",
                          "format": "DATE"
                        },
                        "NOTE": {
                          "type": "string",
                          "format": "BLOB"
                        }
                      },
                      "required": [
                        "COMPANY",
                        "PRICETAG",
                        "UOM"
                      ]
                    }
                  },
                  "CustomerPrice": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DTLKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "TAGTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "COMPANY": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "SEQ": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "PRICETAG": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "UOM": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "QTY": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "STOCKVALUE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "DISCOUNT": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "DATEFROM": {
                          "type": "string",
                          "format": "DATE"
                        },
                        "DATETO": {
                          "type": "string",
                          "format": "DATE"
                        },
                        "NOTE": {
                          "type": "string",
                          "format": "BLOB"
                        }
                      },
                      "required": [
                        "COMPANY",
                        "PRICETAG",
                        "UOM"
                      ]
                    }
                  },
                  "AltStockItem": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "ALTCODE": {
                          "type": "string",
                          "format": "VARCHAR(35)"
                        },
                        "UOM": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        }
                      },
                      "required": [
                        "ALTCODE"
                      ]
                    }
                  },
                  "OpeningBalance": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "ITEMCODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "LOCATION": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "BATCH": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "PROJECT": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "SEQ": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "QTY": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "SUOMQTY": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "COST": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "UTDCOST": {
                          "type": "number",
                          "format": "DECIMAL"
                        }
                      },
                      "required": [
                        "LOCATION",
                        "QTY",
                        "COST"
                      ]
                    }
                  },
                  "Category": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "CATEGORY": {
                          "type": "string",
                          "format": "VARCHAR(15)"
                        }
                      },
                      "required": [
                        "CATEGORY"
                      ]
                    }
                  },
                  "Barcode": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "AUTOKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "BARCODE": {
                          "type": "string",
                          "format": "VARCHAR(50)"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "UOM": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        }
                      },
                      "required": [
                        "BARCODE"
                      ]
                    }
                  }
                }
              },
              "example": {
                "CODE": "ZZT-ITEM",
                "DESCRIPTION": "Explorer test item",
                "STOCKGROUP": "DEFAULT",
                "UOM": [
                  {
                    "UOM": "UNIT",
                    "RATE": "1",
                    "REFPRICE": "10.00",
                    "ISBASE": "T"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putStockItem",
        "summary": "PUT /api/stock-item",
        "description": "List route on ST_ITEM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stock-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(30)"
            },
            "example": "ZZT-ITEM"
          },
          {
            "name": "STOCKGROUP",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION3": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "STOCKGROUP": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "STOCKCONTROL": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "COSTINGMETHOD": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "SERIALNUMBER": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "REMARK1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "REMARK2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "MINQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "MAXQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "REORDERLEVEL": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "REORDERQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SHELF": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "SUOM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "ITEMTYPE": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "LEADTIME": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BOM_LEADTIME": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BOM_ASMCOST": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SLTAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PHTAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "STOCKMATRIX": {
                    "type": "string",
                    "format": "VARCHAR(15)"
                  },
                  "DEFUOM_ST": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DEFUOM_SL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DEFUOM_PH": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "SCRIPTCODE": {
                    "type": "string",
                    "format": "VARCHAR(15)"
                  },
                  "ISACTIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "BALSQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BALSUOMQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "CREATIONDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "PICTURE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "PICTURECLASS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "UOM": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "UOM": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "RATE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "REFCOST": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "REFPRICE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "MINCOST": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "MAXCOST": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "MINPRICE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "MAXPRICE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "ISBASE": {
                          "type": "string",
                          "format": "BOOLEAN"
                        }
                      }
                    }
                  },
                  "BOM": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "AUTOKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "SUBCODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "SEQ": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "LOCATION": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "BATCH": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "BOMPACKAGE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "QTY": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "UOM": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "OVERHEADCOST": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "ISWASTAGE": {
                          "type": "string",
                          "format": "BOOLEAN"
                        },
                        "NUMBER": {
                          "type": "string",
                          "format": "VARCHAR(5)"
                        },
                        "DESCRIPTION2": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "DESCRIPTION3": {
                          "type": "string",
                          "format": "BLOB"
                        },
                        "REMARK1": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "REMARK2": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        }
                      }
                    }
                  },
                  "SupplierItem": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "COMPANY": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "CTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "COMPANYITEMCODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "DESCRIPTION": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        }
                      }
                    }
                  },
                  "CustomerItem": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "COMPANY": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "CTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "COMPANYITEMCODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "DESCRIPTION": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        }
                      }
                    }
                  },
                  "SupplierPrice": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DTLKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "TAGTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "COMPANY": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "SEQ": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "PRICETAG": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "UOM": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "QTY": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "STOCKVALUE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "DISCOUNT": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "DATEFROM": {
                          "type": "string",
                          "format": "DATE"
                        },
                        "DATETO": {
                          "type": "string",
                          "format": "DATE"
                        },
                        "NOTE": {
                          "type": "string",
                          "format": "BLOB"
                        }
                      }
                    }
                  },
                  "CustomerPrice": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DTLKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "TAGTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "COMPANY": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "SEQ": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "PRICETAG": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "UOM": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "QTY": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "STOCKVALUE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "DISCOUNT": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "DATEFROM": {
                          "type": "string",
                          "format": "DATE"
                        },
                        "DATETO": {
                          "type": "string",
                          "format": "DATE"
                        },
                        "NOTE": {
                          "type": "string",
                          "format": "BLOB"
                        }
                      }
                    }
                  },
                  "AltStockItem": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "ALTCODE": {
                          "type": "string",
                          "format": "VARCHAR(35)"
                        },
                        "UOM": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        }
                      }
                    }
                  },
                  "OpeningBalance": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "ITEMCODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "LOCATION": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "BATCH": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "PROJECT": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "SEQ": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "QTY": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "SUOMQTY": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "COST": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "UTDCOST": {
                          "type": "number",
                          "format": "DECIMAL"
                        }
                      }
                    }
                  },
                  "Category": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "CATEGORY": {
                          "type": "string",
                          "format": "VARCHAR(15)"
                        }
                      }
                    }
                  },
                  "Barcode": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "AUTOKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "BARCODE": {
                          "type": "string",
                          "format": "VARCHAR(50)"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "UOM": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        }
                      }
                    }
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      }
    },
    "/api/sales-order-item": {
      "get": {
        "operationId": "getSalesOrderItem",
        "summary": "GET /api/sales-order-item",
        "description": "List route on SL_SODTL. Token scope: read.",
        "tags": [
          "sales-order-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(200)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSalesOrderItem",
        "summary": "POST /api/sales-order-item",
        "description": "List route on SL_SODTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-order-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "STYLEID": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "NUMBER": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "ITEMCODE": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "LOCATION": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "BATCH": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION3": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "PERMITNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "QTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UOM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "RATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SUOMQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "OFFSETQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNITPRICE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DELIVERYDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DISC": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXEXEMPTIONREASON": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "PRINTABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "REMARK1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "REMARK2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "INITIALPURCHASECOST": {
                    "type": "number",
                    "format": "DECIMAL"
                  }
                }
              },
              "example": {
                "ITEMCODE": "ANT",
                "QTY": "1",
                "UNITPRICE": "10.00"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSalesOrderItem",
        "summary": "PUT /api/sales-order-item",
        "description": "List route on SL_SODTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-order-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "STYLEID": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "NUMBER": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "ITEMCODE": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "LOCATION": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "BATCH": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION3": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "PERMITNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "QTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UOM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "RATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SUOMQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "OFFSETQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNITPRICE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DELIVERYDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DISC": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXEXEMPTIONREASON": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "PRINTABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "REMARK1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "REMARK2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "INITIALPURCHASECOST": {
                    "type": "number",
                    "format": "DECIMAL"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesOrderItem",
        "summary": "DELETE /api/sales-order-item",
        "description": "List route on SL_SODTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-order-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-order/recent": {
      "get": {
        "operationId": "getSalesOrderRecent",
        "summary": "GET /api/sales-order/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "sales-order"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-order/view": {
      "get": {
        "operationId": "getSalesOrderView",
        "summary": "GET /api/sales-order/view",
        "description": "List route on SL_SO. Token scope: read.",
        "tags": [
          "sales-order"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-order": {
      "get": {
        "operationId": "getSalesOrder",
        "summary": "GET /api/sales-order",
        "description": "List route on SL_SO. Token scope: read.",
        "tags": [
          "sales-order"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSalesOrder",
        "summary": "POST /api/sales-order",
        "description": "List route on SL_SO. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-order"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "ADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "POSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "STATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "COUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "PHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "MOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "ATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SHIPPER": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "D_DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "D_PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "D_CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "D_PAYMENTPROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "D_BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "D_BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "D_AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "VALIDITY": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DELIVERYTERM": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CC": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF3": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF4": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BRANCHNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "DADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DPOSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DCITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DSTATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DCOUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "DATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "DPHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DMOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DFAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "INCOTERMS": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PRINTCOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DOCNO": "ZZT-0001",
                "CODE": "300-A0002",
                "DOCDATE": "30/10/2026",
                "DESCRIPTION": "Sent from the API explorer"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSalesOrder",
        "summary": "PUT /api/sales-order",
        "description": "List route on SL_SO. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-order"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "ADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "POSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "STATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "COUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "PHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "MOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "ATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SHIPPER": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "D_DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "D_PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "D_CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "D_PAYMENTPROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "D_BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "D_BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "D_AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "VALIDITY": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DELIVERYTERM": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CC": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF3": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF4": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BRANCHNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "DADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DPOSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DCITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DSTATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DCOUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "DATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "DPHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DMOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DFAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "INCOTERMS": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PRINTCOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesOrder",
        "summary": "DELETE /api/sales-order",
        "description": "List route on SL_SO. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-order"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-delivery-order-item": {
      "get": {
        "operationId": "getSalesDeliveryOrderItem",
        "summary": "GET /api/sales-delivery-order-item",
        "description": "List route on SL_DODTL. Token scope: read.",
        "tags": [
          "sales-delivery-order-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(200)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSalesDeliveryOrderItem",
        "summary": "POST /api/sales-delivery-order-item",
        "description": "List route on SL_DODTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-delivery-order-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "STYLEID": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "NUMBER": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "ITEMCODE": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "LOCATION": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "BATCH": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION3": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "PERMITNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "RECEIVEQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "RETURNQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "QTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UOM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "RATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SUOMQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNITPRICE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DISC": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXEXEMPTIONREASON": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "PRINTABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "REMARK1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "REMARK2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "INITIALPURCHASECOST": {
                    "type": "number",
                    "format": "DECIMAL"
                  }
                }
              },
              "example": {
                "ITEMCODE": "ANT",
                "QTY": "1",
                "UNITPRICE": "10.00"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSalesDeliveryOrderItem",
        "summary": "PUT /api/sales-delivery-order-item",
        "description": "List route on SL_DODTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-delivery-order-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "STYLEID": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "NUMBER": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "ITEMCODE": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "LOCATION": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "BATCH": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION3": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "PERMITNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "RECEIVEQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "RETURNQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "QTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UOM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "RATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SUOMQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNITPRICE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DISC": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXEXEMPTIONREASON": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "PRINTABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "REMARK1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "REMARK2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "INITIALPURCHASECOST": {
                    "type": "number",
                    "format": "DECIMAL"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesDeliveryOrderItem",
        "summary": "DELETE /api/sales-delivery-order-item",
        "description": "List route on SL_DODTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-delivery-order-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-delivery-order/recent": {
      "get": {
        "operationId": "getSalesDeliveryOrderRecent",
        "summary": "GET /api/sales-delivery-order/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "sales-delivery-order"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-delivery-order/view": {
      "get": {
        "operationId": "getSalesDeliveryOrderView",
        "summary": "GET /api/sales-delivery-order/view",
        "description": "List route on SL_DO. Token scope: read.",
        "tags": [
          "sales-delivery-order"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-delivery-order": {
      "get": {
        "operationId": "getSalesDeliveryOrder",
        "summary": "GET /api/sales-delivery-order",
        "description": "List route on SL_DO. Token scope: read.",
        "tags": [
          "sales-delivery-order"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSalesDeliveryOrder",
        "summary": "POST /api/sales-delivery-order",
        "description": "List route on SL_DO. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-delivery-order"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "ADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "POSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "STATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "COUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "PHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "MOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "ATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SHIPPER": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "D_AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "VALIDITY": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DELIVERYTERM": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CC": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF3": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF4": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BRANCHNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "DADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DPOSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DCITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DSTATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DCOUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "DATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "DPHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DMOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DFAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "INCOTERMS": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PRINTCOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DOCNO": "ZZT-0001",
                "CODE": "300-A0002",
                "DOCDATE": "30/10/2026",
                "DESCRIPTION": "Sent from the API explorer"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSalesDeliveryOrder",
        "summary": "PUT /api/sales-delivery-order",
        "description": "List route on SL_DO. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-delivery-order"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "ADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "POSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "STATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "COUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "PHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "MOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "ATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SHIPPER": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "D_AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "VALIDITY": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DELIVERYTERM": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CC": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF3": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF4": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BRANCHNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "DADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DPOSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DCITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DSTATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DCOUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "DATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "DPHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DMOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DFAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "INCOTERMS": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PRINTCOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesDeliveryOrder",
        "summary": "DELETE /api/sales-delivery-order",
        "description": "List route on SL_DO. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-delivery-order"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-invoice-item": {
      "get": {
        "operationId": "getSalesInvoiceItem",
        "summary": "GET /api/sales-invoice-item",
        "description": "List route on SL_IVDTL. Token scope: read.",
        "tags": [
          "sales-invoice-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(200)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSalesInvoiceItem",
        "summary": "POST /api/sales-invoice-item",
        "description": "List route on SL_IVDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-invoice-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "STYLEID": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "NUMBER": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "ITEMCODE": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "LOCATION": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "BATCH": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION3": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "PERMITNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "QTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UOM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "RATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SUOMQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNITPRICE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DELIVERYDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DISC": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXEXEMPTIONREASON": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXABLEAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PRINTABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "REMARK1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "REMARK2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "INITIALPURCHASECOST": {
                    "type": "number",
                    "format": "DECIMAL"
                  }
                },
                "required": [
                  "ITEMCODE",
                  "QTY"
                ]
              },
              "example": {
                "ITEMCODE": "ANT",
                "QTY": "1",
                "UNITPRICE": "10.00"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSalesInvoiceItem",
        "summary": "PUT /api/sales-invoice-item",
        "description": "List route on SL_IVDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-invoice-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "STYLEID": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "NUMBER": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "ITEMCODE": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "LOCATION": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "BATCH": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION3": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "PERMITNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "QTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UOM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "RATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SUOMQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNITPRICE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DELIVERYDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DISC": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXEXEMPTIONREASON": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXABLEAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PRINTABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "REMARK1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "REMARK2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "INITIALPURCHASECOST": {
                    "type": "number",
                    "format": "DECIMAL"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesInvoiceItem",
        "summary": "DELETE /api/sales-invoice-item",
        "description": "List route on SL_IVDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-invoice-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-invoice/view": {
      "get": {
        "operationId": "getSalesInvoiceView",
        "summary": "GET /api/sales-invoice/view",
        "description": "List route on SL_IV. Token scope: read.",
        "tags": [
          "sales-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-invoice/recent": {
      "get": {
        "operationId": "getSalesInvoiceRecent",
        "summary": "GET /api/sales-invoice/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "sales-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-invoice": {
      "get": {
        "operationId": "getSalesInvoice",
        "summary": "GET /api/sales-invoice",
        "description": "List route on SL_IV. Token scope: read.",
        "tags": [
          "sales-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSalesInvoice",
        "summary": "POST /api/sales-invoice",
        "description": "List route on SL_IV. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "EIV_UTC": {
                    "type": "string",
                    "format": "TIMESTAMP"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "ADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "POSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "STATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "COUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "PHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "MOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "ATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SHIPPER": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "D_AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "VALIDITY": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DELIVERYTERM": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CC": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF3": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF4": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BRANCHNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "DADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DPOSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DCITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DSTATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DCOUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "DATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "DPHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DMOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DFAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "INCOTERMS": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_STATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_INTERNALID": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "IRBM_UUID": {
                    "type": "string",
                    "format": "VARCHAR(26)"
                  },
                  "IRBM_LONGID": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "EIVREQUEST_UUID": {
                    "type": "string",
                    "format": "VARCHAR(36)"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PRINTCOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DOCNO": "ZZT-0001",
                "CODE": "300-A0002",
                "DOCDATE": "30/10/2026",
                "DESCRIPTION": "Sent from the API explorer"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSalesInvoice",
        "summary": "PUT /api/sales-invoice",
        "description": "List route on SL_IV. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "EIV_UTC": {
                    "type": "string",
                    "format": "TIMESTAMP"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "ADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "POSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "STATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "COUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "PHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "MOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "ATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SHIPPER": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "D_AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "VALIDITY": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DELIVERYTERM": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CC": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF3": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF4": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BRANCHNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "DADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DPOSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DCITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DSTATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DCOUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "DATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "DPHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DMOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DFAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "INCOTERMS": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_STATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_INTERNALID": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "IRBM_UUID": {
                    "type": "string",
                    "format": "VARCHAR(26)"
                  },
                  "IRBM_LONGID": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "EIVREQUEST_UUID": {
                    "type": "string",
                    "format": "VARCHAR(36)"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PRINTCOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesInvoice",
        "summary": "DELETE /api/sales-invoice",
        "description": "List route on SL_IV. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-payment/knockoff": {
      "post": {
        "operationId": "postSalesPaymentKnockoff",
        "summary": "POST /api/sales-payment/knockoff",
        "description": "Knockoff route on AR_PM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCNO": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "KOAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        }
                      },
                      "required": [
                        "DOCNO",
                        "KOAMT"
                      ]
                    }
                  }
                },
                "required": [
                  "knockOff"
                ]
              },
              "example": {
                "knockOff": [
                  {
                    "DOCNO": "IV-00001",
                    "DOCTYPE": "IV",
                    "KOAMT": 200
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesPaymentKnockoff",
        "summary": "DELETE /api/sales-payment/knockoff",
        "description": "Knockoff route on AR_PM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "array of DOCNO"
                  }
                }
              },
              "example": {
                "knockOff": [
                  "IV-00001"
                ]
              }
            }
          }
        }
      }
    },
    "/api/sales-payment/recent": {
      "get": {
        "operationId": "getSalesPaymentRecent",
        "summary": "GET /api/sales-payment/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "sales-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-payment": {
      "get": {
        "operationId": "getSalesPayment",
        "summary": "GET /api/sales-payment",
        "description": "List route on AR_PM. Token scope: read.",
        "tags": [
          "sales-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(25)"
            }
          },
          {
            "name": "BANKREFNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(50)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSalesPayment",
        "summary": "POST /api/sales-payment",
        "description": "List route on AR_PM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "PAYMENTPROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKACC": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNAPPLIEDAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "NONREFUNDABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "BOUNCEDDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKTRANSFERTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKREFNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "BANKSTATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKSTATUSDESC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  }
                },
                "required": [
                  "CODE",
                  "DOCDATE",
                  "PAYMENTMETHOD",
                  "CURRENCYCODE",
                  "DOCAMT"
                ]
              },
              "example": {
                "DOCNO": "OR-TEST-0001",
                "CODE": "300-A0002",
                "DOCDATE": "30/10/2026",
                "PAYMENTMETHOD": "320-000",
                "CURRENCYCODE": "----",
                "DOCAMT": "500.00",
                "DESCRIPTION": "Sent from the API explorer"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSalesPayment",
        "summary": "PUT /api/sales-payment",
        "description": "List route on AR_PM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "PAYMENTPROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKACC": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNAPPLIEDAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "NONREFUNDABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "BOUNCEDDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKTRANSFERTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKREFNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "BANKSTATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKSTATUSDESC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer",
                "DOCAMT": "500.00"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesPayment",
        "summary": "DELETE /api/sales-payment",
        "description": "List route on AR_PM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-debit-note-item": {
      "get": {
        "operationId": "getSalesDebitNoteItem",
        "summary": "GET /api/sales-debit-note-item",
        "description": "List route on SL_DNDTL. Token scope: read.",
        "tags": [
          "sales-debit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSalesDebitNoteItem",
        "summary": "POST /api/sales-debit-note-item",
        "description": "List route on SL_DNDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-debit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "STYLEID": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "NUMBER": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "ITEMCODE": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "LOCATION": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "BATCH": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION3": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "PERMITNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "QTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UOM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "RATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SUOMQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNITPRICE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DELIVERYDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DISC": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXEXEMPTIONREASON": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PRINTABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "REMARK1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "REMARK2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  }
                },
                "required": [
                  "ITEMCODE",
                  "QTY",
                  "ACCOUNT"
                ]
              },
              "example": {
                "ITEMCODE": "ANT",
                "QTY": "1",
                "UNITPRICE": "10.00",
                "ACCOUNT": "500-000"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSalesDebitNoteItem",
        "summary": "PUT /api/sales-debit-note-item",
        "description": "List route on SL_DNDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-debit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "STYLEID": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "NUMBER": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "ITEMCODE": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "LOCATION": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "BATCH": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION3": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "PERMITNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "QTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UOM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "RATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SUOMQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNITPRICE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DELIVERYDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DISC": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXEXEMPTIONREASON": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PRINTABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "REMARK1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "REMARK2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesDebitNoteItem",
        "summary": "DELETE /api/sales-debit-note-item",
        "description": "List route on SL_DNDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-debit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-debit-note/view": {
      "get": {
        "operationId": "getSalesDebitNoteView",
        "summary": "GET /api/sales-debit-note/view",
        "description": "List route on SL_DN. Token scope: read.",
        "tags": [
          "sales-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-debit-note/recent": {
      "get": {
        "operationId": "getSalesDebitNoteRecent",
        "summary": "GET /api/sales-debit-note/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "sales-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-debit-note": {
      "get": {
        "operationId": "getSalesDebitNote",
        "summary": "GET /api/sales-debit-note",
        "description": "List route on SL_DN. Token scope: read.",
        "tags": [
          "sales-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSalesDebitNote",
        "summary": "POST /api/sales-debit-note",
        "description": "List route on SL_DN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "EIV_UTC": {
                    "type": "string",
                    "format": "TIMESTAMP"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "ADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "POSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "STATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "COUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "PHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "MOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "ATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SHIPPER": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "VALIDITY": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DELIVERYTERM": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CC": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF3": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF4": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BRANCHNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "DADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DPOSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DCITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DSTATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DCOUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "DATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "DPHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DMOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DFAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FROMDOC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "INCOTERMS": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_STATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_INTERNALID": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "IRBM_UUID": {
                    "type": "string",
                    "format": "VARCHAR(26)"
                  },
                  "IRBM_LONGID": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PRINTCOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                },
                "required": [
                  "CODE"
                ]
              },
              "example": {
                "DOCNO": "ZZT-0001",
                "CODE": "300-A0002",
                "DOCDATE": "30/10/2026",
                "DESCRIPTION": "Sent from the API explorer"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSalesDebitNote",
        "summary": "PUT /api/sales-debit-note",
        "description": "List route on SL_DN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "EIV_UTC": {
                    "type": "string",
                    "format": "TIMESTAMP"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "ADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "POSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "STATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "COUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "PHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "MOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "ATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SHIPPER": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "VALIDITY": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DELIVERYTERM": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CC": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF3": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF4": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BRANCHNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "DADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DPOSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DCITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DSTATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DCOUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "DATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "DPHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DMOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DFAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FROMDOC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "INCOTERMS": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_STATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_INTERNALID": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "IRBM_UUID": {
                    "type": "string",
                    "format": "VARCHAR(26)"
                  },
                  "IRBM_LONGID": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "TRANSFERABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PRINTCOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesDebitNote",
        "summary": "DELETE /api/sales-debit-note",
        "description": "List route on SL_DN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-credit-note-item": {
      "get": {
        "operationId": "getSalesCreditNoteItem",
        "summary": "GET /api/sales-credit-note-item",
        "description": "List route on SL_CNDTL. Token scope: read.",
        "tags": [
          "sales-credit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSalesCreditNoteItem",
        "summary": "POST /api/sales-credit-note-item",
        "description": "List route on SL_CNDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-credit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "STYLEID": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "NUMBER": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "ITEMCODE": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "LOCATION": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "BATCH": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION3": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "PERMITNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "QTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UOM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "RATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SUOMQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNITPRICE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNITCOST": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DISC": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXEXEMPTIONREASON": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PRINTABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "REMARK1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "REMARK2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "INITIALPURCHASECOST": {
                    "type": "number",
                    "format": "DECIMAL"
                  }
                },
                "required": [
                  "ITEMCODE",
                  "QTY",
                  "ACCOUNT"
                ]
              },
              "example": {
                "ITEMCODE": "ANT",
                "QTY": "1",
                "UNITPRICE": "10.00",
                "ACCOUNT": "500-000"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSalesCreditNoteItem",
        "summary": "PUT /api/sales-credit-note-item",
        "description": "List route on SL_CNDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-credit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "STYLEID": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "NUMBER": {
                    "type": "string",
                    "format": "VARCHAR(5)"
                  },
                  "ITEMCODE": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "LOCATION": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "BATCH": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DESCRIPTION3": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "PERMITNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "QTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UOM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "RATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SUOMQTY": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNITPRICE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNITCOST": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DISC": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXEXEMPTIONREASON": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PRINTABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "REMARK1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "REMARK2": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "INITIALPURCHASECOST": {
                    "type": "number",
                    "format": "DECIMAL"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesCreditNoteItem",
        "summary": "DELETE /api/sales-credit-note-item",
        "description": "List route on SL_CNDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-credit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-credit-note/view": {
      "get": {
        "operationId": "getSalesCreditNoteView",
        "summary": "GET /api/sales-credit-note/view",
        "description": "List route on SL_CN. Token scope: read.",
        "tags": [
          "sales-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-credit-note/recent": {
      "get": {
        "operationId": "getSalesCreditNoteRecent",
        "summary": "GET /api/sales-credit-note/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "sales-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-credit-note": {
      "get": {
        "operationId": "getSalesCreditNote",
        "summary": "GET /api/sales-credit-note",
        "description": "List route on SL_CN. Token scope: read.",
        "tags": [
          "sales-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSalesCreditNote",
        "summary": "POST /api/sales-credit-note",
        "description": "List route on SL_CN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "EIV_UTC": {
                    "type": "string",
                    "format": "TIMESTAMP"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "ADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "POSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "STATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "COUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "PHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "MOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "ATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SHIPPER": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "VALIDITY": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DELIVERYTERM": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CC": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF3": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF4": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BRANCHNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "DADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DPOSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DCITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DSTATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DCOUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "DATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "DPHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DMOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DFAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FROMDOC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "INCOTERMS": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_STATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_INTERNALID": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "IRBM_UUID": {
                    "type": "string",
                    "format": "VARCHAR(26)"
                  },
                  "IRBM_LONGID": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PRINTCOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                },
                "required": [
                  "CODE"
                ]
              },
              "example": {
                "DOCNO": "ZZT-0001",
                "CODE": "300-A0002",
                "DOCDATE": "30/10/2026",
                "DESCRIPTION": "Sent from the API explorer"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSalesCreditNote",
        "summary": "PUT /api/sales-credit-note",
        "description": "List route on SL_CN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "EIV_UTC": {
                    "type": "string",
                    "format": "TIMESTAMP"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "ADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "POSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "STATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "COUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "PHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "MOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "ATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "SHIPPER": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "VALIDITY": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DELIVERYTERM": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "CC": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF3": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCREF4": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BRANCHNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "DADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "DPOSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DCITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DSTATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DCOUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "DATTENTION": {
                    "type": "string",
                    "format": "VARCHAR(70)"
                  },
                  "DPHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DMOBILE": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "DFAX1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "FROMDOC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "INCOTERMS": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_STATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_INTERNALID": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "IRBM_UUID": {
                    "type": "string",
                    "format": "VARCHAR(26)"
                  },
                  "IRBM_LONGID": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PRINTCOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesCreditNote",
        "summary": "DELETE /api/sales-credit-note",
        "description": "List route on SL_CN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-refund/knockoff": {
      "post": {
        "operationId": "postSalesRefundKnockoff",
        "summary": "POST /api/sales-refund/knockoff",
        "description": "Knockoff route on AR_CF. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CFDOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-CF1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCNO": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "KOAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        }
                      },
                      "required": [
                        "DOCNO",
                        "KOAMT"
                      ]
                    }
                  }
                },
                "required": [
                  "knockOff"
                ]
              },
              "example": {
                "knockOff": [
                  {
                    "DOCNO": "CN-00001",
                    "DOCTYPE": "CN",
                    "KOAMT": 10
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesRefundKnockoff",
        "summary": "DELETE /api/sales-refund/knockoff",
        "description": "Knockoff route on AR_CF. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CFDOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-CF1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "array of DOCNO"
                  }
                }
              },
              "example": {
                "knockOff": [
                  "CN-00001"
                ]
              }
            }
          }
        }
      }
    },
    "/api/sales-refund/recent": {
      "get": {
        "operationId": "getSalesRefundRecent",
        "summary": "GET /api/sales-refund/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "sales-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/sales-refund": {
      "get": {
        "operationId": "getSalesRefund",
        "summary": "GET /api/sales-refund",
        "description": "List route on AR_CF. Token scope: read.",
        "tags": [
          "sales-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(25)"
            }
          },
          {
            "name": "BANKREFNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(50)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSalesRefund",
        "summary": "POST /api/sales-refund",
        "description": "List route on AR_CF. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "PAYMENTPROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKACC": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNAPPLIEDAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "BOUNCEDDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKTRANSFERTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKREFNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "BANKSTATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKSTATUSDESC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCNO": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "KOAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        }
                      },
                      "required": [
                        "DOCNO",
                        "KOAMT"
                      ]
                    }
                  }
                },
                "required": [
                  "CODE",
                  "DOCAMT",
                  "knockOff"
                ]
              },
              "example": {
                "DOCNO": "ZZT-CF1",
                "CODE": "300-A0002",
                "DOCDATE": "30/10/2026",
                "PAYMENTMETHOD": "320-000",
                "DESCRIPTION": "Refund of credit note",
                "DOCAMT": "50.00",
                "knockOff": [
                  {
                    "DOCNO": "CN-00001",
                    "KOAMT": "50.00"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSalesRefund",
        "summary": "PUT /api/sales-refund",
        "description": "List route on AR_CF. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-CF1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "PAYMENTPROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKACC": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNAPPLIEDAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "BOUNCEDDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKTRANSFERTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKREFNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "BANKSTATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKSTATUSDESC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCNO": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "KOAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        }
                      },
                      "required": [
                        "DOCNO",
                        "KOAMT"
                      ]
                    }
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSalesRefund",
        "summary": "DELETE /api/sales-refund",
        "description": "List route on AR_CF. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "sales-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-CF1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-invoice-item": {
      "get": {
        "operationId": "getCustomerInvoiceItem",
        "summary": "GET /api/customer-invoice-item",
        "description": "List route on AR_IVDTL. Token scope: read.",
        "tags": [
          "customer-invoice-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postCustomerInvoiceItem",
        "summary": "POST /api/customer-invoice-item",
        "description": "List route on AR_IVDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-invoice-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXABLEAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  }
                },
                "required": [
                  "ACCOUNT",
                  "DESCRIPTION",
                  "AMOUNT"
                ]
              },
              "example": {
                "ACCOUNT": "500-000",
                "DESCRIPTION": "Sent from the API explorer",
                "AMOUNT": "10.00"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putCustomerInvoiceItem",
        "summary": "PUT /api/customer-invoice-item",
        "description": "List route on AR_IVDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-invoice-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXABLEAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomerInvoiceItem",
        "summary": "DELETE /api/customer-invoice-item",
        "description": "List route on AR_IVDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-invoice-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-invoice/view": {
      "get": {
        "operationId": "getCustomerInvoiceView",
        "summary": "GET /api/customer-invoice/view",
        "description": "List route on AR_IV. Token scope: read.",
        "tags": [
          "customer-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DUEDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-invoice/recent": {
      "get": {
        "operationId": "getCustomerInvoiceRecent",
        "summary": "GET /api/customer-invoice/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "customer-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-invoice": {
      "get": {
        "operationId": "getCustomerInvoice",
        "summary": "GET /api/customer-invoice",
        "description": "List route on AR_IV. Token scope: read.",
        "tags": [
          "customer-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DUEDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postCustomerInvoice",
        "summary": "POST /api/customer-invoice",
        "description": "List route on AR_IV. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DUEDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "PAYMENTAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                },
                "required": [
                  "CODE"
                ]
              },
              "example": {
                "DOCNO": "ZZT-0001",
                "CODE": "300-A0002",
                "DOCDATE": "30/10/2026",
                "DESCRIPTION": "Sent from the API explorer"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putCustomerInvoice",
        "summary": "PUT /api/customer-invoice",
        "description": "List route on AR_IV. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DUEDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "PAYMENTAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomerInvoice",
        "summary": "DELETE /api/customer-invoice",
        "description": "List route on AR_IV. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-payment/knockoff": {
      "post": {
        "operationId": "postCustomerPaymentKnockoff",
        "summary": "POST /api/customer-payment/knockoff",
        "description": "Knockoff route on AR_PM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCNO": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "KOAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        }
                      },
                      "required": [
                        "DOCNO",
                        "KOAMT"
                      ]
                    }
                  }
                },
                "required": [
                  "knockOff"
                ]
              },
              "example": {
                "knockOff": [
                  {
                    "DOCNO": "IV-00001",
                    "DOCTYPE": "IV",
                    "KOAMT": 200
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomerPaymentKnockoff",
        "summary": "DELETE /api/customer-payment/knockoff",
        "description": "Knockoff route on AR_PM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "array of DOCNO"
                  }
                }
              },
              "example": {
                "knockOff": [
                  "IV-00001"
                ]
              }
            }
          }
        }
      }
    },
    "/api/customer-payment/recent": {
      "get": {
        "operationId": "getCustomerPaymentRecent",
        "summary": "GET /api/customer-payment/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "customer-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-payment": {
      "get": {
        "operationId": "getCustomerPayment",
        "summary": "GET /api/customer-payment",
        "description": "List route on AR_PM. Token scope: read.",
        "tags": [
          "customer-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(25)"
            }
          },
          {
            "name": "BANKREFNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(50)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postCustomerPayment",
        "summary": "POST /api/customer-payment",
        "description": "List route on AR_PM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "PAYMENTPROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKACC": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNAPPLIEDAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "NONREFUNDABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "BOUNCEDDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKTRANSFERTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKREFNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "BANKSTATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKSTATUSDESC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  }
                },
                "required": [
                  "CODE",
                  "DOCDATE",
                  "PAYMENTMETHOD",
                  "CURRENCYCODE",
                  "DOCAMT"
                ]
              },
              "example": {
                "DOCNO": "OR-TEST-0001",
                "CODE": "300-A0002",
                "DOCDATE": "30/10/2026",
                "PAYMENTMETHOD": "320-000",
                "CURRENCYCODE": "----",
                "DOCAMT": "500.00",
                "DESCRIPTION": "Sent from the API explorer"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putCustomerPayment",
        "summary": "PUT /api/customer-payment",
        "description": "List route on AR_PM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "PAYMENTPROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKACC": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNAPPLIEDAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "NONREFUNDABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "BOUNCEDDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKTRANSFERTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKREFNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "BANKSTATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKSTATUSDESC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer",
                "DOCAMT": "500.00"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomerPayment",
        "summary": "DELETE /api/customer-payment",
        "description": "List route on AR_PM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-debit-note-item": {
      "get": {
        "operationId": "getCustomerDebitNoteItem",
        "summary": "GET /api/customer-debit-note-item",
        "description": "List route on AR_DNDTL. Token scope: read.",
        "tags": [
          "customer-debit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postCustomerDebitNoteItem",
        "summary": "POST /api/customer-debit-note-item",
        "description": "List route on AR_DNDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-debit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  }
                },
                "required": [
                  "ACCOUNT",
                  "AMOUNT"
                ]
              },
              "example": {
                "ACCOUNT": "500-000",
                "DESCRIPTION": "Sent from the API explorer",
                "AMOUNT": "10.00"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putCustomerDebitNoteItem",
        "summary": "PUT /api/customer-debit-note-item",
        "description": "List route on AR_DNDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-debit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomerDebitNoteItem",
        "summary": "DELETE /api/customer-debit-note-item",
        "description": "List route on AR_DNDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-debit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-debit-note/knockoff": {
      "post": {
        "operationId": "postCustomerDebitNoteKnockoff",
        "summary": "POST /api/customer-debit-note/knockoff",
        "description": "Knockoff route on AR_PM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCNO": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "KOAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        }
                      },
                      "required": [
                        "DOCNO",
                        "KOAMT"
                      ]
                    }
                  }
                },
                "required": [
                  "knockOff"
                ]
              },
              "example": {
                "knockOff": [
                  {
                    "DOCNO": "DN-00001",
                    "DOCTYPE": "DN",
                    "KOAMT": 50
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomerDebitNoteKnockoff",
        "summary": "DELETE /api/customer-debit-note/knockoff",
        "description": "Knockoff route on AR_PM. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "array of DOCNO"
                  }
                }
              },
              "example": {
                "knockOff": [
                  "DN-00001"
                ]
              }
            }
          }
        }
      }
    },
    "/api/customer-debit-note/view": {
      "get": {
        "operationId": "getCustomerDebitNoteView",
        "summary": "GET /api/customer-debit-note/view",
        "description": "List route on AR_DN. Token scope: read.",
        "tags": [
          "customer-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-debit-note/recent": {
      "get": {
        "operationId": "getCustomerDebitNoteRecent",
        "summary": "GET /api/customer-debit-note/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "customer-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-debit-note": {
      "get": {
        "operationId": "getCustomerDebitNote",
        "summary": "GET /api/customer-debit-note",
        "description": "List route on AR_DN. Token scope: read.",
        "tags": [
          "customer-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postCustomerDebitNote",
        "summary": "POST /api/customer-debit-note",
        "description": "List route on AR_DN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DUEDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "PAYMENTAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                },
                "required": [
                  "CODE"
                ]
              },
              "example": {
                "DOCNO": "ZZT-0001",
                "CODE": "300-A0002",
                "DOCDATE": "30/10/2026",
                "DESCRIPTION": "Sent from the API explorer"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putCustomerDebitNote",
        "summary": "PUT /api/customer-debit-note",
        "description": "List route on AR_DN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DUEDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "PAYMENTAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomerDebitNote",
        "summary": "DELETE /api/customer-debit-note",
        "description": "List route on AR_DN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-debit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-credit-note/view": {
      "get": {
        "operationId": "getCustomerCreditNoteView",
        "summary": "GET /api/customer-credit-note/view",
        "description": "List route on AR_CN. Token scope: read.",
        "tags": [
          "customer-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-credit-note/knockoff": {
      "post": {
        "operationId": "postCustomerCreditNoteKnockoff",
        "summary": "POST /api/customer-credit-note/knockoff",
        "description": "Knockoff route on AR_CN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CNDOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "CN-00001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCNO": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "KOAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        }
                      },
                      "required": [
                        "DOCNO",
                        "KOAMT"
                      ]
                    }
                  }
                },
                "required": [
                  "knockOff"
                ]
              },
              "example": {
                "knockOff": [
                  {
                    "DOCNO": "IV-00001",
                    "DOCTYPE": "IV",
                    "KOAMT": 25
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomerCreditNoteKnockoff",
        "summary": "DELETE /api/customer-credit-note/knockoff",
        "description": "Knockoff route on AR_CN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CNDOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "CN-00001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "array of DOCNO"
                  }
                }
              },
              "example": {
                "knockOff": [
                  "IV-00001"
                ]
              }
            }
          }
        }
      }
    },
    "/api/customer-credit-note-item": {
      "get": {
        "operationId": "getCustomerCreditNoteItem",
        "summary": "GET /api/customer-credit-note-item",
        "description": "List route on AR_CNDTL. Token scope: read.",
        "tags": [
          "customer-credit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postCustomerCreditNoteItem",
        "summary": "POST /api/customer-credit-note-item",
        "description": "List route on AR_CNDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-credit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  }
                },
                "required": [
                  "ACCOUNT",
                  "AMOUNT"
                ]
              },
              "example": {
                "ACCOUNT": "500-000",
                "DESCRIPTION": "Sent from the API explorer",
                "AMOUNT": "10.00"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putCustomerCreditNoteItem",
        "summary": "PUT /api/customer-credit-note-item",
        "description": "List route on AR_CNDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-credit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomerCreditNoteItem",
        "summary": "DELETE /api/customer-credit-note-item",
        "description": "List route on AR_CNDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-credit-note-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-credit-note/recent": {
      "get": {
        "operationId": "getCustomerCreditNoteRecent",
        "summary": "GET /api/customer-credit-note/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "customer-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-credit-note": {
      "get": {
        "operationId": "getCustomerCreditNote",
        "summary": "GET /api/customer-credit-note",
        "description": "List route on AR_CN. Token scope: read.",
        "tags": [
          "customer-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postCustomerCreditNote",
        "summary": "POST /api/customer-credit-note",
        "description": "List route on AR_CN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                },
                "required": [
                  "CODE"
                ]
              },
              "example": {
                "DOCNO": "ZZT-0001",
                "CODE": "300-A0002",
                "DOCDATE": "30/10/2026",
                "DESCRIPTION": "Sent from the API explorer"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putCustomerCreditNote",
        "summary": "PUT /api/customer-credit-note",
        "description": "List route on AR_CN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomerCreditNote",
        "summary": "DELETE /api/customer-credit-note",
        "description": "List route on AR_CN. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-credit-note"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-refund/knockoff": {
      "post": {
        "operationId": "postCustomerRefundKnockoff",
        "summary": "POST /api/customer-refund/knockoff",
        "description": "Knockoff route on AR_CF. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CFDOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-CF1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCNO": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "KOAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        }
                      },
                      "required": [
                        "DOCNO",
                        "KOAMT"
                      ]
                    }
                  }
                },
                "required": [
                  "knockOff"
                ]
              },
              "example": {
                "knockOff": [
                  {
                    "DOCNO": "CN-00001",
                    "DOCTYPE": "CN",
                    "KOAMT": 10
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomerRefundKnockoff",
        "summary": "DELETE /api/customer-refund/knockoff",
        "description": "Knockoff route on AR_CF. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CFDOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-CF1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "array of DOCNO"
                  }
                }
              },
              "example": {
                "knockOff": [
                  "CN-00001"
                ]
              }
            }
          }
        }
      }
    },
    "/api/customer-refund/recent": {
      "get": {
        "operationId": "getCustomerRefundRecent",
        "summary": "GET /api/customer-refund/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "customer-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer-refund": {
      "get": {
        "operationId": "getCustomerRefund",
        "summary": "GET /api/customer-refund",
        "description": "List route on AR_CF. Token scope: read.",
        "tags": [
          "customer-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(25)"
            }
          },
          {
            "name": "BANKREFNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(50)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postCustomerRefund",
        "summary": "POST /api/customer-refund",
        "description": "List route on AR_CF. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "PAYMENTPROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKACC": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNAPPLIEDAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "BOUNCEDDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKTRANSFERTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKREFNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "BANKSTATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKSTATUSDESC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCNO": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "KOAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        }
                      },
                      "required": [
                        "DOCNO",
                        "KOAMT"
                      ]
                    }
                  }
                },
                "required": [
                  "CODE",
                  "DOCAMT",
                  "knockOff"
                ]
              },
              "example": {
                "DOCNO": "ZZT-CF1",
                "CODE": "300-A0002",
                "DOCDATE": "30/10/2026",
                "PAYMENTMETHOD": "320-000",
                "DESCRIPTION": "Refund of credit note",
                "DOCAMT": "50.00",
                "knockOff": [
                  {
                    "DOCNO": "CN-00001",
                    "KOAMT": "50.00"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putCustomerRefund",
        "summary": "PUT /api/customer-refund",
        "description": "List route on AR_CF. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-CF1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "PAYMENTPROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKACC": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNAPPLIEDAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "BOUNCEDDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKTRANSFERTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKREFNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "BANKSTATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKSTATUSDESC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCNO": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "KOAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        }
                      },
                      "required": [
                        "DOCNO",
                        "KOAMT"
                      ]
                    }
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomerRefund",
        "summary": "DELETE /api/customer-refund",
        "description": "List route on AR_CF. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer-refund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-CF1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer/recent": {
      "get": {
        "operationId": "getCustomerRecent",
        "summary": "GET /api/customer/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "customer"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/customer": {
      "get": {
        "operationId": "getCustomer",
        "summary": "GET /api/customer",
        "description": "List route on AR_CUSTOMER. Token scope: read.",
        "tags": [
          "customer"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(100)"
            }
          },
          {
            "name": "REMARK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(80)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(14)"
            }
          },
          {
            "name": "BRN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(30)"
            }
          },
          {
            "name": "BRN2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(30)"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postCustomer",
        "summary": "POST /api/customer",
        "description": "List route on AR_CUSTOMER. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CONTROLACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "COMPANYNAME2": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "COMPANYCATEGORY": {
                    "type": "string",
                    "format": "VARCHAR(15)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "BIZNATURE": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "CREDITTERM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CREDITLIMIT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "OVERDUELIMIT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "STATEMENTTYPE": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "ALLOWEXCEEDCREDITLIMIT": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "ADDPDCTOCRLIMIT": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AGINGON": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "STATUS": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "PRICETAG": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CREATIONDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "TAXEXPDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "BRN": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "BRN2": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "GSTNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "PEPPOLID": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BUSINESSUNIT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TAXAREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "REMARK": {
                    "type": "string",
                    "format": "VARCHAR(80)"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "Branch": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "BRANCHTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "BRANCHNAME": {
                          "type": "string",
                          "format": "VARCHAR(100)"
                        },
                        "ADDRESS1": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "ADDRESS2": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "ADDRESS3": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "ADDRESS4": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "POSTCODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "CITY": {
                          "type": "string",
                          "format": "VARCHAR(50)"
                        },
                        "STATE": {
                          "type": "string",
                          "format": "VARCHAR(50)"
                        },
                        "COUNTRY": {
                          "type": "string",
                          "format": "VARCHAR(2)"
                        },
                        "GEOLAT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "GEOLONG": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "ATTENTION": {
                          "type": "string",
                          "format": "VARCHAR(70)"
                        },
                        "PHONE1": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "PHONE2": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "MOBILE": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "FAX1": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "FAX2": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "EMAIL": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        }
                      },
                      "required": [
                        "BRANCHNAME"
                      ]
                    }
                  },
                  "CreditControl": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR(2)"
                        },
                        "CONTROLTYPE": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "SUSPENDMSG": {
                          "type": "string",
                          "format": "VARCHAR(300)"
                        }
                      },
                      "required": [
                        "DOCTYPE",
                        "CONTROLTYPE"
                      ]
                    }
                  },
                  "Tariff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "TARIFF": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "TAX": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "ROWVER": {
                          "type": "integer",
                          "format": "INTEGER"
                        }
                      },
                      "required": [
                        "TAX"
                      ]
                    }
                  },
                  "BankAcc": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "BANK": {
                          "type": "string",
                          "format": "VARCHAR(11)"
                        },
                        "ACCNO": {
                          "type": "string",
                          "format": "VARCHAR(34)"
                        },
                        "ACCNAME": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "IDTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "ID": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "REF": {
                          "type": "string",
                          "format": "VARCHAR(40)"
                        },
                        "GIRO": {
                          "type": "string",
                          "format": "BLOB"
                        },
                        "ISACTIVE": {
                          "type": "string",
                          "format": "BOOLEAN"
                        }
                      },
                      "required": [
                        "BANK",
                        "ACCNO",
                        "ACCNAME",
                        "IDTYPE"
                      ]
                    }
                  }
                },
                "required": [
                  "COMPANYNAME"
                ]
              },
              "example": {
                "CODE": "300-Z0001",
                "COMPANYNAME": "Explorer Test Sdn Bhd",
                "CURRENCYCODE": "----",
                "Branch": [
                  {
                    "BRANCHTYPE": "B",
                    "BRANCHNAME": "BILLING",
                    "ADDRESS1": "1 Jalan Contoh",
                    "CITY": "Kuala Lumpur",
                    "PHONE1": "03-1234 5678"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putCustomer",
        "summary": "PUT /api/customer",
        "description": "List route on AR_CUSTOMER. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            },
            "example": "300-Z0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CONTROLACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "COMPANYNAME2": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "COMPANYCATEGORY": {
                    "type": "string",
                    "format": "VARCHAR(15)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "BIZNATURE": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "CREDITTERM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CREDITLIMIT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "OVERDUELIMIT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "STATEMENTTYPE": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "ALLOWEXCEEDCREDITLIMIT": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "ADDPDCTOCRLIMIT": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AGINGON": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "STATUS": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "PRICETAG": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CREATIONDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "TAXEXPDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "BRN": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "BRN2": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "GSTNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "PEPPOLID": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BUSINESSUNIT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TAXAREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "REMARK": {
                    "type": "string",
                    "format": "VARCHAR(80)"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "Branch": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "BRANCHTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "BRANCHNAME": {
                          "type": "string",
                          "format": "VARCHAR(100)"
                        },
                        "ADDRESS1": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "ADDRESS2": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "ADDRESS3": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "ADDRESS4": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "POSTCODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "CITY": {
                          "type": "string",
                          "format": "VARCHAR(50)"
                        },
                        "STATE": {
                          "type": "string",
                          "format": "VARCHAR(50)"
                        },
                        "COUNTRY": {
                          "type": "string",
                          "format": "VARCHAR(2)"
                        },
                        "GEOLAT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "GEOLONG": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "ATTENTION": {
                          "type": "string",
                          "format": "VARCHAR(70)"
                        },
                        "PHONE1": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "PHONE2": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "MOBILE": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "FAX1": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "FAX2": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "EMAIL": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        }
                      }
                    }
                  },
                  "CreditControl": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR(2)"
                        },
                        "CONTROLTYPE": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "SUSPENDMSG": {
                          "type": "string",
                          "format": "VARCHAR(300)"
                        }
                      }
                    }
                  },
                  "Tariff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "TARIFF": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "TAX": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "ROWVER": {
                          "type": "integer",
                          "format": "INTEGER"
                        }
                      }
                    }
                  },
                  "BankAcc": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "BANK": {
                          "type": "string",
                          "format": "VARCHAR(11)"
                        },
                        "ACCNO": {
                          "type": "string",
                          "format": "VARCHAR(34)"
                        },
                        "ACCNAME": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "IDTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "ID": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "REF": {
                          "type": "string",
                          "format": "VARCHAR(40)"
                        },
                        "GIRO": {
                          "type": "string",
                          "format": "BLOB"
                        },
                        "ISACTIVE": {
                          "type": "string",
                          "format": "BOOLEAN"
                        }
                      }
                    }
                  }
                }
              },
              "example": {
                "COMPANYNAME": "Explorer Test (changed) Sdn Bhd"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomer",
        "summary": "DELETE /api/customer",
        "description": "List route on AR_CUSTOMER. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            },
            "example": "300-Z0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/supplier-invoice-item": {
      "get": {
        "operationId": "getSupplierInvoiceItem",
        "summary": "GET /api/supplier-invoice-item",
        "description": "List route on AP_PIDTL. Token scope: read.",
        "tags": [
          "supplier-invoice-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSupplierInvoiceItem",
        "summary": "POST /api/supplier-invoice-item",
        "description": "List route on AP_PIDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier-invoice-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXABLEAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "WHTAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "WHTAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "WHLOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "WHTAXACCOUNTDR": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "WHTAXACCOUNTCR": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  }
                }
              },
              "example": {
                "ACCOUNT": "500-000",
                "DESCRIPTION": "Sent from the API explorer",
                "AMOUNT": "10.00"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSupplierInvoiceItem",
        "summary": "PUT /api/supplier-invoice-item",
        "description": "List route on AP_PIDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier-invoice-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "SEQ": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "ACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TARIFF": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXINCLUSIVE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALAMOUNT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "TAXABLEAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "WHTAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "WHTAXRATE": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "WHLOCALTAXAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "WHTAXACCOUNTDR": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "WHTAXACCOUNTCR": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "FROMDTLKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSupplierInvoiceItem",
        "summary": "DELETE /api/supplier-invoice-item",
        "description": "List route on AP_PIDTL. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier-invoice-item"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "ZZT-0001"
          },
          {
            "name": "DTLKEY",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/supplier-invoice/recent": {
      "get": {
        "operationId": "getSupplierInvoiceRecent",
        "summary": "GET /api/supplier-invoice/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "supplier-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/supplier-invoice": {
      "get": {
        "operationId": "getSupplierInvoice",
        "summary": "GET /api/supplier-invoice",
        "description": "List route on AP_PI. Token scope: read.",
        "tags": [
          "supplier-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DUEDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSupplierInvoice",
        "summary": "POST /api/supplier-invoice",
        "description": "List route on AP_PI. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DUEDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "PAYMENTAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DOCNO": "ZZT-0001",
                "CODE": "400-A0001",
                "DOCDATE": "30/10/2026",
                "DESCRIPTION": "Sent from the API explorer"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSupplierInvoice",
        "summary": "PUT /api/supplier-invoice",
        "description": "List route on AP_PI. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCNOEX": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TERMS": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DUEDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "PAYMENTAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSupplierInvoice",
        "summary": "DELETE /api/supplier-invoice",
        "description": "List route on AP_PI. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier-invoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "ZZT-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/supplier-payment/knockoff": {
      "post": {
        "operationId": "postSupplierPaymentKnockoff",
        "summary": "POST /api/supplier-payment/knockoff",
        "description": "Knockoff route on AP_SP. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DOCNO": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR"
                        },
                        "KOAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        }
                      },
                      "required": [
                        "DOCNO",
                        "KOAMT"
                      ]
                    }
                  }
                },
                "required": [
                  "knockOff"
                ]
              },
              "example": {
                "knockOff": [
                  {
                    "DOCNO": "PI-00001",
                    "DOCTYPE": "PI",
                    "KOAMT": 200
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSupplierPaymentKnockoff",
        "summary": "DELETE /api/supplier-payment/knockoff",
        "description": "Knockoff route on AP_SP. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "knockOff": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "array of DOCNO"
                  }
                }
              },
              "example": {
                "knockOff": [
                  "PI-00001"
                ]
              }
            }
          }
        }
      }
    },
    "/api/supplier-payment/recent": {
      "get": {
        "operationId": "getSupplierPaymentRecent",
        "summary": "GET /api/supplier-payment/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "supplier-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/supplier-payment": {
      "get": {
        "operationId": "getSupplierPayment",
        "summary": "GET /api/supplier-payment",
        "description": "List route on AP_SP. Token scope: read.",
        "tags": [
          "supplier-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(25)"
            }
          },
          {
            "name": "BANKREFNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(50)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSupplierPayment",
        "summary": "POST /api/supplier-payment",
        "description": "List route on AP_SP. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "PAYMENTPROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKACC": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNAPPLIEDAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "NONREFUNDABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "BOUNCEDDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKTRANSFERTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKREFNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "BANKSTATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKSTATUSDESC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  }
                },
                "required": [
                  "CODE",
                  "DOCDATE",
                  "PAYMENTMETHOD",
                  "CURRENCYCODE",
                  "DOCAMT"
                ]
              },
              "example": {
                "DOCNO": "OR-TEST-0001",
                "CODE": "400-A0001",
                "DOCDATE": "30/10/2026",
                "PAYMENTMETHOD": "320-000",
                "CURRENCYCODE": "----",
                "DOCAMT": "500.00",
                "DESCRIPTION": "Sent from the API explorer"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSupplierPayment",
        "summary": "PUT /api/supplier-payment",
        "description": "List route on AP_SP. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "PAYMENTPROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKACC": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "UNAPPLIEDAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "DOCREF1": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "DOCREF2": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "FROMDOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "NONREFUNDABLE": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "BOUNCEDDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "BANKTRANSFERTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKREFNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "BANKSTATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "BANKSTATUSDESC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer",
                "DOCAMT": "500.00"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSupplierPayment",
        "summary": "DELETE /api/supplier-payment",
        "description": "List route on AP_SP. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier-payment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "OR-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/supplier/recent": {
      "get": {
        "operationId": "getSupplierRecent",
        "summary": "GET /api/supplier/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "supplier"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/supplier": {
      "get": {
        "operationId": "getSupplier",
        "summary": "GET /api/supplier",
        "description": "List route on AP_SUPPLIER. Token scope: read.",
        "tags": [
          "supplier"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(100)"
            }
          },
          {
            "name": "REMARK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(80)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(14)"
            }
          },
          {
            "name": "BRN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(30)"
            }
          },
          {
            "name": "BRN2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(30)"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postSupplier",
        "summary": "POST /api/supplier",
        "description": "List route on AP_SUPPLIER. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CONTROLACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "COMPANYNAME2": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "COMPANYCATEGORY": {
                    "type": "string",
                    "format": "VARCHAR(15)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "BIZNATURE": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "CREDITTERM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CREDITLIMIT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "OVERDUELIMIT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "STATEMENTTYPE": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "OUTSTANDING": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "ALLOWEXCEEDCREDITLIMIT": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "ADDPDCTOCRLIMIT": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AGINGON": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "STATUS": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "PRICETAG": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CREATIONDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "TAXEXPDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "BRN": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "BRN2": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "GSTNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "PEPPOLID": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BUSINESSUNIT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TAXAREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "REMARK": {
                    "type": "string",
                    "format": "VARCHAR(80)"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "Branch": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DTLKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "BRANCHTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "BRANCHNAME": {
                          "type": "string",
                          "format": "VARCHAR(100)"
                        },
                        "ADDRESS1": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "ADDRESS2": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "ADDRESS3": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "ADDRESS4": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "POSTCODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "CITY": {
                          "type": "string",
                          "format": "VARCHAR(50)"
                        },
                        "STATE": {
                          "type": "string",
                          "format": "VARCHAR(50)"
                        },
                        "COUNTRY": {
                          "type": "string",
                          "format": "VARCHAR(2)"
                        },
                        "GEOLAT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "GEOLONG": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "ATTENTION": {
                          "type": "string",
                          "format": "VARCHAR(70)"
                        },
                        "PHONE1": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "PHONE2": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "MOBILE": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "FAX1": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "FAX2": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "EMAIL": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        }
                      }
                    }
                  },
                  "CreditControl": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DTLKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR(2)"
                        },
                        "CONTROLTYPE": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "SUSPENDMSG": {
                          "type": "string",
                          "format": "VARCHAR(300)"
                        }
                      }
                    }
                  },
                  "Tariff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "AUTOKEY": {
                          "type": "integer",
                          "format": "BIGINT"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "TARIFF": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "TAX": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "ROWVER": {
                          "type": "integer",
                          "format": "INTEGER"
                        }
                      }
                    }
                  },
                  "BankAcc": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "AUTOKEY": {
                          "type": "integer",
                          "format": "BIGINT"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "BANK": {
                          "type": "string",
                          "format": "VARCHAR(11)"
                        },
                        "ACCNO": {
                          "type": "string",
                          "format": "VARCHAR(34)"
                        },
                        "ACCNAME": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "IDTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "ID": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "REF": {
                          "type": "string",
                          "format": "VARCHAR(40)"
                        },
                        "GIRO": {
                          "type": "string",
                          "format": "BLOB"
                        },
                        "ISACTIVE": {
                          "type": "string",
                          "format": "BOOLEAN"
                        },
                        "ROWVER": {
                          "type": "integer",
                          "format": "INTEGER"
                        }
                      }
                    }
                  }
                }
              },
              "example": {
                "CODE": "400-Z0001",
                "COMPANYNAME": "Explorer Test Sdn Bhd",
                "CURRENCYCODE": "----",
                "Branch": [
                  {
                    "BRANCHTYPE": "B",
                    "BRANCHNAME": "BILLING",
                    "ADDRESS1": "1 Jalan Contoh",
                    "CITY": "Kuala Lumpur",
                    "PHONE1": "03-1234 5678"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putSupplier",
        "summary": "PUT /api/supplier",
        "description": "List route on AP_SUPPLIER. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            },
            "example": "400-Z0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "CODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CONTROLACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "COMPANYNAME2": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "COMPANYCATEGORY": {
                    "type": "string",
                    "format": "VARCHAR(15)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "BIZNATURE": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "CREDITTERM": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CREDITLIMIT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "OVERDUELIMIT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "STATEMENTTYPE": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "OUTSTANDING": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "ALLOWEXCEEDCREDITLIMIT": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "ADDPDCTOCRLIMIT": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "AGINGON": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "STATUS": {
                    "type": "string",
                    "format": "CHAR"
                  },
                  "PRICETAG": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CREATIONDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAX": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TAXEXEMPTNO": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "TAXEXPDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "BRN": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "BRN2": {
                    "type": "string",
                    "format": "VARCHAR(30)"
                  },
                  "GSTNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_CLASSIFICATION": {
                    "type": "string",
                    "format": "VARCHAR(3)"
                  },
                  "PEPPOLID": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "BUSINESSUNIT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "TAXAREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "REMARK": {
                    "type": "string",
                    "format": "VARCHAR(80)"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "Branch": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DTLKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "BRANCHTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "BRANCHNAME": {
                          "type": "string",
                          "format": "VARCHAR(100)"
                        },
                        "ADDRESS1": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "ADDRESS2": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "ADDRESS3": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "ADDRESS4": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "POSTCODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "CITY": {
                          "type": "string",
                          "format": "VARCHAR(50)"
                        },
                        "STATE": {
                          "type": "string",
                          "format": "VARCHAR(50)"
                        },
                        "COUNTRY": {
                          "type": "string",
                          "format": "VARCHAR(2)"
                        },
                        "GEOLAT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "GEOLONG": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "ATTENTION": {
                          "type": "string",
                          "format": "VARCHAR(70)"
                        },
                        "PHONE1": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "PHONE2": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "MOBILE": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "FAX1": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "FAX2": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        },
                        "EMAIL": {
                          "type": "string",
                          "format": "VARCHAR(200)"
                        }
                      }
                    }
                  },
                  "CreditControl": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DTLKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "DOCTYPE": {
                          "type": "string",
                          "format": "VARCHAR(2)"
                        },
                        "CONTROLTYPE": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "SUSPENDMSG": {
                          "type": "string",
                          "format": "VARCHAR(300)"
                        }
                      }
                    }
                  },
                  "Tariff": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "AUTOKEY": {
                          "type": "integer",
                          "format": "BIGINT"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "TARIFF": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "TAX": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "ROWVER": {
                          "type": "integer",
                          "format": "INTEGER"
                        }
                      }
                    }
                  },
                  "BankAcc": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "AUTOKEY": {
                          "type": "integer",
                          "format": "BIGINT"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "BANK": {
                          "type": "string",
                          "format": "VARCHAR(11)"
                        },
                        "ACCNO": {
                          "type": "string",
                          "format": "VARCHAR(34)"
                        },
                        "ACCNAME": {
                          "type": "string",
                          "format": "VARCHAR(60)"
                        },
                        "IDTYPE": {
                          "type": "string",
                          "format": "CHAR"
                        },
                        "ID": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "REF": {
                          "type": "string",
                          "format": "VARCHAR(40)"
                        },
                        "GIRO": {
                          "type": "string",
                          "format": "BLOB"
                        },
                        "ISACTIVE": {
                          "type": "string",
                          "format": "BOOLEAN"
                        },
                        "ROWVER": {
                          "type": "integer",
                          "format": "INTEGER"
                        }
                      }
                    }
                  }
                }
              },
              "example": {
                "COMPANYNAME": "Explorer Test (changed) Sdn Bhd"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteSupplier",
        "summary": "DELETE /api/supplier",
        "description": "List route on AP_SUPPLIER. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            },
            "example": "400-Z0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/payment-voucher/recent": {
      "get": {
        "operationId": "getPaymentVoucherRecent",
        "summary": "GET /api/payment-voucher/recent",
        "description": "Recent route on AUDIT. Token scope: read.",
        "tags": [
          "payment-voucher"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "REFERENCE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            },
            "example": "01/10/2026 00:00:00"
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDHOUR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/payment-voucher": {
      "get": {
        "operationId": "getPaymentVoucher",
        "summary": "GET /api/payment-voucher",
        "description": "List route on GL_CB. Token scope: read.",
        "tags": [
          "payment-voucher"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "PAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "1"
          },
          {
            "name": "LIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            },
            "example": "5"
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "INTEGER"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATE"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(300)"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(25)"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(20)"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR(10)"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "BOOLEAN"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          },
          {
            "name": "LASTMODIFIEDEND",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "DATETIME (dd/MM/yyyy HH:mm:ss)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postPaymentVoucher",
        "summary": "POST /api/payment-voucher",
        "description": "List route on GL_CB. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "payment-voucher"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "EIV_UTC": {
                    "type": "string",
                    "format": "TIMESTAMP"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "ADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "POSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "STATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "COUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "PHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "BOUNCEDDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "DEPOSITKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "FROMDOC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_STATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_INTERNALID": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "IRBM_UUID": {
                    "type": "string",
                    "format": "VARCHAR(26)"
                  },
                  "IRBM_LONGID": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PRINTCOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "Detail": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DTLKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "DOCKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "SEQ": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "AREA": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "AGENT": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "PROJECT": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "DESCRIPTION": {
                          "type": "string",
                          "format": "VARCHAR(300)"
                        },
                        "GST_DOCDATE": {
                          "type": "string",
                          "format": "DATE"
                        },
                        "GST_DOCNO": {
                          "type": "string",
                          "format": "VARCHAR(40)"
                        },
                        "COMPANYNAME": {
                          "type": "string",
                          "format": "VARCHAR(100)"
                        },
                        "REGISTERNO": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "GSTNO": {
                          "type": "string",
                          "format": "VARCHAR(25)"
                        },
                        "PERMITNO": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "COUNTRY": {
                          "type": "string",
                          "format": "VARCHAR(2)"
                        },
                        "TAX": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "TARIFF": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "IRBM_CLASSIFICATION": {
                          "type": "string",
                          "format": "VARCHAR(3)"
                        },
                        "TAXRATE": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "TAXAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "LOCALTAXAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "TAXINCLUSIVE": {
                          "type": "string",
                          "format": "BOOLEAN"
                        },
                        "AMOUNT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "LOCALAMOUNT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "CURRENCYCODE": {
                          "type": "string",
                          "format": "VARCHAR(6)"
                        },
                        "CURRENCYRATE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "CURRENCYAMOUNT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "OCR": {
                          "type": "string",
                          "format": "VARCHAR(44)"
                        }
                      }
                    }
                  }
                }
              },
              "example": {
                "DOCNO": "PV-TEST-0001",
                "DOCDATE": "15/01/2026",
                "POSTDATE": "15/01/2026",
                "DESCRIPTION": "Sent from the API explorer",
                "PAYMENTMETHOD": "320-000",
                "CURRENCYCODE": "----",
                "DOCAMT": "43.25",
                "Detail": [
                  {
                    "CODE": "500-000",
                    "DESCRIPTION": "Line 1",
                    "AMOUNT": "21.62"
                  },
                  {
                    "CODE": "500-000",
                    "DESCRIPTION": "Line 2",
                    "AMOUNT": "21.63"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putPaymentVoucher",
        "summary": "PUT /api/payment-voucher",
        "description": "List route on GL_CB. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "payment-voucher"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "PV-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "DOCKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "DOCNO": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "DOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "DOCDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "POSTDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "TAXDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "EIV_UTC": {
                    "type": "string",
                    "format": "TIMESTAMP"
                  },
                  "COMPANYNAME": {
                    "type": "string",
                    "format": "VARCHAR(100)"
                  },
                  "DESCRIPTION": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "DESCRIPTION2": {
                    "type": "string",
                    "format": "VARCHAR(300)"
                  },
                  "ADDRESS1": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS2": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS3": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "ADDRESS4": {
                    "type": "string",
                    "format": "VARCHAR(60)"
                  },
                  "POSTCODE": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CITY": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "STATE": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "COUNTRY": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "PHONE1": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "PAYMENTMETHOD": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AREA": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "AGENT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "PROJECT": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "JOURNAL": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "CHEQUENUMBER": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "CURRENCYCODE": {
                    "type": "string",
                    "format": "VARCHAR(6)"
                  },
                  "CURRENCYRATE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGE": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "BANKCHARGEACCOUNT": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "DOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "LOCALDOCAMT": {
                    "type": "number",
                    "format": "DECIMAL"
                  },
                  "FROMDOCTYPE": {
                    "type": "string",
                    "format": "VARCHAR(2)"
                  },
                  "BOUNCEDDATE": {
                    "type": "string",
                    "format": "DATE"
                  },
                  "GLTRANSID": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "CANCELLED": {
                    "type": "string",
                    "format": "BOOLEAN"
                  },
                  "DEPOSITKEY": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "FROMDOC": {
                    "type": "string",
                    "format": "VARCHAR(200)"
                  },
                  "SALESTAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "SERVICETAXNO": {
                    "type": "string",
                    "format": "VARCHAR(25)"
                  },
                  "TIN": {
                    "type": "string",
                    "format": "VARCHAR(14)"
                  },
                  "IDTYPE": {
                    "type": "integer",
                    "format": "SMALLINT"
                  },
                  "IDNO": {
                    "type": "string",
                    "format": "VARCHAR(20)"
                  },
                  "TOURISMNO": {
                    "type": "string",
                    "format": "VARCHAR(17)"
                  },
                  "SIC": {
                    "type": "string",
                    "format": "VARCHAR(10)"
                  },
                  "SUBMISSIONTYPE": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_STATUS": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "IRBM_INTERNALID": {
                    "type": "string",
                    "format": "VARCHAR(40)"
                  },
                  "IRBM_UUID": {
                    "type": "string",
                    "format": "VARCHAR(26)"
                  },
                  "IRBM_LONGID": {
                    "type": "string",
                    "format": "VARCHAR(50)"
                  },
                  "UPDATECOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "PRINTCOUNT": {
                    "type": "integer",
                    "format": "INTEGER"
                  },
                  "ATTACHMENTS": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "NOTE": {
                    "type": "string",
                    "format": "BLOB"
                  },
                  "LASTMODIFIED": {
                    "type": "integer",
                    "format": "BIGINT"
                  },
                  "Detail": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "DTLKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "DOCKEY": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "SEQ": {
                          "type": "integer",
                          "format": "INTEGER"
                        },
                        "AREA": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "AGENT": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "PROJECT": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "CODE": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "DESCRIPTION": {
                          "type": "string",
                          "format": "VARCHAR(300)"
                        },
                        "GST_DOCDATE": {
                          "type": "string",
                          "format": "DATE"
                        },
                        "GST_DOCNO": {
                          "type": "string",
                          "format": "VARCHAR(40)"
                        },
                        "COMPANYNAME": {
                          "type": "string",
                          "format": "VARCHAR(100)"
                        },
                        "REGISTERNO": {
                          "type": "string",
                          "format": "VARCHAR(30)"
                        },
                        "GSTNO": {
                          "type": "string",
                          "format": "VARCHAR(25)"
                        },
                        "PERMITNO": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "COUNTRY": {
                          "type": "string",
                          "format": "VARCHAR(2)"
                        },
                        "TAX": {
                          "type": "string",
                          "format": "VARCHAR(10)"
                        },
                        "TARIFF": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "IRBM_CLASSIFICATION": {
                          "type": "string",
                          "format": "VARCHAR(3)"
                        },
                        "TAXRATE": {
                          "type": "string",
                          "format": "VARCHAR(20)"
                        },
                        "TAXAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "LOCALTAXAMT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "TAXINCLUSIVE": {
                          "type": "string",
                          "format": "BOOLEAN"
                        },
                        "AMOUNT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "LOCALAMOUNT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "CURRENCYCODE": {
                          "type": "string",
                          "format": "VARCHAR(6)"
                        },
                        "CURRENCYRATE": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "CURRENCYAMOUNT": {
                          "type": "number",
                          "format": "DECIMAL"
                        },
                        "OCR": {
                          "type": "string",
                          "format": "VARCHAR(44)"
                        }
                      }
                    }
                  }
                }
              },
              "example": {
                "DESCRIPTION": "Changed from the API explorer"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deletePaymentVoucher",
        "summary": "DELETE /api/payment-voucher",
        "description": "List route on GL_CB. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "payment-voucher"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR(40)"
            },
            "example": "PV-TEST-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/application/start/sql": {
      "get": {
        "operationId": "getApplicationStartSql",
        "summary": "GET /api/application/start/sql",
        "description": "Control route. Token scope: control. This changes SQL Accounting.",
        "tags": [
          "application"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/application/stop/sql": {
      "get": {
        "operationId": "getApplicationStopSql",
        "summary": "GET /api/application/stop/sql",
        "description": "Control route. Token scope: control. This changes SQL Accounting.",
        "tags": [
          "application"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/application/login/sql": {
      "get": {
        "operationId": "getApplicationLoginSql",
        "summary": "GET /api/application/login/sql",
        "description": "Control route. Token scope: control. This changes SQL Accounting.",
        "tags": [
          "application"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/api/application/logout/sql": {
      "get": {
        "operationId": "getApplicationLogoutSql",
        "summary": "GET /api/application/logout/sql",
        "description": "Control route. Token scope: control. This changes SQL Accounting.",
        "tags": [
          "application"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockserialnumberoutstanding": {
      "get": {
        "operationId": "getV2Stockserialnumberoutstanding",
        "summary": "GET /v2/api/stockserialnumberoutstanding",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockserialnumberoutstanding"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "sortby",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "item",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockserialnumberconflict": {
      "get": {
        "operationId": "getV2Stockserialnumberconflict",
        "summary": "GET /v2/api/stockserialnumberconflict",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockserialnumberconflict"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "sortby",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "item",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockphysicalworksheet": {
      "get": {
        "operationId": "getV2Stockphysicalworksheet",
        "summary": "GET /v2/api/stockphysicalworksheet",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockphysicalworksheet"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "sortby",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "dateto",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "item",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "location",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "project",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "agent",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "area",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "stockgroup",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/purchasecancellednote": {
      "get": {
        "operationId": "getV2Purchasecancellednote",
        "summary": "GET /v2/api/purchasecancellednote",
        "description": "List route. Token scope: read.",
        "tags": [
          "purchasecancellednote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Purchasecancellednote",
        "summary": "POST /v2/api/purchasecancellednote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchasecancellednote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Purchasecancellednote",
        "summary": "PUT /v2/api/purchasecancellednote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchasecancellednote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Purchasecancellednote",
        "summary": "DELETE /v2/api/purchasecancellednote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchasecancellednote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockmonthendbalance": {
      "get": {
        "operationId": "getV2Stockmonthendbalance",
        "summary": "GET /v2/api/stockmonthendbalance",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockmonthendbalance"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "sortby",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "dateto",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "item",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "location",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "project",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "agent",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "area",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "stockgroup",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockbalanceinquiry": {
      "get": {
        "operationId": "getV2Stockbalanceinquiry",
        "summary": "GET /v2/api/stockbalanceinquiry",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockbalanceinquiry"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "sortby",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "itemcode",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "item",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "location",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "project",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "agent",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "area",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "stockgroup",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/customercreditnote": {
      "get": {
        "operationId": "getV2Customercreditnote",
        "summary": "GET /v2/api/customercreditnote",
        "description": "List route. Token scope: read.",
        "tags": [
          "customercreditnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UNAPPLIEDAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Customercreditnote",
        "summary": "POST /v2/api/customercreditnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customercreditnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Customercreditnote",
        "summary": "PUT /v2/api/customercreditnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customercreditnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Customercreditnote",
        "summary": "DELETE /v2/api/customercreditnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customercreditnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/extradeliveryorder": {
      "get": {
        "operationId": "getV2Extradeliveryorder",
        "summary": "GET /v2/api/extradeliveryorder",
        "description": "List route. Token scope: read.",
        "tags": [
          "extradeliveryorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_AMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Extradeliveryorder",
        "summary": "POST /v2/api/extradeliveryorder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "extradeliveryorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Extradeliveryorder",
        "summary": "PUT /v2/api/extradeliveryorder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "extradeliveryorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Extradeliveryorder",
        "summary": "DELETE /v2/api/extradeliveryorder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "extradeliveryorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/extragoodsreceived": {
      "get": {
        "operationId": "getV2Extragoodsreceived",
        "summary": "GET /v2/api/extragoodsreceived",
        "description": "List route. Token scope: read.",
        "tags": [
          "extragoodsreceived"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LANDINGCOST1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LANDINGCOST2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALTOTALWITHCOST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_AMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Extragoodsreceived",
        "summary": "POST /v2/api/extragoodsreceived",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "extragoodsreceived"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Extragoodsreceived",
        "summary": "PUT /v2/api/extragoodsreceived",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "extragoodsreceived"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Extragoodsreceived",
        "summary": "DELETE /v2/api/extragoodsreceived",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "extragoodsreceived"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/salescancellednote": {
      "get": {
        "operationId": "getV2Salescancellednote",
        "summary": "GET /v2/api/salescancellednote",
        "description": "List route. Token scope: read.",
        "tags": [
          "salescancellednote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Salescancellednote",
        "summary": "POST /v2/api/salescancellednote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salescancellednote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Salescancellednote",
        "summary": "PUT /v2/api/salescancellednote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salescancellednote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Salescancellednote",
        "summary": "DELETE /v2/api/salescancellednote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salescancellednote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/suppliercreditnote": {
      "get": {
        "operationId": "getV2Suppliercreditnote",
        "summary": "GET /v2/api/suppliercreditnote",
        "description": "List route. Token scope: read.",
        "tags": [
          "suppliercreditnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UNAPPLIEDAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Suppliercreditnote",
        "summary": "POST /v2/api/suppliercreditnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "suppliercreditnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Suppliercreditnote",
        "summary": "PUT /v2/api/suppliercreditnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "suppliercreditnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Suppliercreditnote",
        "summary": "DELETE /v2/api/suppliercreditnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "suppliercreditnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockreorderadvice": {
      "get": {
        "operationId": "getV2Stockreorderadvice",
        "summary": "GET /v2/api/stockreorderadvice",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockreorderadvice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "sortby",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "dateto",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "item",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "location",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "project",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "agent",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "area",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "stockgroup",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/customerdebitnote": {
      "get": {
        "operationId": "getV2Customerdebitnote",
        "summary": "GET /v2/api/customerdebitnote",
        "description": "List route. Token scope: read.",
        "tags": [
          "customerdebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DUEDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Customerdebitnote",
        "summary": "POST /v2/api/customerdebitnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerdebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Customerdebitnote",
        "summary": "PUT /v2/api/customerdebitnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerdebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Customerdebitnote",
        "summary": "DELETE /v2/api/customerdebitnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerdebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/purchasedebitnote": {
      "get": {
        "operationId": "getV2Purchasedebitnote",
        "summary": "GET /v2/api/purchasedebitnote",
        "description": "List route. Token scope: read.",
        "tags": [
          "purchasedebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_RECEIVED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_VALIDATED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LANDINGCOST1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LANDINGCOST2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALTOTALWITHCOST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_STATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_INTERNALID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_LONGID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Purchasedebitnote",
        "summary": "POST /v2/api/purchasedebitnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchasedebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Purchasedebitnote",
        "summary": "PUT /v2/api/purchasedebitnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchasedebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Purchasedebitnote",
        "summary": "DELETE /v2/api/purchasedebitnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchasedebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/supplierdebitnote": {
      "get": {
        "operationId": "getV2Supplierdebitnote",
        "summary": "GET /v2/api/supplierdebitnote",
        "description": "List route. Token scope: read.",
        "tags": [
          "supplierdebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DUEDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Supplierdebitnote",
        "summary": "POST /v2/api/supplierdebitnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierdebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Supplierdebitnote",
        "summary": "PUT /v2/api/supplierdebitnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierdebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Supplierdebitnote",
        "summary": "DELETE /v2/api/supplierdebitnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierdebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/purchasereturned": {
      "get": {
        "operationId": "getV2Purchasereturned",
        "summary": "GET /v2/api/purchasereturned",
        "description": "List route. Token scope: read.",
        "tags": [
          "purchasereturned"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_RECEIVED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_VALIDATED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_STATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_INTERNALID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_LONGID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_DOCUUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Purchasereturned",
        "summary": "POST /v2/api/purchasereturned",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchasereturned"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Purchasereturned",
        "summary": "PUT /v2/api/purchasereturned",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchasereturned"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Purchasereturned",
        "summary": "DELETE /v2/api/purchasereturned",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchasereturned"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockbatchexpiry": {
      "get": {
        "operationId": "getV2Stockbatchexpiry",
        "summary": "GET /v2/api/stockbatchexpiry",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockbatchexpiry"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "sortby",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "datefrom_exp",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "dateto_exp",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "datefrom_mfg",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "dateto_mfg",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "item",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/companycategory": {
      "get": {
        "operationId": "getV2Companycategory",
        "summary": "GET /v2/api/companycategory",
        "description": "List route. Token scope: read.",
        "tags": [
          "companycategory"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Companycategory",
        "summary": "POST /v2/api/companycategory",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "companycategory"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Companycategory",
        "summary": "PUT /v2/api/companycategory",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "companycategory"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Companycategory",
        "summary": "DELETE /v2/api/companycategory",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "companycategory"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/customerdeposit": {
      "get": {
        "operationId": "getV2Customerdeposit",
        "summary": "GET /v2/api/customerdeposit",
        "description": "List route. Token scope: read.",
        "tags": [
          "customerdeposit"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DEPOSITACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTPROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYCURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYCURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGEACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UNAPPLIEDAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BOUNCEDDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Customerdeposit",
        "summary": "POST /v2/api/customerdeposit",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerdeposit"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Customerdeposit",
        "summary": "PUT /v2/api/customerdeposit",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerdeposit"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Customerdeposit",
        "summary": "DELETE /v2/api/customerdeposit",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerdeposit"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/customerinvoice": {
      "get": {
        "operationId": "getV2Customerinvoice",
        "summary": "GET /v2/api/customerinvoice",
        "description": "List route. Token scope: read.",
        "tags": [
          "customerinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DUEDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Customerinvoice",
        "summary": "POST /v2/api/customerinvoice",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Customerinvoice",
        "summary": "PUT /v2/api/customerinvoice",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Customerinvoice",
        "summary": "DELETE /v2/api/customerinvoice",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/customerpayment": {
      "get": {
        "operationId": "getV2Customerpayment",
        "summary": "GET /v2/api/customerpayment",
        "description": "List route. Token scope: read.",
        "tags": [
          "customerpayment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTPROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKACC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGEACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UNAPPLIEDAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NONREFUNDABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BOUNCEDDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKTRANSFERTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKREFNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKSTATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKSTATUSDESC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Customerpayment",
        "summary": "POST /v2/api/customerpayment",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerpayment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Customerpayment",
        "summary": "PUT /v2/api/customerpayment",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerpayment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Customerpayment",
        "summary": "DELETE /v2/api/customerpayment",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerpayment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/purchaseinvoice": {
      "get": {
        "operationId": "getV2Purchaseinvoice",
        "summary": "GET /v2/api/purchaseinvoice",
        "description": "List route. Token scope: read.",
        "tags": [
          "purchaseinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_RECEIVED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_VALIDATED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LANDINGCOST1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LANDINGCOST2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALTOTALWITHCOST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_AMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_STATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_INTERNALID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_LONGID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_DOCUUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Purchaseinvoice",
        "summary": "POST /v2/api/purchaseinvoice",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchaseinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Purchaseinvoice",
        "summary": "PUT /v2/api/purchaseinvoice",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchaseinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Purchaseinvoice",
        "summary": "DELETE /v2/api/purchaseinvoice",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchaseinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/purchaserequest": {
      "get": {
        "operationId": "getV2Purchaserequest",
        "summary": "GET /v2/api/purchaserequest",
        "description": "List route. Token scope: read.",
        "tags": [
          "purchaserequest"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Purchaserequest",
        "summary": "POST /v2/api/purchaserequest",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchaserequest"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Purchaserequest",
        "summary": "PUT /v2/api/purchaserequest",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchaserequest"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Purchaserequest",
        "summary": "DELETE /v2/api/purchaserequest",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchaserequest"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/salescreditnote": {
      "get": {
        "operationId": "getV2Salescreditnote",
        "summary": "GET /v2/api/salescreditnote",
        "description": "List route. Token scope: read.",
        "tags": [
          "salescreditnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_RECEIVED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_VALIDATED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_STATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_INTERNALID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_LONGID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_DOCUUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Salescreditnote",
        "summary": "POST /v2/api/salescreditnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salescreditnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Salescreditnote",
        "summary": "PUT /v2/api/salescreditnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salescreditnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Salescreditnote",
        "summary": "DELETE /v2/api/salescreditnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salescreditnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockadjustment": {
      "get": {
        "operationId": "getV2Stockadjustment",
        "summary": "GET /v2/api/stockadjustment",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockadjustment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "WRITEOFF",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTHBY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REASON",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Stockadjustment",
        "summary": "POST /v2/api/stockadjustment",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockadjustment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Stockadjustment",
        "summary": "PUT /v2/api/stockadjustment",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockadjustment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Stockadjustment",
        "summary": "DELETE /v2/api/stockadjustment",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockadjustment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/supplierdeposit": {
      "get": {
        "operationId": "getV2Supplierdeposit",
        "summary": "GET /v2/api/supplierdeposit",
        "description": "List route. Token scope: read.",
        "tags": [
          "supplierdeposit"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DEPOSITACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTPROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYCURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYCURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGEACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UNAPPLIEDAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BOUNCEDDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Supplierdeposit",
        "summary": "POST /v2/api/supplierdeposit",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierdeposit"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Supplierdeposit",
        "summary": "PUT /v2/api/supplierdeposit",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierdeposit"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Supplierdeposit",
        "summary": "DELETE /v2/api/supplierdeposit",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierdeposit"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/supplierinvoice": {
      "get": {
        "operationId": "getV2Supplierinvoice",
        "summary": "GET /v2/api/supplierinvoice",
        "description": "List route. Token scope: read.",
        "tags": [
          "supplierinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DUEDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Supplierinvoice",
        "summary": "POST /v2/api/supplierinvoice",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Supplierinvoice",
        "summary": "PUT /v2/api/supplierinvoice",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Supplierinvoice",
        "summary": "DELETE /v2/api/supplierinvoice",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/supplierpayment": {
      "get": {
        "operationId": "getV2Supplierpayment",
        "summary": "GET /v2/api/supplierpayment",
        "description": "List route. Token scope: read.",
        "tags": [
          "supplierpayment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTPROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKACC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGEACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UNAPPLIEDAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NONREFUNDABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BOUNCEDDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKTRANSFERTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKREFNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKSTATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKSTATUSDESC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Supplierpayment",
        "summary": "POST /v2/api/supplierpayment",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierpayment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Supplierpayment",
        "summary": "PUT /v2/api/supplierpayment",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierpayment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Supplierpayment",
        "summary": "DELETE /v2/api/supplierpayment",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierpayment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/bankadjustment": {
      "get": {
        "operationId": "getV2Bankadjustment",
        "summary": "GET /v2/api/bankadjustment",
        "description": "List route. Token scope: read.",
        "tags": [
          "bankadjustment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Bankadjustment",
        "summary": "POST /v2/api/bankadjustment",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "bankadjustment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Bankadjustment",
        "summary": "PUT /v2/api/bankadjustment",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "bankadjustment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Bankadjustment",
        "summary": "DELETE /v2/api/bankadjustment",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "bankadjustment"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/customercontra": {
      "get": {
        "operationId": "getV2Customercontra",
        "summary": "GET /v2/api/customercontra",
        "description": "List route. Token scope: read.",
        "tags": [
          "customercontra"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UNAPPLIEDAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Customercontra",
        "summary": "POST /v2/api/customercontra",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customercontra"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Customercontra",
        "summary": "PUT /v2/api/customercontra",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customercontra"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Customercontra",
        "summary": "DELETE /v2/api/customercontra",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customercontra"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/customerrefund": {
      "get": {
        "operationId": "getV2Customerrefund",
        "summary": "GET /v2/api/customerrefund",
        "description": "List route. Token scope: read.",
        "tags": [
          "customerrefund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTPROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKACC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGEACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UNAPPLIEDAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BOUNCEDDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKTRANSFERTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKREFNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKSTATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKSTATUSDESC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Customerrefund",
        "summary": "POST /v2/api/customerrefund",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerrefund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Customerrefund",
        "summary": "PUT /v2/api/customerrefund",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerrefund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Customerrefund",
        "summary": "DELETE /v2/api/customerrefund",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customerrefund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/paymentvoucher": {
      "get": {
        "operationId": "getV2Paymentvoucher",
        "summary": "GET /v2/api/paymentvoucher",
        "description": "List route. Token scope: read.",
        "tags": [
          "paymentvoucher"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_RECEIVED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_VALIDATED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGEACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BOUNCEDDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DEPOSITKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_STATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_INTERNALID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_LONGID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Paymentvoucher",
        "summary": "POST /v2/api/paymentvoucher",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "paymentvoucher"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Paymentvoucher",
        "summary": "PUT /v2/api/paymentvoucher",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "paymentvoucher"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Paymentvoucher",
        "summary": "DELETE /v2/api/paymentvoucher",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "paymentvoucher"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/receiptvoucher": {
      "get": {
        "operationId": "getV2Receiptvoucher",
        "summary": "GET /v2/api/receiptvoucher",
        "description": "List route. Token scope: read.",
        "tags": [
          "receiptvoucher"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_RECEIVED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_VALIDATED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGEACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BOUNCEDDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DEPOSITKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_STATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_INTERNALID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_LONGID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Receiptvoucher",
        "summary": "POST /v2/api/receiptvoucher",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "receiptvoucher"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Receiptvoucher",
        "summary": "PUT /v2/api/receiptvoucher",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "receiptvoucher"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Receiptvoucher",
        "summary": "DELETE /v2/api/receiptvoucher",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "receiptvoucher"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/salesdebitnote": {
      "get": {
        "operationId": "getV2Salesdebitnote",
        "summary": "GET /v2/api/salesdebitnote",
        "description": "List route. Token scope: read.",
        "tags": [
          "salesdebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_RECEIVED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_VALIDATED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_STATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_INTERNALID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_LONGID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Salesdebitnote",
        "summary": "POST /v2/api/salesdebitnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salesdebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Salesdebitnote",
        "summary": "PUT /v2/api/salesdebitnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salesdebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Salesdebitnote",
        "summary": "DELETE /v2/api/salesdebitnote",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salesdebitnote"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/salesquotation": {
      "get": {
        "operationId": "getV2Salesquotation",
        "summary": "GET /v2/api/salesquotation",
        "description": "List route. Token scope: read.",
        "tags": [
          "salesquotation"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Salesquotation",
        "summary": "POST /v2/api/salesquotation",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salesquotation"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Salesquotation",
        "summary": "PUT /v2/api/salesquotation",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salesquotation"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Salesquotation",
        "summary": "DELETE /v2/api/salesquotation",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salesquotation"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/suppliercontra": {
      "get": {
        "operationId": "getV2Suppliercontra",
        "summary": "GET /v2/api/suppliercontra",
        "description": "List route. Token scope: read.",
        "tags": [
          "suppliercontra"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UNAPPLIEDAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Suppliercontra",
        "summary": "POST /v2/api/suppliercontra",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "suppliercontra"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Suppliercontra",
        "summary": "PUT /v2/api/suppliercontra",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "suppliercontra"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Suppliercontra",
        "summary": "DELETE /v2/api/suppliercontra",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "suppliercontra"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/supplierrefund": {
      "get": {
        "operationId": "getV2Supplierrefund",
        "summary": "GET /v2/api/supplierrefund",
        "description": "List route. Token scope: read.",
        "tags": [
          "supplierrefund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTPROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKACC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGEACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UNAPPLIEDAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BOUNCEDDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKTRANSFERTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKREFNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKSTATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKSTATUSDESC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Supplierrefund",
        "summary": "POST /v2/api/supplierrefund",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierrefund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Supplierrefund",
        "summary": "PUT /v2/api/supplierrefund",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierrefund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Supplierrefund",
        "summary": "DELETE /v2/api/supplierrefund",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplierrefund"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/assetdisposal": {
      "get": {
        "operationId": "getV2Assetdisposal",
        "summary": "GET /v2/api/assetdisposal",
        "description": "List route. Token scope: read.",
        "tags": [
          "assetdisposal"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTOKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ASSET",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ASSETGROUP",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "QTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ACCUMDEPR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NETBOOK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GAINLOSS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PAYMENTPROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GAINLOSSACC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ROWVER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Assetdisposal",
        "summary": "POST /v2/api/assetdisposal",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "assetdisposal"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Assetdisposal",
        "summary": "PUT /v2/api/assetdisposal",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "assetdisposal"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Assetdisposal",
        "summary": "DELETE /v2/api/assetdisposal",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "assetdisposal"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/deliveryorder": {
      "get": {
        "operationId": "getV2Deliveryorder",
        "summary": "GET /v2/api/deliveryorder",
        "description": "List route. Token scope: read.",
        "tags": [
          "deliveryorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_AMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Deliveryorder",
        "summary": "POST /v2/api/deliveryorder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "deliveryorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Deliveryorder",
        "summary": "PUT /v2/api/deliveryorder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "deliveryorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Deliveryorder",
        "summary": "DELETE /v2/api/deliveryorder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "deliveryorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/goodsreceived": {
      "get": {
        "operationId": "getV2Goodsreceived",
        "summary": "GET /v2/api/goodsreceived",
        "description": "List route. Token scope: read.",
        "tags": [
          "goodsreceived"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LANDINGCOST1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LANDINGCOST2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALTOTALWITHCOST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_AMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Goodsreceived",
        "summary": "POST /v2/api/goodsreceived",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "goodsreceived"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Goodsreceived",
        "summary": "PUT /v2/api/goodsreceived",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "goodsreceived"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Goodsreceived",
        "summary": "DELETE /v2/api/goodsreceived",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "goodsreceived"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/purchaseorder": {
      "get": {
        "operationId": "getV2Purchaseorder",
        "summary": "GET /v2/api/purchaseorder",
        "description": "List route. Token scope: read.",
        "tags": [
          "purchaseorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_PAYMENTPROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_BANKCHARGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_BANKCHARGEACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_AMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Purchaseorder",
        "summary": "POST /v2/api/purchaseorder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchaseorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Purchaseorder",
        "summary": "PUT /v2/api/purchaseorder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchaseorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Purchaseorder",
        "summary": "DELETE /v2/api/purchaseorder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "purchaseorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockcategory": {
      "get": {
        "operationId": "getV2Stockcategory",
        "summary": "GET /v2/api/stockcategory",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockcategory"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Stockcategory",
        "summary": "POST /v2/api/stockcategory",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockcategory"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Stockcategory",
        "summary": "PUT /v2/api/stockcategory",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockcategory"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Stockcategory",
        "summary": "DELETE /v2/api/stockcategory",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockcategory"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockreceived": {
      "get": {
        "operationId": "getV2Stockreceived",
        "summary": "GET /v2/api/stockreceived",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockreceived"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTHBY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REASON",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Stockreceived",
        "summary": "POST /v2/api/stockreceived",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockreceived"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Stockreceived",
        "summary": "PUT /v2/api/stockreceived",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockreceived"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Stockreceived",
        "summary": "DELETE /v2/api/stockreceived",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockreceived"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stocktransfer": {
      "get": {
        "operationId": "getV2Stocktransfer",
        "summary": "GET /v2/api/stocktransfer",
        "description": "List route. Token scope: read.",
        "tags": [
          "stocktransfer"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTHBY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REASON",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Stocktransfer",
        "summary": "POST /v2/api/stocktransfer",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stocktransfer"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Stocktransfer",
        "summary": "PUT /v2/api/stocktransfer",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stocktransfer"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Stocktransfer",
        "summary": "DELETE /v2/api/stocktransfer",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stocktransfer"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockanalysis": {
      "get": {
        "operationId": "getV2Stockanalysis",
        "summary": "GET /v2/api/stockanalysis",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockanalysis"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "sortby",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "datefrom",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "dateto",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "item",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "location",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "project",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "agent",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "area",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "stockgroup",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/cashpurchase": {
      "get": {
        "operationId": "getV2Cashpurchase",
        "summary": "GET /v2/api/cashpurchase",
        "description": "List route. Token scope: read.",
        "tags": [
          "cashpurchase"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_RECEIVED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_VALIDATED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LANDINGCOST1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LANDINGCOST2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALTOTALWITHCOST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_AMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_PAYMENTPROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_BANKCHARGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_BANKCHARGEACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_AMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_STATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_INTERNALID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_LONGID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_DOCUUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Cashpurchase",
        "summary": "POST /v2/api/cashpurchase",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "cashpurchase"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Cashpurchase",
        "summary": "PUT /v2/api/cashpurchase",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "cashpurchase"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Cashpurchase",
        "summary": "DELETE /v2/api/cashpurchase",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "cashpurchase"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/itemtemplate": {
      "get": {
        "operationId": "getV2Itemtemplate",
        "summary": "GET /v2/api/itemtemplate",
        "description": "List route. Token scope: read.",
        "tags": [
          "itemtemplate"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REFPRICE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Itemtemplate",
        "summary": "POST /v2/api/itemtemplate",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "itemtemplate"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Itemtemplate",
        "summary": "PUT /v2/api/itemtemplate",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "itemtemplate"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Itemtemplate",
        "summary": "DELETE /v2/api/itemtemplate",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "itemtemplate"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/journalentry": {
      "get": {
        "operationId": "getV2Journalentry",
        "summary": "GET /v2/api/journalentry",
        "description": "List route. Token scope: read.",
        "tags": [
          "journalentry"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GLTRANSID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Journalentry",
        "summary": "POST /v2/api/journalentry",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "journalentry"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Journalentry",
        "summary": "PUT /v2/api/journalentry",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "journalentry"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Journalentry",
        "summary": "DELETE /v2/api/journalentry",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "journalentry"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/salesinvoice": {
      "get": {
        "operationId": "getV2Salesinvoice",
        "summary": "GET /v2/api/salesinvoice",
        "description": "List route. Token scope: read.",
        "tags": [
          "salesinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_RECEIVED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_VALIDATED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_AMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_STATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_INTERNALID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_LONGID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIVREQUEST_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_DOCUUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Salesinvoice",
        "summary": "POST /v2/api/salesinvoice",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salesinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Salesinvoice",
        "summary": "PUT /v2/api/salesinvoice",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salesinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Salesinvoice",
        "summary": "DELETE /v2/api/salesinvoice",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salesinvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockcardqty": {
      "get": {
        "operationId": "getV2Stockcardqty",
        "summary": "GET /v2/api/stockcardqty",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockcardqty"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "sortby",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "datefrom",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "dateto",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "item",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "location",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "project",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "agent",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "area",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "stockgroup",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/disassembly": {
      "get": {
        "operationId": "getV2Disassembly",
        "summary": "GET /v2/api/disassembly",
        "description": "List route. Token scope: read.",
        "tags": [
          "disassembly"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ITEMCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCATION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BATCH",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "QTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UOM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "RATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SQTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUOMQTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ASMCOST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MULTIPLY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTHBY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REASON",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BOMPACKAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Disassembly",
        "summary": "POST /v2/api/disassembly",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "disassembly"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Disassembly",
        "summary": "PUT /v2/api/disassembly",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "disassembly"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Disassembly",
        "summary": "DELETE /v2/api/disassembly",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "disassembly"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/memberpoint": {
      "get": {
        "operationId": "getV2Memberpoint",
        "summary": "GET /v2/api/memberpoint",
        "description": "List route. Token scope: read.",
        "tags": [
          "memberpoint"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POINTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ROWVER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Memberpoint",
        "summary": "POST /v2/api/memberpoint",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "memberpoint"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Memberpoint",
        "summary": "PUT /v2/api/memberpoint",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "memberpoint"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Memberpoint",
        "summary": "DELETE /v2/api/memberpoint",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "memberpoint"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/assetgroup": {
      "get": {
        "operationId": "getV2Assetgroup",
        "summary": "GET /v2/api/assetgroup",
        "description": "List route. Token scope: read.",
        "tags": [
          "assetgroup"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTOKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DEPRMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ASSETACC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ACCUMDEPRACC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DEPRACC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DISPOSALGAINACC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DISPOSALLOSSACC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISDEFAULT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ROWVER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Assetgroup",
        "summary": "POST /v2/api/assetgroup",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "assetgroup"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Assetgroup",
        "summary": "PUT /v2/api/assetgroup",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "assetgroup"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Assetgroup",
        "summary": "DELETE /v2/api/assetgroup",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "assetgroup"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/salesorder": {
      "get": {
        "operationId": "getV2Salesorder",
        "summary": "GET /v2/api/salesorder",
        "description": "List route. Token scope: read.",
        "tags": [
          "salesorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_PAYMENTPROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_BANKCHARGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_BANKCHARGEACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_AMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Salesorder",
        "summary": "POST /v2/api/salesorder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salesorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Salesorder",
        "summary": "PUT /v2/api/salesorder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salesorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Salesorder",
        "summary": "DELETE /v2/api/salesorder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "salesorder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockgroup": {
      "get": {
        "operationId": "getV2Stockgroup",
        "summary": "GET /v2/api/stockgroup",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockgroup"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALES",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESRETURNED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CASHSALES",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PURCHASE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CASHPURCHASE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PURCHASERETURNED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BALANCESTOCK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COSTINGMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Stockgroup",
        "summary": "POST /v2/api/stockgroup",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockgroup"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Stockgroup",
        "summary": "PUT /v2/api/stockgroup",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockgroup"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Stockgroup",
        "summary": "DELETE /v2/api/stockgroup",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockgroup"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockissue": {
      "get": {
        "operationId": "getV2Stockissue",
        "summary": "GET /v2/api/stockissue",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockissue"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTHBY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REASON",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Stockissue",
        "summary": "POST /v2/api/stockissue",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockissue"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Stockissue",
        "summary": "PUT /v2/api/stockissue",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockissue"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Stockissue",
        "summary": "DELETE /v2/api/stockissue",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockissue"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockaging": {
      "get": {
        "operationId": "getV2Stockaging",
        "summary": "GET /v2/api/stockaging",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockaging"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "dateto",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "item",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "location",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "stockgroup",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "sortby",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/assetitem": {
      "get": {
        "operationId": "getV2Assetitem",
        "summary": "GET /v2/api/assetitem",
        "description": "List route. Token scope: read.",
        "tags": [
          "assetitem"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTOKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ASSETGROUP",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ACQUIREDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "USEFULLIFE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DEPRRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DEPRFREQUENCY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "RESIDUAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "QTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATUSDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHOTO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ROWVER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Assetitem",
        "summary": "POST /v2/api/assetitem",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "assetitem"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Assetitem",
        "summary": "PUT /v2/api/assetitem",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "assetitem"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Assetitem",
        "summary": "DELETE /v2/api/assetitem",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "assetitem"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/cashsales": {
      "get": {
        "operationId": "getV2Cashsales",
        "summary": "GET /v2/api/cashsales",
        "description": "List route. Token scope: read.",
        "tags": [
          "cashsales"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_RECEIVED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIV_VALIDATED_UTC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCALDOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "D_AMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_PAYMENTMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_CHEQUENUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_PAYMENTPROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_BANKCHARGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_BANKCHARGEACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_AMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "P_PAIDAMOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INCOTERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_STATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_INTERNALID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_LONGID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EIVREQUEST_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOL_DOCUUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Cashsales",
        "summary": "POST /v2/api/cashsales",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "cashsales"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Cashsales",
        "summary": "PUT /v2/api/cashsales",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "cashsales"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Cashsales",
        "summary": "DELETE /v2/api/cashsales",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "cashsales"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockitem": {
      "get": {
        "operationId": "getV2Stockitem",
        "summary": "GET /v2/api/stockitem",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockitem"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STOCKGROUP",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STOCKCONTROL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COSTINGMETHOD",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERIALNUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MINQTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MAXQTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REORDERLEVEL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REORDERQTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHELF",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUOM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ITEMTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LEADTIME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BOM_LEADTIME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BOM_ASMCOST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SLTAX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHTAX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TARIFF",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_CLASSIFICATION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STOCKMATRIX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DEFUOM_ST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DEFUOM_SL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DEFUOM_PH",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SCRIPTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BALSQTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BALSUOMQTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CREATIONDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PICTURE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PICTURECLASS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Stockitem",
        "summary": "POST /v2/api/stockitem",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockitem"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Stockitem",
        "summary": "PUT /v2/api/stockitem",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockitem"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Stockitem",
        "summary": "DELETE /v2/api/stockitem",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "stockitem"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/stockcard": {
      "get": {
        "operationId": "getV2Stockcard",
        "summary": "GET /v2/api/stockcard",
        "description": "List route. Token scope: read.",
        "tags": [
          "stockcard"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "sortby",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "datefrom",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "dateto",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "item",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "location",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "project",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "agent",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "area",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "stockgroup",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/assembly": {
      "get": {
        "operationId": "getV2Assembly",
        "summary": "GET /v2/api/assembly",
        "description": "List route. Token scope: read.",
        "tags": [
          "assembly"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ITEMCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCATION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BATCH",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "QTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UOM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "RATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SQTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUOMQTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ASMCOST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MULTIPLY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTHBY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REASON",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BOMPACKAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Assembly",
        "summary": "POST /v2/api/assembly",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "assembly"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Assembly",
        "summary": "PUT /v2/api/assembly",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "assembly"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Assembly",
        "summary": "DELETE /v2/api/assembly",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "assembly"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/currency": {
      "get": {
        "operationId": "getV2Currency",
        "summary": "GET /v2/api/currency",
        "description": "List route. Token scope: read.",
        "tags": [
          "currency"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SYMBOL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISOCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FCLOSSACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FCGAINACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUYINGRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SELLINGRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COLOR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Currency",
        "summary": "POST /v2/api/currency",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "currency"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Currency",
        "summary": "PUT /v2/api/currency",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "currency"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Currency",
        "summary": "DELETE /v2/api/currency",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "currency"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/customer": {
      "get": {
        "operationId": "getV2Customer",
        "summary": "GET /v2/api/customer",
        "description": "List route. Token scope: read.",
        "tags": [
          "customer"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CONTROLACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYCATEGORY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BIZNATURE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CREDITTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CREDITLIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "OVERDUELIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATEMENTTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "OUTSTANDING",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ALLOWEXCEEDCREDITLIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDPDCTOCRLIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGINGON",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRICETAG",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CREATIONDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXPDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRN2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GSTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_CLASSIFICATION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INFOREQUEST_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOLID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXAREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Customer",
        "summary": "POST /v2/api/customer",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Customer",
        "summary": "PUT /v2/api/customer",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Customer",
        "summary": "DELETE /v2/api/customer",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "customer"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/joborder": {
      "get": {
        "operationId": "getV2Joborder",
        "summary": "GET /v2/api/joborder",
        "description": "List route. Token scope: read.",
        "tags": [
          "joborder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCNOEX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SHIPPER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCAMT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VALIDITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERYTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCREF4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRANCHNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPOSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DSTATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DCOUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DMOBILE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ITEMCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOCATION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BATCH",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "QTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UOM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "RATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SQTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUOMQTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ASMCOST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MULTIPLY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTHBY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REASON",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BOMPACKAGE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FROMDTLKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLEDDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CANCELLEDQTY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TRANSFERABLE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "UPDATECOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRINTCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Joborder",
        "summary": "POST /v2/api/joborder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "joborder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Joborder",
        "summary": "PUT /v2/api/joborder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "joborder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "docno": "ZZT-1",
                "docdate": "2026-01-31",
                "description": "Sample",
                "sdsdocdetail": [
                  {
                    "description": "Sample line"
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Joborder",
        "summary": "DELETE /v2/api/joborder",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "joborder"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/location": {
      "get": {
        "operationId": "getV2Location",
        "summary": "GET /v2/api/location",
        "description": "List route. Token scope: read.",
        "tags": [
          "location"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EMAIL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Location",
        "summary": "POST /v2/api/location",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "location"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Location",
        "summary": "PUT /v2/api/location",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "location"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Location",
        "summary": "DELETE /v2/api/location",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "location"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/pmmethod": {
      "get": {
        "operationId": "getV2Pmmethod",
        "summary": "GET /v2/api/pmmethod",
        "description": "List route. Token scope: read.",
        "tags": [
          "pmmethod"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "JOURNAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKCHARGEACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "OVERDRAFTLIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ORDOCNUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PVDOCNUMBER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BANKID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GIRO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DATA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Pmmethod",
        "summary": "POST /v2/api/pmmethod",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "pmmethod"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Pmmethod",
        "summary": "PUT /v2/api/pmmethod",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "pmmethod"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Pmmethod",
        "summary": "DELETE /v2/api/pmmethod",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "pmmethod"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/pricetag": {
      "get": {
        "operationId": "getV2Pricetag",
        "summary": "GET /v2/api/pricetag",
        "description": "List route. Token scope: read.",
        "tags": [
          "pricetag"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Pricetag",
        "summary": "POST /v2/api/pricetag",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "pricetag"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Pricetag",
        "summary": "PUT /v2/api/pricetag",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "pricetag"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Pricetag",
        "summary": "DELETE /v2/api/pricetag",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "pricetag"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/supplier": {
      "get": {
        "operationId": "getV2Supplier",
        "summary": "GET /v2/api/supplier",
        "description": "List route. Token scope: read.",
        "tags": [
          "supplier"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CONTROLACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYCATEGORY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BIZNATURE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CREDITTERM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CREDITLIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "OVERDUELIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATEMENTTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "OUTSTANDING",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ALLOWEXCEEDCREDITLIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDPDCTOCRLIMIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AGINGON",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATUS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PRICETAG",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CREATIONDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXEMPTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXEXPDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRN2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GSTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SUBMISSIONTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IRBM_CLASSIFICATION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INFOREQUEST_UUID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOLID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BUSINESSUNIT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXAREA",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Supplier",
        "summary": "POST /v2/api/supplier",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Supplier",
        "summary": "PUT /v2/api/supplier",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Supplier",
        "summary": "DELETE /v2/api/supplier",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "supplier"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/einvoice": {
      "get": {
        "operationId": "getV2Einvoice",
        "summary": "GET /v2/api/einvoice",
        "description": "List route. Token scope: read.",
        "tags": [
          "einvoice"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/account": {
      "get": {
        "operationId": "getV2Account",
        "summary": "GET /v2/api/account",
        "description": "List route. Token scope: read.",
        "tags": [
          "account"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DOCKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PARENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ACCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SPECIALACCTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CASHFLOWTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/project": {
      "get": {
        "operationId": "getV2Project",
        "summary": "GET /v2/api/project",
        "description": "List route. Token scope: read.",
        "tags": [
          "project"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECTVALUE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PROJECTCOST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Project",
        "summary": "POST /v2/api/project",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "project"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Project",
        "summary": "PUT /v2/api/project",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "project"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Project",
        "summary": "DELETE /v2/api/project",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "project"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/shipper": {
      "get": {
        "operationId": "getV2Shipper",
        "summary": "GET /v2/api/shipper",
        "description": "List route. Token scope: read.",
        "tags": [
          "shipper"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTOKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISDEFAULT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ROWVER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Shipper",
        "summary": "POST /v2/api/shipper",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "shipper"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Shipper",
        "summary": "PUT /v2/api/shipper",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "shipper"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Shipper",
        "summary": "DELETE /v2/api/shipper",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "shipper"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/profile": {
      "get": {
        "operationId": "getV2Profile",
        "summary": "GET /v2/api/profile",
        "description": "List route. Token scope: read.",
        "tags": [
          "profile"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTOKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COMPANYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARKCOLOR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BRN2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GSTNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PERMITNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SALESTAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SERVICETAXNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SSTSTARTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SST2024_SPECIAL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TIN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "IDNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TOURISMNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SIC",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "RADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "RADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "RADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "RADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ADDRESS4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "POSTCODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CITY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "STATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GEOLAT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "GEOLONG",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERADDR1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERADDR2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERADDR3",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERADDR4",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERPHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DELIVERFAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTENTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PHONE2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "FAX2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "BIZNATURE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EMAIL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "URL",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "COUNTRY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CURRENCYLANG",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MYINVOIS_STARTDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ALIAS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXABLEPERSONNAME1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXABLEPERSONNAME2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXAGENCYNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXAGENCYNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXAGENTNAME",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXAGENTAPPROVALNO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "PEPPOLID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "VENDORID",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "SMTP_URI",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "URL_ATTACHMENT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "URL_STOCKTAKE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "WEBAPP_HOST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "WEBAPP_HTTPPORT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "WEBAPP_HTTPSPORT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "WEBAPP_DNSKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "API_HOST",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "API_HTTPPORT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "API_HTTPSPORT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "API_DNSKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOGO",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LOGOCLASS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "NOTE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REPORTFOOTER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ROWVER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/version": {
      "get": {
        "operationId": "getV2Version",
        "summary": "GET /v2/api/version",
        "description": "List route. Token scope: read.",
        "tags": [
          "version"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/changes": {
      "get": {
        "operationId": "getV2Changes",
        "summary": "GET /v2/api/changes",
        "description": "List route. Token scope: read.",
        "tags": [
          "changes"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "until",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/tariff": {
      "get": {
        "operationId": "getV2Tariff",
        "summary": "GET /v2/api/tariff",
        "description": "List route. Token scope: read.",
        "tags": [
          "tariff"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTOKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISDEFAULT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ROWVER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Tariff",
        "summary": "POST /v2/api/tariff",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "tariff"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Tariff",
        "summary": "PUT /v2/api/tariff",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "tariff"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Tariff",
        "summary": "DELETE /v2/api/tariff",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "tariff"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/agent": {
      "get": {
        "operationId": "getV2Agent",
        "summary": "GET /v2/api/agent",
        "description": "List route. Token scope: read.",
        "tags": [
          "agent"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Agent",
        "summary": "POST /v2/api/agent",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "agent"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Agent",
        "summary": "PUT /v2/api/agent",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "agent"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Agent",
        "summary": "DELETE /v2/api/agent",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "agent"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/batch": {
      "get": {
        "operationId": "getV2Batch",
        "summary": "GET /v2/api/batch",
        "description": "List route. Token scope: read.",
        "tags": [
          "batch"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTOKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "EXPDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "MFGDATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK1",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "REMARK2",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ROWVER",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Batch",
        "summary": "POST /v2/api/batch",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "batch"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Batch",
        "summary": "PUT /v2/api/batch",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "batch"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Batch",
        "summary": "DELETE /v2/api/batch",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "batch"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/terms": {
      "get": {
        "operationId": "getV2Terms",
        "summary": "GET /v2/api/terms",
        "description": "List route. Token scope: read.",
        "tags": [
          "terms"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMDAY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TERMMONTH",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Terms",
        "summary": "POST /v2/api/terms",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "terms"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Terms",
        "summary": "PUT /v2/api/terms",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "terms"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Terms",
        "summary": "DELETE /v2/api/terms",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "terms"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/whtax": {
      "get": {
        "operationId": "getV2Whtax",
        "summary": "GET /v2/api/whtax",
        "description": "List route. Token scope: read.",
        "tags": [
          "whtax"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTOKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXACCOUNTDR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXACCOUNTCR",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISDEFAULT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Whtax",
        "summary": "POST /v2/api/whtax",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "whtax"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Whtax",
        "summary": "PUT /v2/api/whtax",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "whtax"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Whtax",
        "summary": "DELETE /v2/api/whtax",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "whtax"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/audit": {
      "get": {
        "operationId": "getV2Audit",
        "summary": "GET /v2/api/audit",
        "description": "List route. Token scope: write.",
        "tags": [
          "audit"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "until",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "path",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "token",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/area": {
      "get": {
        "operationId": "getV2Area",
        "summary": "GET /v2/api/area",
        "description": "List route. Token scope: read.",
        "tags": [
          "area"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Area",
        "summary": "POST /v2/api/area",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "area"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Area",
        "summary": "PUT /v2/api/area",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "area"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Area",
        "summary": "DELETE /v2/api/area",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "area"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    },
    "/v2/api/tax": {
      "get": {
        "operationId": "getV2Tax",
        "summary": "GET /v2/api/tax",
        "description": "List route. Token scope: read.",
        "tags": [
          "tax"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            },
            "example": "5"
          },
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "AUTOKEY",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "CODE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "DESCRIPTION",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXRETURNACCOUNT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXRATE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXTYPE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "INPUTTAX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "OUTPUTTAX",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "TAXINCLUSIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISDEFAULT",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ISACTIVE",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "ATTACHMENTS",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          },
          {
            "name": "LASTMODIFIED",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      },
      "post": {
        "operationId": "postV2Tax",
        "summary": "POST /v2/api/tax",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "tax"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "putV2Tax",
        "summary": "PUT /v2/api/tax",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "tax"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              },
              "example": {
                "code": "ZZT-1",
                "description": "Sample"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteV2Tax",
        "summary": "DELETE /v2/api/tax",
        "description": "List route. Token scope: write. This changes SQL Accounting.",
        "tags": [
          "tax"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "name": "CODE",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "VARCHAR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "default": {
            "description": "An error: {\u0022error\u0022: \u0022\u2026\u0022} or the v1 error envelope"
          }
        }
      }
    }
  }
}