package com.brilliance.isc.common.esb.invoice;

import com.brilliance.isc.esb.model.inner.*;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther: wubing
 * @Date: 2024/3/25 09:21
 * @Description:发票接口
 */
public interface IInvoiceFeign {

    @PostMapping("/webapi/jk/fapiao/chayan")
    InnerRes<InnerResFapiaoChayan> callChayan(InnerReq<InnerReqFapiaoChayan> innerReqFapiaoChayan);

    @PostMapping("/webapi/jk/fapiao/jiankong")
    InnerRes<InnerResFapiaoJiankong> callJiankong(InnerReq<InnerReqFapiaoJiankong> innerReqFapiaoJiankong);

    /**
     * 银税通发票批量核验更新
     *
     * @param innerReqFapiaoChayan
     * @return
     */
    @PostMapping("/webapi/jk/fapiao/ns11")
    InnerRes<InnerResFapiaoChayan> callNs11(InnerReq<InnerReqFapiaoChayan> innerReqFapiaoChayan);
}
