Class InvoiceVerifyAmountUtil

java.lang.Object
cn.toint.oktool.spring.boot.bdocr.util.InvoiceVerifyAmountUtil

public class InvoiceVerifyAmountUtil extends Object
发票验真金额工具
Author:
Toint
  • Constructor Details

    • InvoiceVerifyAmountUtil

      public InvoiceVerifyAmountUtil()
  • Method Details

    • getAmountByInvoiceType

      public static String getAmountByInvoiceType(String invoiceType, String totalAmount, String totalAmountInclTax)
      根据发票类型选中金额
      Parameters:
      invoiceType - 发票类型
      totalAmount - 不含税金额/车价合计
      totalAmountInclTax - 价税合计
      Returns:
      选中金额, 识别失败返回null
    • getAmountByInvoiceType

      public static String getAmountByInvoiceType(InvoiceVerifyType invoiceType, String totalAmount, String totalAmountInclTax)
      根据发票类型选中金额
      Parameters:
      invoiceType - 发票类型
      totalAmount - 不含税金额/车价合计
      totalAmountInclTax - 价税合计
      Returns:
      选中金额, 识别失败返回null