Enums
Enum values defined in the retail POS Prisma schema, verbatim.
From retail_pos_server/prisma/schema.prisma. These values are the source of
truth for status/type fields throughout the API and UI.
BarcodeType
How an item's barcode is classified/normalized.
enum BarcodeType {
RAW
GTIN
PLU
UPC
EAN
}ItemRFD
Default tax/handling class of an item — Retail, Food, Draft.
enum ItemRFD {
R
F
D
}PaymentType
Tender types on a sale/refund.
enum PaymentType {
CASH
CREDIT
VOUCHER
GIFTCARD // 3rd-party gift card — treated as CREDIT without surcharge
}InvoiceType
enum InvoiceType {
SALE
REFUND
SPEND // internal store consumption (kitchen / cafe / office)
}SaleInvoiceRowType
enum SaleInvoiceRowType {
NORMAL
PREPACKED
WEIGHT
WEIGHT_PREPACKED
}LineAdjustment
enum LineAdjustment {
PRICE_OVERRIDE
// QTY_OVERRIDE — reserved, currently unused
}VoucherStatus
enum VoucherStatus {
ACTIVE
EXPIRED
ARCHIVED
}VoucherEventType
Append-only voucher ledger event types.
enum VoucherEventType {
ISSUE
REDEEM
REFUND
EXPIRE
ADJUST
}