package com.dxhy.jxpt.baseService.sign.service.openservice;

import com.dxhy.api.model.sign.openservice.OpenServiceInvokeException;
import com.dxhy.api.model.sign.openservice.OpenServiceOcr;
import com.dxhy.api.model.sign.openservice.OpenServiceSingleInvoiceCheckJxpt;
import com.dxhy.api.model.sign.openservice.OpenServiceSingleInvoiceCheckRequest;

import java.util.List;

/**
 * @author user
 */

public interface IOpenServicePlatformService {
    /**
     * 功能描述
     *
     * @author 陈刚扬
     * @date 2020/10/29
     * @param request
     * @return com.dxhy.core.model.openservice.OpenServiceSingleInvoiceCheck
     * @throws OpenServiceInvokeException
     */
    OpenServiceSingleInvoiceCheckJxpt checkSingleInvoice(OpenServiceSingleInvoiceCheckRequest request)
        throws OpenServiceInvokeException;

    /**
     * 海关缴款书识别
     *
     * @param uuid
     * @param picture
     * @return
     * @throws OpenServiceInvokeException
     */
    List<OpenServiceOcr> getCustomsOcrResult(String uuid, String picture) throws OpenServiceInvokeException;

    List<OpenServiceOcr> ocrInvoice(String picture, String userName, String password, String taxno);
}
