gaoluyang
3 天以前 d39e4f7d839167c16425086dfa2f8747bccfdff9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package cn.iocoder.yudao.module.erp.api.finance;
 
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import cn.iocoder.yudao.module.erp.api.finance.dto.ErpFinancePaymentRedFlushCreateReqDTO;
import cn.iocoder.yudao.module.erp.api.finance.dto.ErpFinancePaymentRespDTO;
 
/**
 * ERP 付款单 API 接口
 *
 * @author 超级管理员
 */
public interface ErpFinancePaymentApi {
 
    String PREFIX = "/rpc-api/erp/finance-payment";
 
    /**
     * 创建采购退货负数冲红付款单
     *
     * 该单据不校验来票、直接置为已审核;金额按负数入账。
     *
     * @param reqDTO 创建信息
     * @return 付款单编号
     */
    CommonResult<Long> createRedFlushPayment(ErpFinancePaymentRedFlushCreateReqDTO reqDTO);
 
    /**
     * 获得付款单
     *
     * @param id 付款单编号
     * @return 付款单
     */
    CommonResult<ErpFinancePaymentRespDTO> getFinancePayment(Long id);
 
}