POS Receipt

1. Print settings to manage printing.

TableStart:PrintSettings

Field Code

Description

FontScaleRelativeTo-3inch

Treats current receipt width relative to 3inch paper width. It means that if current printer is

2inch all widthes and font sizes will be reduced with ratio 2/3. If printer has 3inch parer width it will be printed as is.

BreakWordsInTable

Each table in generated receipt will have css: word-break = 'break-all' and word-wrap = 'break-word'

TableEnd:PrintSettings

2. Cash management receipt. Used to print opening float and to print receipt for each cash management operation.

TableStart:CashManagementReceipts

Field Code

Description

CashManagementOperation

Name of current cash management operation

CashManagementAmount

Amount of current cash management operation

CashManagementNotes

Notes for current cash management operation

Parent.<any of main receipt fields>

This construction allows to use not table fields from main receipt in this receipt. For instance, Parent.OutletName will insert Outlet name

TableEnd:CashManagementReceipts

3. Vantiv card payment provider receipt template. Used to print card payment receipt from POS on POS attached printer. All field below should be in vantiv receipt - it's Vantiv's rule

TableStart:VantivTerminalReceipts

Field Code

Description

VantivApplicationID

Application ID

VantivMerchantID

Merchant ID

VantivTerminalID

Terminal ID

VantivReferenceNo

Reference Number

VantivAccountNo

Account Numer

VantivCard

Card number with which payment was done

VanitvEntry

additional information

VantivTransactionID

Transaction ID

VantivApprovalCode

Transaction aproval code

VantivExpressResponseCode

Express response code

VantivResponseCode

Response code

VantivCryptogram

Additional information

VantivApprovedAmount

Amount that was paid. Can differ from requested amount

VantivSignature

Signature in internal format

Parent.<any of main receipt fields>

This construction allows to use not table fields from main receipt in this receipt. For instance, Parent.OutletName will insert Outlet name

TableStart:VantivTags

start tags table

key

Tag key

value

Tag value

TableEnd:VantivTags

end of tags table

TableEnd:VantivTerminalReceipts

4. Tyro payment provider receipts. Tyro returns ready to print receipts so here only placeholders for this receipts.

TableStart:TyroTerminalReceipts

Field Code

Description

MerchantReceipt

Merchant receipt copy to print

CustomerReceipt

Customer receipt copy to print

TableEnd:TyroTerminalReceipts

5. Main receipt template fields

Global Variables 

Field Code

Description

ReceiptNumber

Receipt number

Date

Sale date

OutletName

Outlet name where current sale was done

RegistryName

Register name where this sale was done

CheckoutProductCount

Number of items in receipt

SubTotal

Sub-total of sale

Discount

Total sale discount

CalculatedTax

Total tax for sale

Total

Total to pay

Balance

Amount that is left to pay. In case of partial payments shows what should paid to complete sale/refund

Received

Amount of money that was received by cashier

Change

Change that was returned by cashier to client

ReceiptBarCode_code93,

ReceiptBarCode_code128,

ReceiptBarCode_ean8,

ReceiptBarCode_ean13,

ReceiptBarCode_industrial2of5,

ReceiptBarCode_upca,

ReceiptBarCode_upce

Barcode placeholder for different supported formats

Sales Representative Information

TableStart:SalesRepresentative

Field Code

Description

SalesRepresentativeName

Sales representative Name

TableEnd:SalesRepresentative

Customer Information

TableStart:Customer

Field Code

Description

CustomerName

Customer name

CustomerLoyaltyPoints

Customer total loyalty points

CustomerLoyaltyPointsUsed

Customer loyalty points used for current sale payment

SaleLoyaltyPoints

Loyalty points that was earned by this sale payments

TotalLoyaltyPoints

Sum of all loyalty operations above

Line1

Line1 pulled from customer’s default shipping address

Line2

Line2 pulled from customer’s default shipping address

City

City pulled from customer’s default shipping address

State

State pulled from customer’s default shipping address

Postcode

Postcode pulled from customer’s default shipping address

Country

Country pulled from customer’s default shipping address

Email

Customer email from default contact or first contact if no default was set

Phone

Customer phone from default contact or first contact if no default was set

MobilePhone

Customer mobile phone from defaults contact or first contact if no default was set

TableEnd:Customer

Products in Sale

TableStart:CheckoutProducts

Field Code

Description

ProductSku

Product SKU

ProductName

Product Name

ProductSerialNumber

Product Serial Number if exists

ProductCount

Product items count

ProductPrice

Product price

ProductAmount

Total amount per line

ProductDiscount

product discount

AdditionalAttribute1

Product Additional Attribute 1

AdditionalAttribute2

Product Additional Attribute 2

AdditionalAttribute3

Product Additional Attribute 3

AdditionalAttribute4

Product Additional Attribute 4

AdditionalAttribute5

Product Additional Attribute 5

AdditionalAttribute6

Product Additional Attribute 6

AdditionalAttribute7

Product Additional Attribute 7

AdditionalAttribute8

Product Additional Attribute 8

AdditionalAttribute9

Product Additional Attribute 9

AdditionalAttribute10

Product Additional Attribute 10

TableEnd:CheckoutProducts

Surcharges Information

TableStart:Surcharges

Field Code

Description

Surcharge

Surcharge amount if exists

TableEnd:Surcharges

Payments Information

TableStart:Payments

Field Code

Description

PaymentTypeName

Name of payment type (cash, custom payment and so on)

PaymentDate

Payment date

PaymentAmount

Payment amount

TableEnd:Payments

Sale's Notes 

TableStart:Notes

Field Code

Description

SalesNote

Sale's note

TableEnd:Notes

Usage example can be found in current default POS receipt template.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.