Project

General

Profile

Actions

Specification » History » Revision 32

« Previous | Revision 32/73 (diff) | Next »
Soh Keong, 06/26/2024 03:54 PM


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, List<InvoiceSubmissionRequestBean> beanList);
CommonConstant = my.aisino.einvoice.constant.CommonConstant
  1. conn - Database connection.
  2. beanList - InvoiceSubmissionRequestBean List.
  • taxTotalBean
    • totalTaxAmount
    • taxSubTotalList
      • taxType
      • percent
      • perUnitAmount
      • measurement
      • quantity
      • netAmount
      • tax

3. responseBean

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

queryEInvoice

InvoiceInquiryResponseBean responseBean = service.queryEInvoice(Connection conn, InvoiceInquiryRequestBean bean);
  1. conn - Database connection.
  2. bean - Object.
  • documentNum
  • submissionUid
  • invoiceUuid
  • invoiceTypeCode
  • buyerTin
  • buyerName
  • supplierTin
  • supplierName
  • totalAmountFrom
  • totalAmountTo
  • invoiceStatus
  • confirmStatusCode
  • issuedDateFrom
  • issuedDateTo
  • pageIndex (Mandatory)
  • pageSize (Mandatory)

3. responseBean

  • page
    • pageCount
    • pageNo
    • pageSize
    • totalSize
  • recordList
    • buyerTin
    • confirmStatusCode
    • currency
    • description
    • documentNum
    • excludingTaxAmount
    • includingTaxAmount
    • invoiceId
    • invoiceStatus
    • invoiceTypeCode
    • invoiceUuid
    • issuedDate
    • nowTime
    • operationDate
    • operator
    • pageIndex
    • pageNo
    • pageSize
    • supplierTin
    • supplierName
    • submissionUid
    • transactionId

cancelEInvoice

InvoiceCancelResponseBean responseBean = service.cancelEInvoice(InvoiceCancelRequestBean bean);
  1. conn - Database connection.
  2. bean - Object.
  • cancelCode - CommonConstant.CANCEL_CODE_*
  • cancelReason - (Mandatory for CommonConstant.CANCEL_CODE_OTHERS)
  • invoiceIds - List of Integer

3. responseBean

  • success - true / false

Updated by Soh Keong 6 months ago · 32 revisions