Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Create Invoice/Cash Sales With Receipt

 

Version

Date

Author

Description

1.0

2014-11-25

Jimmy Low

 


1.1

2014-12-17

Jimmy Low

Added Receipt

 

 

 

 

 

 

 

 

 

 

 

 

...


Introduction

This document serves as a detailed technical specification to enable the syncing of related data from POS system to Wavelet System

...

WebService URL: http://demo.wavelet.asia/ws/EMPCoreService?wsdl (Please contact Wavelet Admin for correct URL and credentials)

Invoice Created Web Service

POS will call Wavelet WebService and provide the data according to following format:

  

Attributes of InvoiceIndexModel

 

SN

Message

Date Type

Mandatory

Remark

1

guid

String

Y

Maximum 36 characters global UUID

2

pkid

Long

 


Transaction ID

3

branch

String

Y

Branch Code

4

txnDate

Timestamp

Y

Date of Transaction YYYY-MM-DD HH:MM:SS

5

remarks

String

 


Remarks

6

referenceNo

String

 


Reference No

7

salesman

String

Y

Salesman Code

8

customer

String

Y

Customer Identification Number/Code

9

customerName

String

Y

Customer Name

10

user

String

 


System User

11

amount

BigDecimal

Y

Total Invoice Amount

12

taxAmount

BigDecimal

 


Total Tax Amount

 


Attributes of InvoiceItemModel

 

SN

Message

Date Type

Mandatory

Remark

1

guid

String

Y

Maximum 36 characters global UUID

2

pkid

Long

 


Id of the row

3

itemCode

String

Y

 


4

quantity

BigDecimal

Y

Number of qty of this item

5

price

BigDecimal

Y

Unit selling price of the item

6

discount

BigDecimal

 

 



7

taxAmount

BigDecimal

 

 



8

remarks

String

 

 



9

taxCode

String

 

 



10

taxType

String

 

 



11

taxRate

BigDecimal

 

 



12

packageGroup

String

 


In case of BOM, BOM parent code

 

 


Attributes of ReceiptIndexModel

...

SN

Message

Date Type

Mandatory

Remark

1

guid

String

Y

Maximum 36 characters global UUID

2

pkid

Long

 


Receipt ID

3

branch

String

Y

Branch Code

4

txnDate

Timestamp

Y

Receipt date YYYY-MM-DD HH:MM:SS

5

remarks

String

 

 



6

customer

String

Y

Customer Code

7

customerName

String

Y

Customer Name

8

user

String

 


User Code

9

amount

BigDecimal

Y

Total receipt amount

10

taxAmount

BigDecimal

 


Tax Amount

11

amountCash

BigDecimal

 

 



12

amountCard

BigDecimal

 

 



13

amountCheque

BigDecimal

 

 



14

amountPDCheque

BigDecimal

 

 



15

amountCoupon

BigDecimal

 

 



16

amountOther

BigDecimal

 

 



17

cardBank

String

 

 



18

cardName

String

 

 



19

cardNumber

String

 

 



20

cardApprovalCode

String

 

 



21

cardExpiry

Timestamp

 

 



22

cardType

String

 

 



23

chequeNumber

String

 

 



24

chequeNumberPD

String

 

 



25

datePDCheque

Timestamp

 

 



26

couponNumber

String

 

 

 

Sample VB code

 

 

...




Sample VB code

View file
nameTestCreateInvoiceWebServiceV1.zip
height250

Video of Sample VB Code

Video of Sample VB Code

Multimedia
nameChatimeVB.net.mp4