---
title: "POST /api/app/voucher/is-exist-voucher-number"
method: POST
path: "/api/app/voucher/is-exist-voucher-number"
tags: ["Voucher"]
---

# POST /api/app/voucher/is-exist-voucher-number

`POST /api/app/voucher/is-exist-voucher-number`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/api/app/voucher/is-exist-voucher-number`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Query parameters

- `voucherNumber` string

## Response `200`

Success

- WafiAbpAccountingVouchersDtosVoucherDto
  - `extraProperties` object, nullable
  - `id` string, uuid
  - `creationTime` string, date-time
  - `creatorId` string, uuid, nullable
  - `lastModificationTime` string, date-time, nullable
  - `lastModifierId` string, uuid, nullable
  - `voucherNumber` string, nullable
  - `voucherType` 1 | 2 | 3 | 4 | 5 | 6
  - `voucherTypeString` string, nullable
  - `referenceNumber` string, nullable
  - `voucherDetails` WafiAbpAccountingVoucherDetailsDtosVoucherDetailDto[], nullable
    - `id` string, uuid
    - `creationTime` string, date-time
    - `creatorId` string, uuid, nullable
    - `lastModificationTime` string, date-time, nullable
    - `lastModifierId` string, uuid, nullable
    - `serial` integer
    - `accountId` string, uuid, required
    - `accountName` string, nullable
    - `debitAmount` number, double
    - `creditAmount` number, double
    - `debitAmountString` string, nullable
    - `creditAmountString` string, nullable
    - `note` string, nullable
    - `balance` number, double
    - `balanceString` string, nullable
  - `dateTime` string, date-time
  - `dateTimeString` string, nullable
  - `description` string, nullable
  - `isApproved` boolean
  - `selectedAccount` string, uuid, nullable
  - `accountName` string, nullable
  - `isApprovedString` string, nullable
  - `approvedTime` string, nullable
  - `approvedDateTime` string, date-time, nullable
  - `entryBy` string, uuid, nullable
  - `approvedBy` string, uuid, nullable
  - `operatorName` string, nullable
  - `approverName` string, nullable
  - `totalAmount` number, double
  - `totalAmountString` string, nullable
  - `isExistVoucherNumber` boolean
  - `isExternalCreate` boolean
  - `projectId` string, uuid, nullable
  - `projectName` string, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
