Project

General

Profile

Actions

Specification » History » Revision 8

« Previous | Revision 8/73 (diff) | Next »
Soh Keong, 05/29/2024 11:04 AM


Specification

Programming Guide

Jar version

version Description
1.0 Init

Jar File Download

"Jar":
"Properties":

Classes

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

properties file

  • service.properties
  1. merchant.id -

Aisino Service

my.aisino.einvoice.service.TransactionService service = new my.aisino.einvoice.service.TransactionService();

submitEInvoice

InvoiceSubmissionResponseBean responseBean = service.submitEInvoice(Connection conn, InvoiceSubmissionRequestBean bean);
  1. conn - Database connection.
  2. bean - Object.
  • orderId
  • orderDate
  • orderTime
  • orderTypeCode
  • currencyCode
  • totalExcludingTax
  • totalIncludingTax
  • totalPayableAmount
  • buyerBean
    • address
      • country
      • state
      • city
      • address1
      • address2
      • address3
    • contactNumber
    • name
    • registrationList
      • brn (Optional)
      • tin (Optional)
      • nric (Optional)
      • passport (Optional)
      • army (Optional)
      • sst (Optional)
  • productList
    • productName
    • productCode
    • measurement
    • quantity (Optional)
    • totalExcludingTax
    • unitPrice
    • subtotal
    • classificationList
      • code
      • group
    • taxTotalBean
      • totalTaxAmount
      • taxSubTotalList
        • taxType
        • percent (Optional)
        • perUnitAmount (Optional)
        • baseUnitMeasure (Optional)
        • netAmount (Optional)
        • tax
  • taxTotalBean
    • totalTaxAmount
    • taxSubTotalList
      • taxType
      • percent
      • perUnitAmount
      • baseUnitMeasure
      • netAmount
      • tax

3. responseBean

  • submissionUid
  • acceptedDocumentList
    • orderId
    • uuid
  • rejectedDocumentList
    • orderId
    • errorList
      • code
      • message

queryInvoice

InvoiceInquiryResponseBean responseBean = service.queryInvoice(Connection conn, InvoiceInquiryRequestBean bean);
  1. conn - Database connection.
  2. bean - Object.
  • orderId

Updated by Soh Keong 7 months ago · 8 revisions