WISK.ai · Schema
SalesLine
A single point-of-sale sales line from a receipt.
RestaurantBarInventoryHospitalitySalesPOS Integration
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The unique identifier of the receipt sales line. If a client buys two different cocktails on one receipt, each cocktail is a separate line with a different id. |
| date | string | The receipt date, in ISO 8601 format. |
| plu_number | string | The unique POS identifier (price look-up number) of the POS item sold. |
| title | string | The name of the POS item sold. |
| quantity | number | How many of the item were sold. May be negative to represent a void or refund line. |
| total | number | The total for the line in the venue's local currency. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/wisk/refs/heads/main/json-schema/sales-upload-sales-line-schema.json",
"title": "SalesLine",
"description": "A single point-of-sale sales line from a receipt.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier of the receipt sales line. If a client buys two different cocktails on one receipt, each cocktail is a separate line with a different id.",
"example": "1"
},
"date": {
"type": "string",
"format": "date-time",
"description": "The receipt date, in ISO 8601 format.",
"example": "2019-01-04T02:37:30Z"
},
"plu_number": {
"type": "string",
"description": "The unique POS identifier (price look-up number) of the POS item sold.",
"example": "1"
},
"title": {
"type": "string",
"description": "The name of the POS item sold.",
"example": "Negroni"
},
"quantity": {
"type": "number",
"format": "double",
"description": "How many of the item were sold. May be negative to represent a void or refund line.",
"example": 2
},
"total": {
"type": "number",
"format": "double",
"description": "The total for the line in the venue's local currency.",
"example": 60
}
},
"required": [
"id",
"date",
"plu_number",
"title",
"quantity",
"total"
]
}