Specification » History » Version 7
Soh Keong, 05/29/2024 10:21 AM
1 | 1 | Soh Keong | {{toc}} |
---|---|---|---|
2 | |||
3 | h1. Specification |
||
4 | |||
5 | h1. Programming Guide |
||
6 | |||
7 | h2. Jar version |
||
8 | |||
9 | |_. version |_. Description | |
||
10 | | 1.0 | Init | |
||
11 | |||
12 | h2. Jar File Download |
||
13 | |||
14 | "Jar": |
||
15 | "Properties": |
||
16 | |||
17 | h3. Classes |
||
18 | |||
19 | * *my.aisino.einvoice.bean* |
||
20 | * *my.aisino.einvoice.bean.transaction* |
||
21 | * *my.aisino.einvoice.constant* |
||
22 | * *my.aisino.einvoice.service* |
||
23 | * *my.aisino.einvoice.util* |
||
24 | |||
25 | h3. properties file |
||
26 | |||
27 | * *service.properties* |
||
28 | |||
29 | # *merchant.id* - |
||
30 | |||
31 | h2. Aisino Service |
||
32 | |||
33 | <pre> |
||
34 | my.aisino.einvoice.service.TransactionService service = new my.aisino.einvoice.service.TransactionService(); |
||
35 | </pre> |
||
36 | |||
37 | h3. submitEReceipt |
||
38 | |||
39 | <pre> |
||
40 | 7 | Soh Keong | InvoiceSubmissionResponseBean responseBean = service.submitEInvoice(Connection conn, InvoiceSubmissionRequestBean bean); |
41 | 1 | Soh Keong | </pre> |
42 | |||
43 | # *conn* - Database connection. |
||
44 | # *bean* - Object. |
||
45 | > * *orderId* |
||
46 | > * *orderDate* |
||
47 | > * *orderTime* |
||
48 | > * *orderTypeCode* |
||
49 | > * *currencyCode* |
||
50 | > * *totalExcludingTax* |
||
51 | > * *totalIncludingTax* |
||
52 | > * *totalPayableAmount* |
||
53 | |||
54 | > * *buyerBean* |
||
55 | 6 | Soh Keong | > ** *address* |
56 | > *** *country* |
||
57 | > *** *state* |
||
58 | > *** *city* |
||
59 | > *** *address1* |
||
60 | > *** *address2* |
||
61 | > *** *address3* |
||
62 | > ** *contactNumber* |
||
63 | > ** *name* |
||
64 | > ** *registrationList* |
||
65 | > *** *brn* |
||
66 | > *** *tin* |
||
67 | > *** *nric* |
||
68 | > *** *passport* |
||
69 | > *** *army* |
||
70 | > *** *sst* |
||
71 | 2 | Soh Keong | |
72 | > * *productList* |
||
73 | 6 | Soh Keong | > ** *productName* |
74 | > ** *productCode* |
||
75 | > ** *measurement* |
||
76 | > ** *quantity* |
||
77 | > ** *totalExcludingTax* |
||
78 | > ** *unitPrice* |
||
79 | > ** *subtotal* |
||
80 | > ** *classificationList* |
||
81 | > *** *code* |
||
82 | > *** *group* |
||
83 | > ** *taxTotalBean* |
||
84 | > *** *totalTaxAmount* |
||
85 | > *** *taxSubTotalList* |
||
86 | > **** *taxType* |
||
87 | > **** *percent* |
||
88 | > **** *perUnitAmount* |
||
89 | > **** *baseUnitMeasure* |
||
90 | > **** *netAmount* |
||
91 | > **** *tax* |
||
92 | 3 | Soh Keong | |
93 | > * *taxTotalBean* |
||
94 | 6 | Soh Keong | > ** *totalTaxAmount* |
95 | > ** *taxSubTotalList* |
||
96 | > *** *taxType* |
||
97 | > *** *percent* |
||
98 | > *** *perUnitAmount* |
||
99 | > *** *baseUnitMeasure* |
||
100 | > *** *netAmount* |
||
101 | > *** *tax* |
||
102 | 4 | Soh Keong | |
103 | 6 | Soh Keong | 3. *responseBean* |
104 | 4 | Soh Keong | |
105 | > * *submissionUid* |
||
106 | > * *acceptedDocumentList* |
||
107 | 6 | Soh Keong | > ** *orderId* |
108 | > ** *uuid* |
||
109 | 4 | Soh Keong | > * *rejectedDocumentList* |
110 | 6 | Soh Keong | > ** *orderId* |
111 | > ** *errorList* |
||
112 | > *** *code* |
||
113 | > *** *message* |