Receipt

Create Method

Variable Name Type Max Size Range/Format Mandatory Default Value
Username Char - - Yes -
ReceiptSubject Char 255 - - -
InvoiceNumber Integer - 10001-19999 Both these variables should be set together -
InvoiceAmount Money - Positive amount<=payment remaining in invoice -
NonInvoiceAmount Float - Set this only if not using previous 2 variables (Cash will be chosen) -
Deduction Money - Amount of total payment going towards deduction -
ReceiptComments Char 255 - - -
IsForceInvoiceClose Char - empty string, or "1" If set to "1",forces closing of invoice -
CompanyCode Integer - 1-99998 Yes -
MailTo Char 80 x@x.x specify to send invoice via e-mail

Multiple Invoice Item Support

Creating a receipt with multiple items is possible provided that the following two fields maintain the same item count separated by the pipe symbol ('|"):

  • InvoiceNumber
  • InvoiceAmount


CreateWithPaymentMethods

Variable Name Type Max Size Range/Format Mandatory Default Value
Cash Money - Pay Amount in cash - -
CheckDate Date - MM/dd/yyyy If checks are selected,all these fields must be set -
CheckNumber Char 50 -
CheckAccount Char 50 - -
CheckBranch Char 80 - -
CheckBank Char 80 - -
CheckAmount Money - - -
CcDate Date - MM/dd/yyyy If Credit Cards are selected,all these fields must be set -
CcNumber Char 16 -
CcExpiration Char 4 MMYY -
CcType Char 50 - -
CcVerfication Char 50 - -
CcTicket Char 50 - -
CcAmount Money - - -
TransDate Date - MM/dd/yyyy If Transactions are selected,all these fields must be set -
TransBank Char 80 - -
TransBranch Char 80 - -
TransAccount Char 50 - -
TransAmount Money - - -

(Delimit multiple checks,credit card payments, or transactions with pipe ('|') symbol )