Project

General

Profile

Specification » History » Revision 6

Revision 5 (Soh Keong, 05/29/2024 10:07 AM) → Revision 6/73 (Soh Keong, 05/29/2024 10:15 AM)

{{toc}} 

 h1. Specification 

 h1. Programming Guide 

 h2. Jar version  

 |_. version |_. Description                                  | 
 | 1.0         | Init                                           | 

 h2. Jar File Download 

 "Jar": 
 "Properties": 

 h3. Classes 

 * *my.aisino.einvoice.bean*  
 * *my.aisino.einvoice.bean.transaction*  
 * *my.aisino.einvoice.constant*  
 * *my.aisino.einvoice.service*  
 * *my.aisino.einvoice.util*  

 h3. properties file 

 * *service.properties* 

 # *merchant.id*         - 

 h2. Aisino Service 

 <pre> 
 my.aisino.einvoice.service.TransactionService service = new my.aisino.einvoice.service.TransactionService(); 
 </pre> 

 h3. submitEReceipt 

 <pre> 
 InvoiceSubmissionResponseBean responseBean = service.submitEReceipt(Connection conn, InvoiceSubmissionRequestBean bean); 
 </pre> 

 # *conn*             - Database connection. 
 # *bean*             - Object. 
 > * *orderId* 
 > * *orderDate*  
 > * *orderTime*  
 > * *orderTypeCode*  
 > * *currencyCode*  
 > * *totalExcludingTax*  
 > * *totalIncludingTax*  
 > * *totalPayableAmount*  

 > * *buyerBean*  
 > ** >> * *address*  
 > *** >>> * *country*  
 > *** >>> * *state*  
 > *** >>> * *city*  
 > *** >>> * *address1*  
 > *** >>> * *address2*  
 > *** >>> * *address3*  
 > ** >> * *contactNumber*  
 > ** >> * *name*  
 > ** >> * *registrationList* 
 > *** >>> * *brn* 
 > *** >>> * *tin* 
 > *** >>> * *nric* 
 > *** >>> * *passport* 
 > *** >>> * *army*  
 > *** >>> * *sst* 

 > * *productList* 
 > ** >> * *productName* 
 > ** >> * *productCode* 
 > ** >> * *measurement* 
 > ** >> * *quantity* 
 > ** >> * *totalExcludingTax* 
 > ** >> * *unitPrice* 
 > ** >> * *subtotal* 
 > ** >> * *classificationList* 
 > *** >>> * *code* 
 > *** >>> * *group* 
 > ** >> * *taxTotalBean* 
 > *** >>> * *totalTaxAmount* 
 > *** >>> * *taxSubTotalList* 
 > **** >>>> * *taxType* 
 > **** >>>> * *percent* 
 > **** >>>> * *perUnitAmount* 
 > **** >>>> * *baseUnitMeasure* 
 > **** >>>> * *netAmount* 
 > **** >>>> * *tax* 

 > * *taxTotalBean* 
 > ** >> * *totalTaxAmount* 
 > ** >> * *taxSubTotalList* 
 > *** >>> * *taxType* 
 > *** >>> * *percent* 
 > *** >>> * *perUnitAmount* 
 > *** >>> * *baseUnitMeasure* 
 > *** >>> * *netAmount* 
 > *** >>> * *tax* 

   3. 

 3 *responseBean* 

 > * *submissionUid* 
 > * *acceptedDocumentList* 
 > ** >> * *orderId* 
 > ** >> * *uuid* 
 > * *rejectedDocumentList* 
 > ** >> * *orderId* 
 > ** >> * *errorList* 
 > *** >>> * *code* 
 > *** >>> * *message*