Show menu
Login

till_payment

The till_payment Object

There’s currently no direct way to manipulate a KAPI till_payment object; these are transmitted as a part of till_order or till_tab objects, and contain the following attributes:

Attribute Type Key Description
venueid Unsigned int No The venue id at which this payment was made
orderid Unsigned int No The order id – set to 0 if this payment was made against a tab
tabid Unsigned int No The tab id – set to 0 if this payment was made against an order
userid Unsigned int No KAPI till_user id
till String No Short (16 chars) till name, description or id
discountid Unsigned int No KAPI till_discount id
voucherid Unsigned int No KAPI loyalty_customervouchers id
paid_cash Decimal 7,2 No Cash component
paid_card Decimal 7,2 No Card component
paid_voucher Decimal 7,2 No Fixed discount (voucher or scan) component
tips_card Decimal 7,2 No Discretionary gratuity – non taxable
service_cash Decimal 7,2 No Applied service charge received in cash – taxable
service_card Decimal 7,2 No Applied service charge received in card – taxable
net Decimal 7,2 No Net value of this payment without tax
tax Decimal 7,2 No Tax component of this payment
tax_exempt Boolean No True if this payment is tax exempt – suitable for certain fixed discounts only
type String No final / part / deposit
payment_made Datetime No YYYY-MM-DD hh:mm:ss