---
title: "GET /api/app/sales/receipt/{id}"
method: GET
path: "/api/app/sales/receipt/{id}"
tags: ["Sales"]
---

# GET /api/app/sales/receipt/{id}

`GET /api/app/sales/receipt/{id}`

## 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/sales/receipt/{id}`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Path parameters

- `id` string, uuid, required

## Response `200`

Success

- KhaasFoodSalesDTOsSaleReceiptInfoDto
  - `orderNumber` string, nullable
  - `orderReferenceNumber` string, nullable
  - `givenAmount` number, double
  - `totalDiscountAmount` number, double
  - `overallDiscountAmount` number, double
  - `overallDiscountPercentage` number, double
  - `totalAmount` number, double
  - `paidAmount` number, double
  - `dueAmount` number, double
  - `changeAmount` number, double
  - `payableAmount` number, double
  - `deliveryCharge` number, double
  - `redeemedPoint` integer
  - `redeemedAmount` number, double
  - `usedReferralRewardAmount` number, double
  - `deliveryDate` string, date-time
  - `remarks` string, nullable
  - `orderState` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
  - `saleFrom` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
  - `dealerName` string, nullable
  - `dealerPhone` string, nullable
  - `dealerAddress` string, nullable
  - `distributorName` string, nullable
  - `distributorPhone` string, nullable
  - `distributorAddress` string, nullable
  - `customerName` string, nullable
  - `customerPhone` string, nullable
  - `customerMemberShipNumber` string, nullable
  - `customerNote` string, nullable
  - `contactPersonName` string, nullable
  - `contactPersonPhone` string, nullable
  - `customerDeliveryAddress` string, nullable
  - `customerDeliveryAddressArea` string, nullable
  - `creationTime` string, date-time
  - `isDealerSale` boolean
  - `isDistributorSale` boolean
  - `totalProductQuantity` number, double
  - `productAmount` number, double
  - `productPayableTotal` number, double
  - `productDiscountTotal` number, double
  - `lineItems` KhaasFoodSalesDTOsProductSaleLineItemDto[], nullable
    - `id` string, uuid, nullable
    - `productDetailId` string, uuid
    - `productDetailName` string, nullable
    - `unitPrice` number, double
    - `quantity` number, double
    - `demandQuantity` number, double, nullable
    - `discountPercentage` number, double
    - `discountPerUnit` number, double
    - `maxQuantityForDiscount` number, double, nullable
    - `discountTotal` number, double
    - `totalPrice` number, double
    - `type` 1 | 2 | 3 | 4 | 5
    - `isSaleable` boolean, nullable
    - `isCollapsed` boolean
  - `saleReturnTagIds` string[], nullable
  - `saleReturnTagDto` KhaasFoodSalesDTOsSaleReturnTagDto
    - `saleReturnTagItems` KhaasFoodSalesDTOsSaleReturnTagItemDto[], nullable
      - `itemName` string, nullable
      - `quantity` number, double
    - `adjustedAmount` number, double

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