Class InvoiceVerifyAmountUtil
java.lang.Object
cn.toint.oktool.spring.boot.bdocr.util.InvoiceVerifyAmountUtil
发票验真金额工具
- Author:
- Toint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetAmountByInvoiceType(InvoiceVerifyType invoiceType, String totalAmount, String totalAmountInclTax) 根据发票类型选中金额static StringgetAmountByInvoiceType(String invoiceType, String totalAmount, String totalAmountInclTax) 根据发票类型选中金额
-
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
-